Skip to contentSkip to conversation

ARM: zynq: Add #io-channel-cells to (x)adc node for iio-hwmon

PATCH Superseded Moritz Fischer 2 participants 2 messages Mar 8, 2017

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: zynq: Add #io-channel-cells to (x)adc node for iio-hwmon

Fix issue when exposing xadc via iio-hwmon by adding missing

OF: /iio_hwmon: could not get #io-channel-cells for /amba/adc at f8007100

Cc Michal Simek <[email protected]>
Cc S?ren Brinkmann <[email protected]>
Cc Julia Cartwright <[email protected]>
Cc linux-kernel at vger.kernel.org
---
 arch/arm/boot/dts/zynq-7000.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/zynq-7000.dtsi +1 -0
index f3ac9bf..98233a8 100644
@@ -72,6 +72,7 @@
 			interrupts = <0 7 4>;
 			interrupt-parent = <&intc>;
 			clocks = <&clkc 12>;
+			#io-channel-cells = <1>;
 		};
 
 		can0: can at e0008000 {
Signature · 1 line
2.7.4
#1 lore raw
Quoted 2 lines · Moritz Fischer

Fix issue when exposing xadc via iio-hwmon by adding missing

That was messed up ... let me resend that. Sorry for the noise ...

Thanks,
Moritz