[PATCH 1/2] arm64: dts: rockchip: enable tsadc for ROCK 4C+
FUKAUMI Naoki
naoki at radxa.com
Tue Oct 18 00:22:42 PDT 2022
add and enable Temperature Sensor ADC for Radxa ROCK 4C+
Signed-off-by: FUKAUMI Naoki <naoki at radxa.com>
---
arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts
index f9884902f874..309c35d7fca8 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts
@@ -601,6 +601,12 @@ &tcphy1 {
status = "okay";
};
+&tsadc {
+ rockchip,hw-tshut-mode = <1>;
+ rockchip,hw-tshut-polarity = <1>;
+ status = "okay";
+};
+
&u2phy0 {
status = "okay";
--
2.35.1
More information about the Linux-rockchip
mailing list