]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: rockchip: enable tsadc on rk3288 boards
authorHeiko Stuebner <heiko@sntech.de>
Sun, 5 Apr 2015 09:15:01 +0000 (11:15 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 27 Apr 2015 07:27:41 +0000 (09:27 +0200)
The tsadc is used to read cpu and gpu temperatures. Also enable it on the
other rk3288 boards beside the evb using the cru reset settings.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-firefly.dtsi
arch/arm/boot/dts/rk3288-popmetal.dts

index a3b1fc43228b7228235f4b0e33258f4ea33cdadb..0b42372e437944f2ed4ffeff249dbaabec1543a8 100644 (file)
        status = "okay";
 };
 
+&tsadc {
+       rockchip,hw-tshut-mode = <0>;
+       rockchip,hw-tshut-polarity = <0>;
+       status = "okay";
+};
+
 &uart0 {
        pinctrl-names = "default";
        pinctrl-0 = <&uart0_xfer>, <&uart0_cts>, <&uart0_rts>;
index d081f0e0da36c3c42fd97626a79d5e4df54bc300..d582811fbd7b0e6995f1eba10c0a2e8a202ae8e9 100644 (file)
        };
 };
 
+&tsadc {
+       rockchip,hw-tshut-mode = <0>;
+       rockchip,hw-tshut-polarity = <0>;
+       status = "okay";
+};
+
 &vopb {
        status = "okay";
 };