/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx27.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include "imx27-pinfunc.h" 7 #include <dt-bindings/clock/imx27-clock.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 13 #address-cells = <1>; 14 #size-cells = <1>; 17 * pre-existing /chosen node to be available to insert the 43 aitc: aitc-interrupt-controller@10040000 { [all …]
|
H A D | imx31.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright 2016-2018 Vladimir Zapolskiy <vz@mleia.com> 4 // Copyright 2012 Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> 7 #address-cells = <1>; 8 #size-cells = <1>; 11 * pre-existing /chosen node to be available to insert the 34 #address-cells = <1>; 35 #size-cells = <0>; 38 compatible = "arm,arm1136jf-s"; 44 avic: interrupt-controller@68000000 { [all …]
|
H A D | imx25.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 5 #include <dt-bindings/gpio/gpio.h> 6 #include "imx25-pinfunc.h" 9 #address-cells = <1>; 10 #size-cells = <1>; 13 * pre-existing /chosen node to be available to insert the 46 #address-cells = <1>; 47 #size-cells = <0>; 50 compatible = "arm,arm926ej-s"; 56 asic: asic-interrupt-controller@68000000 { [all …]
|
H A D | imx7s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 #include <dt-bindings/clock/imx7d-clock.h> 7 #include <dt-bindings/power/imx7-power.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/reset/imx7-reset.h> 12 #include "imx7d-pinfunc.h" 15 #address-cells = <1>; 16 #size-cells = <1>; [all …]
|
H A D | imx6dl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include "imx6dl-pinfunc.h" 15 #address-cells = <1>; 16 #size-cells = <0>; 19 compatible = "arm,cortex-a9"; 22 next-level-cache = <&L2>; 23 operating-points = < 29 fsl,soc-operating-points = < 30 /* ARM kHz SOC-PU uV */ [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | imx21-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/imx21-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale i.MX21 Clock Controller 10 - Alexander Shiyan <shc_work@mail.ru> 13 The clock consumer should specify the desired clock by having the clock 14 ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx21-clock.h 15 for the full list of i.MX21 clock IDs. 19 const: fsl,imx21-ccm [all …]
|
/linux/Documentation/devicetree/bindings/display/imx/ |
H A D | fsl,imx-lcdc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/imx/fsl,imx-lcdc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sascha Hauer <s.hauer@pengutronix.de> 11 - Pengutronix Kernel Team <kernel@pengutronix.de> 16 - enum: 17 - fsl,imx1-fb 18 - fsl,imx21-fb 19 - items: [all …]
|
/linux/Documentation/devicetree/bindings/rtc/ |
H A D | rtc-mxc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/rtc/rtc-mxc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Real Time Clock of the i.MX SoCs 10 - $ref: rtc.yaml# 13 - Philippe Reynes <tremyfr@gmail.com> 18 - const: fsl,imx1-rtc 19 - const: fsl,imx21-rtc 20 - items: [all …]
|
/linux/Documentation/devicetree/bindings/serial/ |
H A D | fsl-imx-uart.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/serial/fsl-imx-uart.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Fabio Estevam <festevam@gmail.com> 15 - const: fsl,imx1-uart 16 - const: fsl,imx21-uart 17 - items: 18 - enum: 19 - fsl,imx25-uart [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | fsl-imx-mmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/fsl-imx-mmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Markus Pargmann <mpa@pengutronix.de> 13 - $ref: mmc-controller.yaml 18 - const: fsl,imx21-mmc 19 - const: fsl,imx31-mmc 20 - items: 21 - const: fsl,imx27-mmc [all …]
|
/linux/Documentation/devicetree/bindings/w1/ |
H A D | fsl-imx-owire.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/w1/fsl-imx-owire.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Martin Fuzzey <mfuzzey@parkeon.com> 15 - const: fsl,imx21-owire 16 - items: 17 - enum: 18 - fsl,imx27-owire 19 - fsl,imx50-owire [all …]
|
/linux/Documentation/devicetree/bindings/watchdog/ |
H A D | fsl-imx-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/fsl-imx-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Guo <shawnguo@kernel.org> 11 - Sascha Hauer <s.hauer@pengutronix.de> 12 - Fabio Estevam <festevam@gmail.com> 17 - const: fsl,imx21-wdt 18 - items: 19 - enum: [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | imx-audmux.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/imx-audmux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Oleksij Rempel <o.rempel@pengutronix.de> 15 - items: 16 - enum: 17 - fsl,imx27-audmux 18 - const: fsl,imx21-audmux 19 - items: [all …]
|
H A D | fsl,ssi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shengjiu Wang <shengjiu.wang@nxp.com> 13 Notes on fsl,playback-dma and fsl,capture-dma 14 On SOCs that have an SSI, specific DMA channels are hard-wired for playback 18 DMA controller to use, but the channels themselves are hard-wired. The 22 "fsl,playback-dma" and "fsl,capture-dma" must be marked as compatible with 23 "fsl,ssi-dma-channel". The SOC-specific compatible string (e.g. 24 "fsl,mpc8610-dma-channel") can remain. If these nodes are left as [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mn.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/imx8mn-clock.h> 7 #include <dt-bindings/power/imx8mn-power.h> 8 #include <dt-bindings/reset/imx8mq-reset.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/thermal/thermal.h> 14 #include "imx8mn-pinfunc.h" 17 interrupt-parent = <&gic>; [all …]
|
H A D | imx8mp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/imx8mp-clock.h> 7 #include <dt-bindings/power/imx8mp-power.h> 8 #include <dt-bindings/reset/imx8mp-reset.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/interconnect/fsl,imx8mp.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/thermal/thermal.h> 15 #include "imx8mp-pinfunc.h" [all …]
|
H A D | fsl-ls1012a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1012A family SoC. 6 * Copyright 2019-2020 NXP 10 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; 23 rtic-a = &rtic_a; [all …]
|
/linux/Documentation/devicetree/bindings/dma/ |
H A D | fsl,imx-dma.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/dma/fsl,imx-dma.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Animesh Agarwal <animeshagarwal28@gmail.com> 13 - $ref: dma-controller.yaml# 18 - fsl,imx1-dma 19 - fsl,imx21-dma 20 - fsl,imx27-dma 27 - description: DMA complete interrupt [all …]
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | fsl-imx-cspi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/fsl-imx-cspi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Shawn Guo <shawnguo@kernel.org> 13 - $ref: /schemas/spi/spi-controller.yaml# 18 - const: fsl,imx1-cspi 19 - const: fsl,imx21-cspi 20 - const: fsl,imx27-cspi 21 - const: fsl,imx31-cspi [all …]
|
/linux/drivers/w1/masters/ |
H A D | mxc_w1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2005-2008 Freescale Semiconductor, Inc. All Rights Reserved. 22 # define MXC_W1_CONTROL_WR(x) BIT(5 - (x)) 45 writeb(MXC_W1_CONTROL_RPP, dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_reset_bus() 53 u8 ctrl = readb(dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_reset_bus() 55 /* PST bit is valid after the RPP bit is self-cleared */ in mxc_w1_ds2_reset_bus() 73 writeb(MXC_W1_CONTROL_WR(bit), dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_touch_bit() 81 u8 ctrl = readb(dev->regs + MXC_W1_CONTROL); in mxc_w1_ds2_touch_bit() 83 /* RDST bit is valid after the WR1/RD bit is self-cleared */ in mxc_w1_ds2_touch_bit() 98 mdev = devm_kzalloc(&pdev->dev, sizeof(struct mxc_w1_device), in mxc_w1_probe() [all …]
|
/linux/sound/soc/fsl/ |
H A D | fsl_ssi.c | 1 // SPDX-License-Identifier: GPL-2.0 7 // Copyright 2007-2010 Freescale Semiconductor, Inc. 9 // Some notes why imx-pcm-fiq is used instead of DMA on some boards: 16 // we receive in our (PCM-) data stream. The only chance we have is to 43 #include <linux/dma/imx-dma.h> 53 #include "imx-pcm.h" 55 /* Define RX and TX to index ssi->regvals array; Can be 0 or 1 only */ 66 * (bit-endianness must match byte-endianness). Processors typically write 68 * written in. So if the host CPU is big-endian, then only big-endian 91 * - SSI inputs external bit clock and outputs frame sync clock -- CBM_CFS [all …]
|
H A D | eukrea-tlv320.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // eukrea-tlv320.c -- SoC audio for eukrea_cpuimxXX in I2S mode 9 // and on sound/soc/imx/phycore-ac97.c which is 22 #include <asm/mach-types.h> 25 #include "imx-ssi.h" 26 #include "imx-audmux.h" 41 dev_err(cpu_dai->dev, in eukrea_tlv320_hw_params() 51 if (ret && ret != -EINVAL) { in eukrea_tlv320_hw_params() 52 dev_err(cpu_dai->dev, in eukrea_tlv320_hw_params() 53 "Can't set the IMX_SSP_SYS_CLK CPU system clock.\n"); in eukrea_tlv320_hw_params() [all …]
|
H A D | imx-audmux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 19 #include "imx-audmux.h" 21 #define DRIVER_NAME "imx-audmux" 40 return "imx-ssi.0"; in audmux_port_string() 42 return "imx-ssi.1"; in audmux_port_string() 61 uintptr_t port = (uintptr_t)file->private_data; in audmux_read_file() 75 return -ENOMEM; in audmux_read_file() 80 ret += scnprintf(buf + ret, PAGE_SIZE - re in audmux_read_file() [all...] |
/linux/drivers/gpio/ |
H A D | gpio-mxc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 // Copyright (C) 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved. 86 .edge_sel_reg = -EINVAL, 101 .edge_sel_reg = -EINVAL, 123 #define GPIO_DR (port->hwdata->dr_reg) 124 #define GPIO_GDIR (port->hwdata->gdir_reg) 125 #define GPIO_PSR (port->hwdata->psr_reg) 126 #define GPIO_ICR1 (port->hwdata->icr1_reg) 127 #define GPIO_ICR2 (port->hwdata->icr2_reg) 128 #define GPIO_IMR (port->hwdata->imr_reg) [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-mxc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Copyright 2004-2008 Freescale Semiconductor, Inc. All Rights Reserved. 73 { .compatible = "fsl,imx1-rtc", .data = (const void *)IMX1_RTC }, 74 { .compatible = "fsl,imx21-rtc", .data = (const void *)IMX21_RTC }, 81 return data->devtype == IMX1_RTC; in is_imx1_rtc() 91 void __iomem *ioaddr = pdata->ioaddr; in get_alarm_or_time() 120 void __iomem *ioaddr = pdata->ioaddr; in set_alarm_or_time() 126 tod -= hr * 3600; in set_alarm_or_time() 130 sec = tod - min * 60; in set_alarm_or_time() 156 void __iomem *ioaddr = pdata->ioaddr; in rtc_update_alarm() [all …]
|