arm64: dts: rockchip: enable tsadc for ROCK 4C+
authorFUKAUMI Naoki <naoki@radxa.com>
Tue, 18 Oct 2022 07:22:42 +0000 (07:22 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 18 Oct 2022 07:35:05 +0000 (09:35 +0200)
add and enable Temperature Sensor ADC for Radxa ROCK 4C+

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://lore.kernel.org/r/20221018072242.2348995-1-naoki@radxa.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts

index f988490..309c35d 100644 (file)
        status = "okay";
 };
 
+&tsadc {
+       rockchip,hw-tshut-mode = <1>;
+       rockchip,hw-tshut-polarity = <1>;
+       status = "okay";
+};
+
 &u2phy0 {
        status = "okay";