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

Submitted by mdf@kernel.org on March 8, 2017, 8:08 p.m.

Details

Message ID 1489003720-2175-1-git-send-email-mdf@kernel.org
State New
Headers show

Commit Message

mdf@kernel.org March 8, 2017, 8:08 p.m.
Fix issue when exposing xadc via iio-hwmon by adding missing

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

Signed-off-by: Moritz Fischer <mdf@kernel.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Sören Brinkmann <soren.brinkmann@xilinx.com>
Cc: Julia Cartwright <julia@ni.com>
Cc: linux-kernel@vger.kernel.org
---
 arch/arm/boot/dts/zynq-7000.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Moritz Fischer March 8, 2017, 8:10 p.m.
On Wed, Mar 8, 2017 at 12:08 PM, Moritz Fischer <mdf@kernel.org> wrote:
> 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

Patch hide | download patch | download mbox

diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/dts/zynq-7000.dtsi
index f3ac9bf..98233a8 100644
--- a/arch/arm/boot/dts/zynq-7000.dtsi
+++ b/arch/arm/boot/dts/zynq-7000.dtsi
@@ -72,6 +72,7 @@ 
 			interrupts = <0 7 4>;
 			interrupt-parent = <&intc>;
 			clocks = <&clkc 12>;
+			#io-channel-cells = <1>;
 		};
 
 		can0: can@e0008000 {