Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Nikita Yushchenko and committed by
Shawn Guo
e353421f bce48c92

+5 -1
+4
arch/arm/boot/dts/vf610-zii-dev.dtsi
··· 222 222 status = "okay"; 223 223 }; 224 224 225 + &tempsensor { 226 + io-channels = <&adc0 16>; 227 + }; 228 + 225 229 &iomuxc { 226 230 pinctrl_adc0_ad5: adc0ad5grp { 227 231 fsl,pins = <
+1 -1
arch/arm/boot/dts/vfxxx.dtsi
··· 84 84 mask = <0x1000>; 85 85 }; 86 86 87 - iio-hwmon { 87 + tempsensor: iio-hwmon { 88 88 compatible = "iio-hwmon"; 89 89 io-channels = <&adc0 16>, <&adc1 16>; 90 90 };