mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-04-15 19:11:03 +02:00
Add support for R-Car Gen3/Gen4 and RZ/G2 thermal sensors.
Fuse readout support is present, including fallback trimming.
Example usage using the 'temperature' command on R-Car V4H Sparrow Hawk:
"
=> temperature list
| Device | Driver | Parent
| thermal-rcar-gen3-tsc.0 | thermal-rcar-gen3-tsc | thermal@e6198000
| thermal-rcar-gen3-tsc.1 | thermal-rcar-gen3-tsc | thermal@e6198000
| thermal-rcar-gen3-tsc.2 | thermal-rcar-gen3-tsc | thermal@e6198000
| thermal-rcar-gen3-tsc.3 | thermal-rcar-gen3-tsc | thermal@e6198000
=> for i in 0 1 2 3 ; do temperature get thermal-rcar-gen3-tsc.$i ; done
thermal-rcar-gen3-tsc.0: 56 C
thermal-rcar-gen3-tsc.1: 50 C
thermal-rcar-gen3-tsc.2: 48 C
thermal-rcar-gen3-tsc.3: 52 C
"
Ported from Linux 6.16-rc6 commit
9e1dc0360fcf ("thermal/drivers/rcar_gen3: Add support for R-Car V4H default trim values")
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
59 lines
2.0 KiB
Plaintext
59 lines
2.0 KiB
Plaintext
config DM_THERMAL
|
|
bool "Driver support for thermal devices"
|
|
help
|
|
Enable support for temperature-sensing devices. Some SoCs have on-chip
|
|
temperature sensors to permit warnings, speed throttling or even
|
|
automatic power-off when the temperature gets too high or low. Other
|
|
devices may be discrete but connected on a suitable bus.
|
|
|
|
if DM_THERMAL
|
|
|
|
config IMX_THERMAL
|
|
bool "Temperature sensor driver for Freescale i.MX SoCs"
|
|
depends on MX6 || MX7
|
|
help
|
|
Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs.
|
|
It supports one critical trip point and one passive trip point. The
|
|
cpufreq is used as the cooling device to throttle CPUs when the
|
|
passive trip is crossed.
|
|
|
|
config IMX_SCU_THERMAL
|
|
bool "Temperature sensor driver for NXP i.MX8"
|
|
depends on ARCH_IMX8
|
|
help
|
|
Support for Temperature sensors on NXP i.MX8.
|
|
It supports one critical trip point and one passive trip point. The
|
|
boot is hold to the cool device to throttle CPUs when the passive
|
|
trip is crossed
|
|
|
|
config IMX_TMU
|
|
bool "Thermal Management Unit driver for NXP i.MX8M and iMX93"
|
|
depends on ARCH_IMX8M || IMX93
|
|
help
|
|
Support for Temperature sensors on NXP i.MX8M and iMX93.
|
|
It supports one critical trip point and one passive trip point.
|
|
The boot is hold to the cool device to throttle CPUs when the
|
|
passive trip is crossed
|
|
|
|
config RCAR_GEN3_THERMAL
|
|
bool "Renesas R-Car Gen3/Gen4 and RZ/G2 thermal driver"
|
|
depends on ARCH_RENESAS
|
|
depends on RCAR_64
|
|
help
|
|
Enable this to plug the R-Car Gen3/Gen4 or RZ/G2 thermal sensor
|
|
driver into the U-Boot thermal framework.
|
|
|
|
config TI_DRA7_THERMAL
|
|
bool "Temperature sensor driver for TI dra7xx SOCs"
|
|
help
|
|
Enable thermal support for for the Texas Instruments DRA752 SoC family.
|
|
The driver supports reading CPU temperature.
|
|
|
|
config TI_LM74_THERMAL
|
|
bool "Temperature sensor driver for TI LM74 chip"
|
|
help
|
|
Enable thermal support for the Texas Instruments LM74 chip.
|
|
The driver supports reading CPU temperature.
|
|
|
|
endif # if DM_THERMAL
|