Looks good to me, and I test it with soc-therm driver, the system can be shutdown when overheat. Thanks. Wei. On 08/13/2014 08:41 PM, Mikko Perttunen wrote: > Hi, > > this series adds support for hardware-triggered thermal reset to the PMC > driver. Namely, it adds device tree properties for specifying the I2C > command to be sent when thermtrip is triggered. It is to be noted > that thermtrip won't be ever triggered without a soctherm driver to > calibrate the sensors. > > Git repo at > git://github.com/cyndis/linux.git pmc-thermtrip-v2 > > Testing script at https://gist.github.com/cyndis/66126c9c176b5f94a76f. > If your fan stops it is working. > > Mikko Perttunen (5): > of: Add descriptions of thermtrip properties to Tegra PMC bindings > of: Add nvidia,controller-id property to Tegra I2C bindings > ARM: tegra124: Add I2C controller ids to device tree > ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree > ARM: tegra: Add thermal reset (thermtrip) support to PMC > > .../bindings/arm/tegra/nvidia,tegra20-pmc.txt | 21 ++ > .../devicetree/bindings/i2c/nvidia,tegra20-i2c.txt | 5 + > arch/arm/boot/dts/tegra124-jetson-tk1.dts | 6 + > arch/arm/boot/dts/tegra124.dtsi | 6 + > drivers/soc/tegra/pmc.c | 379 ++++++++++++++------- > 5 files changed, 285 insertions(+), 132 deletions(-) > -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html