Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Shawn Lin and committed by
Zhang Rui
ecaa015c ce62abae

+3
+3
Documentation/devicetree/bindings/thermal/rockchip-thermal.txt
··· 22 22 TSADC controller. 23 23 - pinctrl-2 : The "sleep" pinctrl state, it will be in for suspend. 24 24 - #thermal-sensor-cells : Should be 1. See ./thermal.txt for a description. 25 + 26 + Optional properties: 25 27 - rockchip,hw-tshut-temp : The hardware-controlled shutdown temperature value. 26 28 - rockchip,hw-tshut-mode : The hardware-controlled shutdown mode 0:CRU 1:GPIO. 27 29 - rockchip,hw-tshut-polarity : The hardware-controlled active polarity 0:LOW 28 30 1:HIGH. 31 + - rockchip,grf : The phandle of the syscon node for the general register file. 29 32 30 33 Exiample: 31 34 tsadc: tsadc@ff280000 {