From bf8bd47a50e853f5cf6c34dbe6186853527714fc Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Thu, 23 May 2019 19:30:31 +0200 Subject: 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 --- arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi index 722d9337a881..df55c3babb28 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-device.dtsi @@ -2650,6 +2650,7 @@ adc0: adc@5a880000 { compatible = "fsl,imx8qxp-adc"; + #io-channel-cells = <1>; reg = <0x0 0x5a880000 0x0 0x10000>; interrupts = ; interrupt-parent = <&gic>; @@ -2664,6 +2665,7 @@ adc1: adc@5a890000 { compatible = "fsl,imx8qxp-adc"; + #io-channel-cells = <1>; reg = <0x0 0x5a890000 0x0 0x10000>; interrupts = ; interrupt-parent = <&gic>; -- cgit v1.2.3