]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
arm64: dts: rockchip: Enable the Thermal on R88 board
authorCaesar Wang <wxt@rock-chips.com>
Mon, 9 Nov 2015 04:49:02 +0000 (12:49 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 21 Nov 2015 16:39:17 +0000 (17:39 +0100)
This patch enable the TS-ADC.

When a thermal temperature is invoked use the CRU to reset the chip
on R88 board. TSHUT is low active on this board.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Acked-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3368-r88.dts

index 401a81231eb92d97d9ea60e49405dc085f62c978..104cbee762bb116d37d06e39ec2b2e644e3adfeb 100644 (file)
        status = "okay";
 };
 
+&tsadc {
+       rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
+       rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
+       status = "okay";
+};
+
 &uart2 {
        status = "okay";
 };