* [PATCH] arm64: dts: rock960: Enable tsadc device
@ 2019-02-15 15:25 Ezequiel Garcia
2019-02-15 23:14 ` Heiko Stübner
0 siblings, 1 reply; 4+ messages in thread
From: Ezequiel Garcia @ 2019-02-15 15:25 UTC (permalink / raw)
To: Heiko Stuebner
Cc: linux-rockchip, Manivannan Sadhasivam, Enric Balletbo i Serra,
kernel, Ezequiel Garcia, linux-arm-kernel
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@collabora.com>
---
arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
index d64d5ac0804a..599c9752ed4d 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
@@ -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";
+};
--
2.20.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: rock960: Enable tsadc device
2019-02-15 15:25 [PATCH] arm64: dts: rock960: Enable tsadc device Ezequiel Garcia
@ 2019-02-15 23:14 ` Heiko Stübner
2019-02-16 2:55 ` Ezequiel Garcia
0 siblings, 1 reply; 4+ messages in thread
From: Heiko Stübner @ 2019-02-15 23:14 UTC (permalink / raw)
To: Ezequiel Garcia
Cc: Enric Balletbo i Serra, linux-rockchip, kernel, linux-arm-kernel,
Manivannan Sadhasivam
Hi Ezequiel,
Am Freitag, 15. Februar 2019, 16:25:39 CET schrieb Ezequiel Garcia:
> 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@collabora.com>
> ---
> arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
> b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi index
> d64d5ac0804a..599c9752ed4d 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
> @@ -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
> +
> +&tsadc {
> + rockchip,hw-tshut-mode = <1>;
> + rockchip,hw-tshut-polarity = <1>;
> + rockchip,hw-tshut-temp = <110000>;
> + status = "okay";
> +};
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: rock960: Enable tsadc device
2019-02-15 23:14 ` Heiko Stübner
@ 2019-02-16 2:55 ` Ezequiel Garcia
2019-02-16 20:34 ` Heiko Stuebner
0 siblings, 1 reply; 4+ messages in thread
From: Ezequiel Garcia @ 2019-02-16 2:55 UTC (permalink / raw)
To: Heiko Stübner
Cc: Enric Balletbo i Serra, linux-rockchip, kernel, linux-arm-kernel,
Manivannan Sadhasivam
On Sat, 2019-02-16 at 00:14 +0100, Heiko Stübner wrote:
> Hi Ezequiel,
>
> Am Freitag, 15. Februar 2019, 16:25:39 CET schrieb Ezequiel Garcia:
> > 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@collabora.com>
> > ---
> > arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 7 +++++++
> > 1 file changed, 7 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
> > b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi index
> > d64d5ac0804a..599c9752ed4d 100644
> > --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
> > +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
> > @@ -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 ;-) ).
>
>
Sorry about that, it was based on your for-next branch,
but a mali patch slipped through.
> Heiko
>
> > +
> > +&tsadc {
> > + rockchip,hw-tshut-mode = <1>;
> > + rockchip,hw-tshut-polarity = <1>;
> > + rockchip,hw-tshut-temp = <110000>;
> > + status = "okay";
> > +};
>
>
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm64: dts: rock960: Enable tsadc device
2019-02-16 2:55 ` Ezequiel Garcia
@ 2019-02-16 20:34 ` Heiko Stuebner
0 siblings, 0 replies; 4+ messages in thread
From: Heiko Stuebner @ 2019-02-16 20:34 UTC (permalink / raw)
To: Ezequiel Garcia
Cc: Enric Balletbo i Serra, linux-rockchip, kernel, linux-arm-kernel,
Manivannan Sadhasivam
Am Samstag, 16. Februar 2019, 03:55:01 CET schrieb Ezequiel Garcia:
> On Sat, 2019-02-16 at 00:14 +0100, Heiko Stübner wrote:
> > Hi Ezequiel,
> >
> > Am Freitag, 15. Februar 2019, 16:25:39 CET schrieb Ezequiel Garcia:
> > > 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@collabora.com>
> > > ---
> > > arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi | 7 +++++++
> > > 1 file changed, 7 insertions(+)
> > >
> > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
> > > b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi index
> > > d64d5ac0804a..599c9752ed4d 100644
> > > --- a/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
> > > +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock960.dtsi
> > > @@ -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 ;-) ).
> >
> >
>
> 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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-02-16 20:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-15 15:25 [PATCH] arm64: dts: rock960: Enable tsadc device Ezequiel Garcia
2019-02-15 23:14 ` Heiko Stübner
2019-02-16 2:55 ` Ezequiel Garcia
2019-02-16 20:34 ` Heiko Stuebner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).