aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanchayan Maity <[email protected]>2015-07-16 20:43:19 +0530
committerShawn Guo <[email protected]>2015-08-11 23:15:19 +0800
commit9b1793afef83e088ca38f2a348a958e6ceea8e0c (patch)
tree71698ac5ba7152b816aa509238e02084b54c2502
parent50897cb6fa45981454a52546dbc3b1a53d195f08 (diff)
ARM: dts: vfxxx: 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 Colibri VF50, as the touchscreen driver uses ADC channels with the ADC driver based on IIO framework. Signed-off-by: Sanchayan Maity <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
-rw-r--r--arch/arm/boot/dts/vfxxx.dtsi2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
index d4f48dbaab7b..c0f05ee77ae5 100644
--- a/arch/arm/boot/dts/vfxxx.dtsi
+++ b/arch/arm/boot/dts/vfxxx.dtsi
@@ -226,6 +226,7 @@
interrupts = <53 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks VF610_CLK_ADC0>;
clock-names = "adc";
+ #io-channel-cells = <1>;
status = "disabled";
};
@@ -456,6 +457,7 @@
interrupts = <54 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks VF610_CLK_ADC1>;
clock-names = "adc";
+ #io-channel-cells = <1>;
status = "disabled";
};