]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9201e3ed327b990f3c77eb6b8671a59971046655
tree928b5b91fe8a676f2a83fdfe6224c656444ca420
parent8f66b73d865b49cb8b68a31a8d0bb9da387c27c2
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]