diff options
author | Nikita Yushchenko <nikita.yoush@cogentembedded.com> | 2018-05-16 09:39:21 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-05-20 15:55:54 +0300 |
commit | e353421ff1a43573aa19d6f642d040520cb4e494 (patch) | |
tree | d8338962f52f3fded74ebc73806b33f7504375e6 /arch/arm/boot/dts/vf610-zii-dev.dtsi | |
parent | bce48c92a641c1f1a4795a37d57168fd08fecc3b (diff) | |
download | linux-e353421ff1a43573aa19d6f642d040520cb4e494.tar.xz |
ARM: dts: vf610-zii-dev: enable vf610 builtin temp sensor
Vybrid has single internal temperature sensor connected to both internal
ADC modules.
vf610-zii-dev already has ADC0 enabled. Now, to get temperature sensor
captured by iio_hwmon driver, need to configure iio_hwmon node to use
that ADC.
Signed-off-by: Nikita Yushchenko <nikita.yoush@cogentembedded.com>
Acked-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/vf610-zii-dev.dtsi')
-rw-r--r-- | arch/arm/boot/dts/vf610-zii-dev.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/vf610-zii-dev.dtsi b/arch/arm/boot/dts/vf610-zii-dev.dtsi index 4890b8a5aa44..5ae5abfe1d55 100644 --- a/arch/arm/boot/dts/vf610-zii-dev.dtsi +++ b/arch/arm/boot/dts/vf610-zii-dev.dtsi @@ -222,6 +222,10 @@ status = "okay"; }; +&tempsensor { + io-channels = <&adc0 16>; +}; + &iomuxc { pinctrl_adc0_ad5: adc0ad5grp { fsl,pins = < |