ARM: dts: vfxxx: Add io-channel-cells property for ADC node
authorSanchayan Maity <maitysanchayan@gmail.com>
Thu, 16 Jul 2015 15:13:19 +0000 (20:43 +0530)
committerShawn Guo <shawnguo@kernel.org>
Tue, 11 Aug 2015 15:15:19 +0000 (23:15 +0800)
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 Colibri VF50, as the touchscreen driver
uses ADC channels with the ADC driver based on IIO framework.

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/vfxxx.dtsi

index d4f48db..c0f05ee 100644 (file)
                                interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks VF610_CLK_ADC0>;
                                clock-names = "adc";
+                               #io-channel-cells = <1>;
                                status = "disabled";
                        };
 
                                interrupts = <54 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks VF610_CLK_ADC1>;
                                clock-names = "adc";
+                               #io-channel-cells = <1>;
                                status = "disabled";
                        };