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 2/2] DONOTMERGE: j7200: device tree and defconfig update
Date: Fri, 1 Sep 2023 11:45:00 +0530 [thread overview]
Message-ID: <20230901061500.2342452-3-u-kumar1@ti.com> (raw)
In-Reply-To: <20230901061500.2342452-1-u-kumar1@ti.com>
Enable VTM node in device tree and update defconfig for vtm.
Signed-off-by: Udit Kumar <u-kumar1@ti.com>
---
arch/arm/dts/k3-j7200-mcu-wakeup.dtsi | 9 +++++++++
configs/j7200_evm_a72_defconfig | 3 +++
2 files changed, 12 insertions(+)
diff --git a/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi b/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi
index 1044ec6c4b..5e647a7cf2 100644
--- a/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi
+++ b/arch/arm/dts/k3-j7200-mcu-wakeup.dtsi
@@ -53,6 +53,15 @@
reg = <0x00 0x43000014 0x00 0x4>;
};
+ wkup_vtm: temperature-sensor@42040000 {
+ compatible = "ti,j7200-vtm";
+ reg = <0x00 0x42040000 0x00 0x350>,
+ <0x00 0x42050000 0x00 0x350>,
+ <0x00 0x43000300 0x00 0x10>;
+ power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>;
+ #thermal-sensor-cells = <1>;
+ };
+
wkup_pmx0: pinctrl@4301c000 {
compatible = "pinctrl-single";
/* Proxy 0 addressing */
diff --git a/configs/j7200_evm_a72_defconfig b/configs/j7200_evm_a72_defconfig
index ad8492a17e..b4b99dc863 100644
--- a/configs/j7200_evm_a72_defconfig
+++ b/configs/j7200_evm_a72_defconfig
@@ -178,6 +178,9 @@ CONFIG_CADENCE_QSPI=y
CONFIG_HAS_CQSPI_REF_CLK=y
CONFIG_CQSPI_REF_CLK=133333333
CONFIG_SYSRESET=y
+CONFIG_DM_THERMAL=y
+CONFIG_TI_K3_THERMAL=y
+CONFIG_CMD_TEMPERATURE=y
CONFIG_SPL_SYSRESET=y
CONFIG_SYSRESET_TI_SCI=y
CONFIG_USB=y
--
2.34.1
prev parent 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 [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 ` Udit Kumar [this message]
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-3-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