arm64: dts: rock960: Enable tsadc device
Subsystems (2)
PATCH 1/1 arm64: dts: rock960: Enable tsadc device
Enable the thermal sensor. This device also provides temperature shutdown protection. The shutdown value is set at 110C, as tested by the vendor.
--- arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +7 -0
@@ -634,3 +634,10 @@ mali-supply = <&vdd_gpu>; status = "okay"; }; + +&tsadc { + rockchip,hw-tshut-mode = <1>; + rockchip,hw-tshut-polarity = <1>; + rockchip,hw-tshut-temp = <110000>; + status = "okay"; +};
Signature · 1 line
2.20.1
Heiko Stübner
maintainerHi Ezequiel,
Am Freitag, 15. Februar 2019, 16:25:39 CET schrieb Ezequiel Garcia:
Quoted 15 lines
Enable the thermal sensor. This device also provides temperature shutdown protection. The shutdown value is set at 110C, as tested by the vendor.
Signed-off-by Ezequiel Garcia <ezequiel-ZGY8ohtN/[email protected]>--- arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)(quoted diff) +0
-0
b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsiindexd64d5ac0804a..599c9752ed4d100644
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi line 636
Quoted 3 lines
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +0
-0@@ -634,3 +634,10 @@ mali-supply = <&vdd_gpu>; status = "okay"; };
doesn't apply against my 5.1/dts64 branch and our rock960.dtsi also does not have a mali node yet (especially also not one with space-indentation ;-) ).
Heiko
Quoted 7 lines
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +7
-0+ +&tsadc { + rockchip,hw-tshut-mode = <1>; + rockchip,hw-tshut-polarity = <1>; + rockchip,hw-tshut-temp = <110000>; + status = "okay"; +};
Quoted 12 lines · Heiko Stübner
Hi Ezequiel,
Am Freitag, 15. Februar 2019, 16:25:39 CET schrieb Ezequiel Garcia:
Quoted 9 lines
Enable the thermal sensor. This device also provides temperature shutdown protection. The shutdown value is set at 110C, as tested by the vendor.
Signed-off-by Ezequiel Garcia <[email protected]>--- arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)
Quoted 15 lines
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi line 636
Quoted 9 lines
(quoted diff) +0
-0
b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsiindexd64d5ac0804a..599c9752ed4d100644arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +0
-0@@ -634,3 +634,10 @@ mali-supply = <&vdd_gpu>; status = "okay"; };doesn't apply against my 5.1/dts64 branch and our
rock960.dtsialso does not have a mali node yet (especially also not one with space-indentation ;-) ).
Sorry about that, it was based on your for-next branch, but a mali patch slipped through.
Quoted 12 lines
Heiko
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi line 643
Quoted 7 lines
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +7
-0+ +&tsadc { + rockchip,hw-tshut-mode = <1>; + rockchip,hw-tshut-polarity = <1>; + rockchip,hw-tshut-temp = <110000>; + status = "okay"; +};
_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Heiko Stuebner
maintainerAm Samstag, 16. Februar 2019, 03:55:01 CET schrieb Ezequiel Garcia:
Quoted 29 lines · Heiko Stübner
Quoted 12 lines
Hi Ezequiel,
Am Freitag, 15. Februar 2019, 16:25:39 CET schrieb Ezequiel Garcia:
Quoted 9 lines
Enable the thermal sensor. This device also provides temperature shutdown protection. The shutdown value is set at 110C, as tested by the vendor.
Signed-off-by Ezequiel Garcia <ezequiel-ZGY8ohtN/[email protected]>--- arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 7 +++++++ 1 file changed, 7 insertions(+)Quoted 15 lines
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi line 636
Quoted 9 lines
(quoted diff) +0
-0
b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsiindexd64d5ac0804a..599c9752ed4d100644arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi +0
-0@@ -634,3 +634,10 @@ mali-supply = <&vdd_gpu>; status = "okay"; };doesn't apply against my 5.1/dts64 branch and our
rock960.dtsialso does not have a mali node yet (especially also not one with space-indentation ;-) ).
Quoted 2 lines
Sorry about that, it was based on your for-next branch, but a mali patch slipped through.
I've fixed that up now and applied the fixed version for 5.1. I've also moved the &tsadc to the correct position - alphabetically between sdmmc and uart0. Please keep sorting in mind for future additions ;-) .
Thanks
Heiko