aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSanchayan Maity <maitysanchayan@gmail.com>2015-07-16 20:43:19 +0530
committerShawn Guo <shawnguo@kernel.org>2015-08-11 23:15:19 +0800
commit9b1793afef83e088ca38f2a348a958e6ceea8e0c (patch)
tree71698ac5ba7152b816aa509238e02084b54c2502
parentARM: dts: ls1021a: Add dts nodes for audio on LS1021A (diff)
downloadwireguard-linux-9b1793afef83e088ca38f2a348a958e6ceea8e0c.tar.xz
wireguard-linux-9b1793afef83e088ca38f2a348a958e6ceea8e0c.zip
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 <maitysanchayan@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-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";
};