diff options
author | Pramod Kumar <pramod.kumar@broadcom.com> | 2019-01-03 14:25:33 +0530 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-02-05 16:35:57 -0800 |
commit | 250e211057c7237dc75634b1372a1a3bd58dcd96 (patch) | |
tree | 928b5b91fe8a676f2a83fdfe6224c656444ca420 /drivers/thermal/broadcom/Kconfig | |
parent | b8bdf0925902b07e45d4d9c8796f7c531cfe9320 (diff) | |
download | lwn-250e211057c7237dc75634b1372a1a3bd58dcd96.tar.gz lwn-250e211057c7237dc75634b1372a1a3bd58dcd96.zip |
thermal: broadcom: Add Stingray thermal driver
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>
Diffstat (limited to 'drivers/thermal/broadcom/Kconfig')
-rw-r--r-- | drivers/thermal/broadcom/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/thermal/broadcom/Kconfig b/drivers/thermal/broadcom/Kconfig index c106a15bf7f9..dc9a9bdde3ed 100644 --- a/drivers/thermal/broadcom/Kconfig +++ b/drivers/thermal/broadcom/Kconfig @@ -22,3 +22,12 @@ config BCM_NS_THERMAL 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. |