From: Shawn Lin Date: Tue, 11 Oct 2016 02:07:35 +0000 (+0800) Subject: UPSTREAM: dt-bindings: rockchip-thermal: fix the misleading description X-Git-Tag: firefly_0821_release~1244 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7c6edaf7e9e54e64824780583d14c008acec69a4;p=firefly-linux-kernel-4.4.55.git UPSTREAM: dt-bindings: rockchip-thermal: fix the misleading description "rockchip,hw-tshut-temp", "rockchip,hw-tshut-mode" and "rockchip,hw-tshut-polarity" are not a required properties actually as the code could also work by loading the default settings there. So it is apprently misleading, although we prefer to get these from DT. And it seems we miss the 'rockchip,grf' here which should also be an optional property. Change-Id: I5ae62b7137f88da40475caec3b6d43a00219d85d Acked-by: Rob Herring Reviewed-by: Heiko Stuebner Signed-off-by: Shawn Lin Signed-off-by: Eduardo Valentin Signed-off-by: Caesar Wang (cherry picked from git.kernel.org evalenti/linux-soc-thermal.git next commit 38e133ee6ea54bdfbe64c0e57bea4bc1e616c19a) --- diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt index f3ac9141946f..0c937ecc5480 100644 --- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt +++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt @@ -23,10 +23,13 @@ Required properties: TSADC controller. - pinctrl-2 : The "sleep" pinctrl state, it will be in for suspend. - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description. + +Optional properties: - rockchip,hw-tshut-temp : The hardware-controlled shutdown temperature value. - rockchip,hw-tshut-mode : The hardware-controlled shutdown mode 0:CRU 1:GPIO. - rockchip,hw-tshut-polarity : The hardware-controlled active polarity 0:LOW 1:HIGH. +- rockchip,grf : The phandle of the syscon node for the general register file. Exiample: tsadc: tsadc@ff280000 {