OSDN Git Service

thermal: broadcom: Add Stingray thermal driver
authorPramod Kumar <pramod.kumar@broadcom.com>
Thu, 3 Jan 2019 08:55:33 +0000 (14:25 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 6 Feb 2019 00:35:57 +0000 (16:35 -0800)
commit250e211057c7237dc75634b1372a1a3bd58dcd96
tree928b5b91fe8a676f2a83fdfe6224c656444ca420
parentb8bdf0925902b07e45d4d9c8796f7c531cfe9320
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>
drivers/thermal/Kconfig
drivers/thermal/broadcom/Kconfig
drivers/thermal/broadcom/Makefile
drivers/thermal/broadcom/sr-thermal.c [new file with mode: 0644]