• Wei Ni's avatar
    thermal: tegra: add thermtrip function · 2a895871
    Wei Ni authored
    Add support for hardware critical thermal limits to the
    SOC_THERM driver. It use the Linux thermal framework to
    create critical trip temp, and set it to SOC_THERM hardware.
    If these limits are breached, the chip will reset, and if
    appropriately configured, will turn off the PMIC.
    
    This support is critical for safe usage of the chip.
    Signed-off-by: default avatarWei Ni <wni@nvidia.com>
    Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
    2a895871
soctherm.h 3.83 KB