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>
14 lines
499 B
Makefile
14 lines
499 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2014 Freescale Semiconductor, Inc.
|
|
# Author: Nitin Garg <nitin.garg@freescale.com>
|
|
|
|
obj-$(CONFIG_DM_THERMAL) += thermal-uclass.o
|
|
obj-$(CONFIG_IMX_SCU_THERMAL) += imx_scu_thermal.o
|
|
obj-$(CONFIG_IMX_THERMAL) += imx_thermal.o
|
|
obj-$(CONFIG_IMX_TMU) += imx_tmu.o
|
|
obj-$(CONFIG_RCAR_GEN3_THERMAL) += rcar_gen3_thermal.o
|
|
obj-$(CONFIG_SANDBOX) += thermal_sandbox.o
|
|
obj-$(CONFIG_TI_DRA7_THERMAL) += ti-bandgap.o
|
|
obj-$(CONFIG_TI_LM74_THERMAL) += ti-lm74.o
|