aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2016-10-11 10:07:35 +0800
committerZhang Rui <rui.zhang@intel.com>2016-11-23 10:07:35 +0800
commitecaa015c7ab3e4e8522c181a5e211b6bd043946f (patch)
tree0bbec9ce2ed3ee1474688000a52f2f0b49185f2b /Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
parentthermal: rockchip: improve the warning log (diff)
downloadlinux-dev-ecaa015c7ab3e4e8522c181a5e211b6bd043946f.tar.xz
linux-dev-ecaa015c7ab3e4e8522c181a5e211b6bd043946f.zip
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. Acked-by: Rob Herring <robh@kernel.org> Reviewed-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/thermal/rockchip-thermal.txt')
-rw-r--r--Documentation/devicetree/bindings/thermal/rockchip-thermal.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
index 08efe6bc2193..43003aec94bd 100644
--- a/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
+++ b/Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
@@ -22,10 +22,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 {