of: add notes of critical trips for soctherm
Subsystems (3)
PATCH v7 8/12 of: add notes of critical trips for soctherm
The "critical" type trip in thermal zone can be set to SOC_THERM hardware, it can trigger shut down or reset event from hardware.
--- Documentation/devicetree/bindings/thermal/tegra-soctherm.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+)
Documentation/devicetree/bindings/thermal/tegra-soctherm.txt +12 -0
@@ -26,6 +26,10 @@ Required properties : of this property. See <dt-bindings/thermal/tegra124-soctherm.h> for a list of valid values when referring to thermal sensors. +Note: +- the "critical" type trip points will be set to SOC_THERM hardware as the +shut down temperature. Once the temperature of this thermal zone is higher +than it, the system will be shutdown or reset by hardware. Example :
@@ -51,5 +55,13 @@ Example: referring to thermal sensors : thermal-sensors = <&soctherm TEGRA124_SOCTHERM_SENSOR_CPU>; + + trips { + cpu_shutdown_trip: shutdown-trip { + temperature = <102500>; + hysteresis = <1000>; + type = "critical"; + }; + }; }; };
Signature · 1 line
1.9.1
Quoted 9 lines · Wei Ni
The "critical" type trip in thermal zone can be set to
SOC_THERMhardware, it can trigger shut down or reset event from hardware.Signed-off-by Wei Ni <[email protected]>Acked-by Rob Herring <[email protected]>--- Documentation/devicetree/bindings/thermal/tegra-soctherm.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+)
I did not see in your patch set an update on the compatible string for the new chip. Did I miss something?
Quoted 7 lines · Eduardo Valentin
* PGP Signed by an unknown key
Quoted 4 lines · Wei Ni
The "critical" type trip in thermal zone can be set to
SOC_THERMhardware, it can trigger shut down or reset event from hardware.
Quoted 8 lines
Quoted 5 lines
Signed-off-by Wei Ni <[email protected]>Acked-by Rob Herring <[email protected]>--- Documentation/devicetree/bindings/thermal/tegra-soctherm.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+)I did not see in your patch set an update on the compatible string for the new chip. Did I miss something?
As I said in the previous [00/12], the "commit 193c9d23a0f0" already added the compatible string. At that time, it just used current tegra_soctherm.c driver to support Tegra210, it can work, but can't show temperatures correctly.
Quoted 4 lines
* Unknown Key
*0x7DA4E256
Quoted 16 lines · Wei Ni
Quoted 13 lines · Eduardo Valentin
* PGP Signed by an unknown key
Quoted 9 lines · Wei Ni
The "critical" type trip in thermal zone can be set to
SOC_THERMhardware, it can trigger shut down or reset event from hardware.Signed-off-by Wei Ni <[email protected]>Acked-by Rob Herring <[email protected]>--- Documentation/devicetree/bindings/thermal/tegra-soctherm.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+)
Quoted 6 lines
Quoted 2 lines
I did not see in your patch set an update on the compatible string for the new chip. Did I miss something?
As I said in the previous [00/12], the "commit
193c9d23a0f0" already added the compatible string. At that time, it just used currenttegra_soctherm.cdriver to support Tegra210, it can work, but can't show temperatures correctly.
Oh, sorry, I made a mistake, this "commit 193c9d23a0f0" just added the compatible string, did not use current tegra_soctherm driver to support Tegra210.
Wei.
Quoted 5 lines
Quoted 5 lines
* Unknown Key
*0x7DA4E256
Quoted 22 lines · Wei Ni
Quoted 19 lines · Wei Ni
Quoted 15 lines · Eduardo Valentin
* PGP Signed by an unknown key
Quoted 9 lines · Wei Ni
The "critical" type trip in thermal zone can be set to
SOC_THERMhardware, it can trigger shut down or reset event from hardware.Signed-off-by Wei Ni <[email protected]>Acked-by Rob Herring <[email protected]>--- Documentation/devicetree/bindings/thermal/tegra-soctherm.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+)I did not see in your patch set an update on the compatible string for the new chip. Did I miss something?
Quoted 6 lines
Quoted 3 lines
As I said in the previous [00/12], the "commit
193c9d23a0f0" already added the compatible string. At that time, it just used currenttegra_soctherm.cdriver to support Tegra210, it can work, but can't show temperatures correctly.Oh, sorry, I made a mistake, this "commit
193c9d23a0f0" just added the compatible string, did not use currenttegra_socthermdriver to support Tegra210.
Ok. got it. The binding is done, but the driver is being re factored only now to add the support for this chip version.
Quoted 8 lines
Wei.
Quoted 5 lines
Quoted 5 lines
* Unknown Key
*0x7DA4E256