Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e353421f authored by Nikita Yushchenko's avatar Nikita Yushchenko Committed by Shawn Guo
Browse files

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: default avatarNikita Yushchenko <nikita.yoush@cogentembedded.com>
Acked-by: default avatarStefan Agner <stefan@agner.ch>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent bce48c92
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -222,6 +222,10 @@
	status = "okay";
};

&tempsensor {
	io-channels = <&adc0 16>;
};

&iomuxc {
	pinctrl_adc0_ad5: adc0ad5grp {
		fsl,pins = <
+1 −1
Original line number Diff line number Diff line
@@ -84,7 +84,7 @@
		mask = <0x1000>;
	};

	iio-hwmon {
	tempsensor: iio-hwmon {
		compatible = "iio-hwmon";
		io-channels = <&adc0 16>, <&adc1 16>;
	};