public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/2] thermal: Add VTM driver support for J72xx SOCs
@ 2023-09-01  6:14 Udit Kumar
  2023-09-01  6:14 ` [PATCH 1/2] thermal: k3-j72xx-bandgap: Add support for vtm Udit Kumar
  2023-09-01  6:15 ` [PATCH 2/2] DONOTMERGE: j7200: device tree and defconfig update Udit Kumar
  0 siblings, 2 replies; 9+ messages in thread
From: Udit Kumar @ 2023-09-01  6:14 UTC (permalink / raw)
  To: nm, vigneshr, bb, sjg
  Cc: peng.fan, ye.li, robimarko, u-boot, n-francis, Udit Kumar

This series adds VTM (Voltage and Thermal Manager) driver support
for J72xx SOCs.

Basically this driver is ported from kernel v6.5 to u-boot.
Main purpose of this driver to program thermal shutdown value
and provide SOC temperature.

To use this driver, update in device tree and defconfig are  needed.

Device tree sync is under review with series
https://lore.kernel.org/all/20230822185725.6718-1-reidt@ti.com/
Once above DT sync series will be merged, another patch will be posted
to update defconfig.
For now marking DT and defconfig update as donotmerge.

Boot logs:
https://gist.github.com/uditkumarti/fca15b10abe4c756b7889a8dc45bad57
line 67, u-boot temperature and line 778 temperature reported by OS

Udit Kumar (2):
  thermal: k3-j72xx-bandgap: Add support for vtm
  DONOTMERGE: j7200: device tree and defconfig

 arch/arm/dts/k3-j7200-mcu-wakeup.dtsi |   9 +
 configs/j7200_evm_a72_defconfig       |   3 +
 drivers/thermal/Kconfig               |   6 +
 drivers/thermal/Makefile              |   1 +
 drivers/thermal/k3_j72xx_bandgap.c    | 539 ++++++++++++++++++++++++++
 5 files changed, 558 insertions(+)
 create mode 100644 drivers/thermal/k3_j72xx_bandgap.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-09-02 12:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-01  6:14 [PATCH 0/2] thermal: Add VTM driver support for J72xx SOCs Udit Kumar
2023-09-01  6:14 ` [PATCH 1/2] thermal: k3-j72xx-bandgap: Add support for vtm Udit Kumar
2023-09-01 15:06   ` Nishanth Menon
2023-09-01 17:24     ` Kumar, Udit
2023-09-01 17:33       ` Nishanth Menon
2023-09-01 18:13         ` Kumar, Udit
2023-09-01 19:10           ` Nishanth Menon
2023-09-02 12:49             ` Kumar, Udit
2023-09-01  6:15 ` [PATCH 2/2] DONOTMERGE: j7200: device tree and defconfig update Udit Kumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox