diff mbox series

[1/2] arm64: dts: rockchip: enable tsadc for ROCK 4C+

Message ID 20221018072242.2348995-1-naoki@radxa.com (mailing list archive)
State New, archived
Headers show
Series [1/2] arm64: dts: rockchip: enable tsadc for ROCK 4C+ | expand

Commit Message

FUKAUMI Naoki Oct. 18, 2022, 7:22 a.m. UTC
add and enable Temperature Sensor ADC for Radxa ROCK 4C+

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
---
 arch/arm64/boot/dts/rockchip/rk3399-rock-4c-plus.dts | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Heiko Stuebner Oct. 18, 2022, 7:36 a.m. UTC | #1
On Tue, 18 Oct 2022 07:22:42 +0000, FUKAUMI Naoki wrote:
> add and enable Temperature Sensor ADC for Radxa ROCK 4C+
> 
> 

Applied, thanks!

[1/2] arm64: dts: rockchip: enable tsadc for ROCK 4C+
      commit: 7f767e6817f5523c4d2442cd35bf9d7ca3548f56

Best regards,
diff mbox series

Patch

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";