of: Add bindings of hw-trips for soctherm
Subsystems (3)
PATCH v3 7/11 of: Add bindings of hw-trips for soctherm
Add hw-trips sub-node for soctherm, which is
used to describe the hardware trip points for
each soctherm sensors.
--- .../devicetree/bindings/thermal/tegra-soctherm.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+)
Documentation/devicetree/bindings/thermal/tegra-soctherm.txt +24 -0
@@ -26,6 +26,15 @@ Required properties : of this property. See <dt-bindings/thermal/tegra124-soctherm.h> for a list of valid values when referring to thermal sensors. +Optional properties: +- hw-trip-points : A sub-node which is a container of hardware trip points + for each sensors. + * sensors: Sub-nodes which are used to describe the HW trip points info, + must be named as "cpu", "gpu", "mem", "pll". + Properties: + - thermtrip-temperature : Shutdown or reset temperature in millicelsius, + once the temperature of this sensor is higher than the + thermtrip-temperature, the system will be shutdown or reset. Example :
@@ -40,6 +49,21 @@ Example : reset-names = "soctherm"; #thermal-sensor-cells = <1>; + + hw-trip-points { + cpu { + thermtrip-temperature = <103000>; + }; + gpu { + thermtrip-temperature = <103500>; + }; + mem { + thermtrip-temperature = <103500>; + }; + pll { + thermtrip-temperature = <105000>; + }; + }; }; Example: referring to thermal sensors :
Signature · 1 line
1.9.1
Quoted 3 lines · Wei Ni
Add hw-trips sub-node for soctherm, which is
used to describe the hardware trip points for
each soctherm sensors.
Please make use of the full 78 characters in each line. Otherwise looks good to me.
Oh, also make sure to Cc: [email protected] on device tree binding patches. Doing that now, hence quoting verbatim.
Thierry
Quoted 51 lines
Signed-off-by Wei Ni <[email protected]>--- .../devicetree/bindings/thermal/tegra-soctherm.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+)Documentation/devicetree/bindings/thermal/tegra-soctherm.txt +24
-0@@ -26,6 +26,15 @@ Required properties : of this property. See <dt-bindings/thermal/tegra124-soctherm.h> for a list of valid values when referring to thermal sensors. +Optional properties: +- hw-trip-points : A sub-node which is a container of hardware trip points + for each sensors. + * sensors: Sub-nodes which are used to describe the HW trip points info, + must be named as "cpu", "gpu", "mem", "pll". + Properties: + - thermtrip-temperature : Shutdown or reset temperature in millicelsius, + once the temperature of this sensor is higher than the + thermtrip-temperature, the system will be shutdown or reset. Example :@@ -40,6 +49,21 @@ Example : reset-names = "soctherm"; #thermal-sensor-cells = <1>; + + hw-trip-points { + cpu { + thermtrip-temperature = <103000>; + }; + gpu { + thermtrip-temperature = <103500>; + }; + mem { + thermtrip-temperature = <103500>; + }; + pll { + thermtrip-temperature = <105000>; + }; + }; }; Example: referring to thermal sensors :Signature · 1 line
1.9.1
Quoted 9 lines · Thierry Reding
* PGP Signed by an unknown key
Quoted 3 lines · Wei Ni
Add hw-trips sub-node for soctherm, which is
used to describe the hardware trip points for
each soctherm sensors.Please make use of the full 78 characters in each line. Otherwise looks good to me.
Ok, I will check it again.
Quoted 3 lines
Oh, also make sure to Cc: [email protected] on device tree binding patches. Doing that now, hence quoting verbatim.
Sure, will do it.
Quoted 58 lines
Thierry
Quoted 51 lines
Signed-off-by Wei Ni <[email protected]>--- .../devicetree/bindings/thermal/tegra-soctherm.txt | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+)Documentation/devicetree/bindings/thermal/tegra-soctherm.txt +24
-0@@ -26,6 +26,15 @@ Required properties : of this property. See <dt-bindings/thermal/tegra124-soctherm.h> for a list of valid values when referring to thermal sensors. +Optional properties: +- hw-trip-points : A sub-node which is a container of hardware trip points + for each sensors. + * sensors: Sub-nodes which are used to describe the HW trip points info, + must be named as "cpu", "gpu", "mem", "pll". + Properties: + - thermtrip-temperature : Shutdown or reset temperature in millicelsius, + once the temperature of this sensor is higher than the + thermtrip-temperature, the system will be shutdown or reset. Example :@@ -40,6 +49,21 @@ Example : reset-names = "soctherm"; #thermal-sensor-cells = <1>; + + hw-trip-points { + cpu { + thermtrip-temperature = <103000>; + }; + gpu { + thermtrip-temperature = <103500>; + }; + mem { + thermtrip-temperature = <103500>; + }; + pll { + thermtrip-temperature = <105000>; + }; + }; }; Example: referring to thermal sensors :Signature · 1 line
1.9.1* Unknown Key
*0x7F3EB3A1
Quoted 3 lines · Wei Ni
Add hw-trips sub-node for soctherm, which is
used to describe the hardware trip points for
each soctherm sensors.
Also the subject and commit message should be updated to reflect the new sub-node name.
Thierry
Quoted 9 lines · Thierry Reding
* PGP Signed by an unknown key
Quoted 3 lines · Wei Ni
Add hw-trips sub-node for soctherm, which is
used to describe the hardware trip points for
each soctherm sensors.Also the subject and commit message should be updated to reflect the new sub-node name.
Yes, will fix it.
Quoted 6 lines
Thierry
* Unknown Key
*0x7F3EB3A1