summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2019-05-23 19:30:31 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-01-27 20:36:49 +0200
commitd7e3ae6746e1ffefbb3eeac7d19b20e6f986896c (patch)
tree2921eb35f5b9309cdb6a6b20e8a7ebf3f8ded8d7 /arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
parent1cfe4f3dd7c2bff8c5cee031f7c7c7fe6ffac93f (diff)
ARM: dts: fsl-imx8qm-device.dtsi: Add io-channel-cells property for ADC node
This commit adds io-channel-cells property to the ADC node. This property is required in order for an IIO consumer driver to work. Especially required for Apalis iMX8 QM, as the touchscreen driver uses ADC channels with the ADC driver based on IIO framework. Based on commit 9b1793afe. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit bf8bd47a50e853f5cf6c34dbe6186853527714fc) Conflicts: arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi The file moved to arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi put the respective lines in there Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
index fd1faaca1909..b69d6d12a151 100644
--- a/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi
@@ -329,6 +329,7 @@ dma_subsys: bus@5a000000 {
adc0: adc@5a880000 {
compatible = "fsl,imx8qxp-adc";
+ #io-channel-cells = <1>;
reg = <0x5a880000 0x10000>;
interrupts = <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;
@@ -343,6 +344,7 @@ dma_subsys: bus@5a000000 {
adc1: adc@5a890000 {
compatible = "fsl,imx8qxp-adc";
+ #io-channel-cells = <1>;
reg = <0x5a890000 0x10000>;
interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>;
interrupt-parent = <&gic>;