public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Udit Kumar <u-kumar1@ti.com>
To: <nm@ti.com>, <vigneshr@ti.com>, <bb@ti.com>, <sjg@chromium.org>
Cc: <peng.fan@nxp.com>, <ye.li@nxp.com>, <robimarko@gmail.com>,
	<u-boot@lists.denx.de>, <n-francis@ti.com>,
	Udit Kumar <u-kumar1@ti.com>
Subject: [PATCH 0/2] thermal: Add VTM driver support for J72xx SOCs
Date: Fri, 1 Sep 2023 11:44:58 +0530	[thread overview]
Message-ID: <20230901061500.2342452-1-u-kumar1@ti.com> (raw)

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


             reply	other threads:[~2023-09-01  6:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-01  6:14 Udit Kumar [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230901061500.2342452-1-u-kumar1@ti.com \
    --to=u-kumar1@ti.com \
    --cc=bb@ti.com \
    --cc=n-francis@ti.com \
    --cc=nm@ti.com \
    --cc=peng.fan@nxp.com \
    --cc=robimarko@gmail.com \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    --cc=ye.li@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox