]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 d4f48dbaab7bc6c59484bc72d9b353cc15ec17ed..c0f05ee77ae54637b562beb8cf18264175c62e7e 100644 (file)
@@ -226,6 +226,7 @@ adc0: adc@4003b000 {
                                interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks VF610_CLK_ADC0>;
                                clock-names = "adc";
+                               #io-channel-cells = <1>;
                                status = "disabled";
                        };
 
@@ -456,6 +457,7 @@ adc1: adc@400bb000 {
                                interrupts = <54 IRQ_TYPE_LEVEL_HIGH>;
                                clocks = <&clks VF610_CLK_ADC1>;
                                clock-names = "adc";
+                               #io-channel-cells = <1>;
                                status = "disabled";
                        };