mirror of
https://github.com/torvalds/linux.git
synced 2024-12-11 05:33:09 +00:00
250e211057
Stingray SoC has six temperature sensor and those are configured, controlled and accessed to read temperature and update in DDR memory using m0 firmware. All six sensors has been given 4 bytes of memory in DDR to write temperature in millivolts. This thermal driver read temperature values from DDR because no direct access to sensors. Like this all temparature sensors are monitored and trips at critical temperature. If driver can't handle thermal runaways because of any unknown reason, then firmware in m0 Processor will handle. Reviewed-by: Ray Jui <ray.jui@broadcom.com> Reviewed-by: Scott Branden <scott.branden@broadcom.com> Reviewed-by: Vikram Prakash <vikram.prakash@broadcom.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Pramod Kumar <pramod.kumar@broadcom.com> Signed-off-by: Srinath Mannam <srinath.mannam@broadcom.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
config BCM2835_THERMAL
|
|
tristate "Thermal sensors on bcm2835 SoC"
|
|
depends on ARCH_BCM2835 || COMPILE_TEST
|
|
depends on HAS_IOMEM
|
|
depends on THERMAL_OF
|
|
help
|
|
Support for thermal sensors on Broadcom bcm2835 SoCs.
|
|
|
|
config BRCMSTB_THERMAL
|
|
tristate "Broadcom STB AVS TMON thermal driver"
|
|
depends on ARCH_BRCMSTB || COMPILE_TEST
|
|
help
|
|
Enable this driver if you have a Broadcom STB SoC and would like
|
|
thermal framework support.
|
|
|
|
config BCM_NS_THERMAL
|
|
tristate "Northstar thermal driver"
|
|
depends on ARCH_BCM_IPROC || COMPILE_TEST
|
|
default y if ARCH_BCM_IPROC
|
|
help
|
|
Support for the Northstar and Northstar Plus family of SoCs (e.g.
|
|
BCM4708, BCM4709, BCM5301x, BCM95852X, etc). It contains DMU (Device
|
|
Management Unit) block with a thermal sensor that allows checking CPU
|
|
temperature.
|
|
|
|
config BCM_SR_THERMAL
|
|
tristate "Stingray thermal driver"
|
|
depends on ARCH_BCM_IPROC || COMPILE_TEST
|
|
default ARCH_BCM_IPROC
|
|
help
|
|
Support for the Stingray family of SoCs. Its different blocks like
|
|
iHost, CRMU and NITRO has thermal sensor that allows checking its
|
|
temperature.
|