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: [RFC PATCH v2 2/3] arm: mach-k3: update board file to use thermal device
Date: Fri, 8 Sep 2023 22:59:16 +0530	[thread overview]
Message-ID: <20230908172914.436194-3-u-kumar1@ti.com> (raw)
In-Reply-To: <20230908172914.436194-1-u-kumar1@ti.com>

Update am65 and J721e board files to use thermal device
instead of MISC device

Signed-off-by: Udit Kumar <u-kumar1@ti.com>
---
 arch/arm/mach-k3/am654_init.c | 2 +-
 arch/arm/mach-k3/j721e_init.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-k3/am654_init.c b/arch/arm/mach-k3/am654_init.c
index 0d3889cde2..7496164acf 100644
--- a/arch/arm/mach-k3/am654_init.c
+++ b/arch/arm/mach-k3/am654_init.c
@@ -248,7 +248,7 @@ void board_init_f(ulong dummy)
 	do_board_detect();
 
 #if defined(CONFIG_CPU_V7R) && defined(CONFIG_K3_AVS0)
-	ret = uclass_get_device_by_driver(UCLASS_MISC, DM_DRIVER_GET(k3_avs),
+	ret = uclass_get_device_by_driver(UCLASS_THERMAL, DM_DRIVER_GET(k3_avs),
 					  &dev);
 	if (ret)
 		printf("AVS init failed: %d\n", ret);
diff --git a/arch/arm/mach-k3/j721e_init.c b/arch/arm/mach-k3/j721e_init.c
index b6164575b7..db9bbd72c7 100644
--- a/arch/arm/mach-k3/j721e_init.c
+++ b/arch/arm/mach-k3/j721e_init.c
@@ -276,7 +276,7 @@ void board_init_f(ulong dummy)
 	do_board_detect();
 
 #if defined(CONFIG_CPU_V7R) && defined(CONFIG_K3_AVS0)
-	ret = uclass_get_device_by_driver(UCLASS_MISC, DM_DRIVER_GET(k3_avs),
+	ret = uclass_get_device_by_driver(UCLASS_THERMAL, DM_DRIVER_GET(k3_avs),
 					  &dev);
 	if (ret)
 		printf("AVS init failed: %d\n", ret);
-- 
2.34.1


  parent reply	other threads:[~2023-09-08 17:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-08 17:29 [RFC PATCH v2 0/3] thermal: Integrate VTM and AVS driver Udit Kumar
2023-09-08 17:29 ` [RFC PATCH v2 1/3] thermal: k3: Add support for thermal in vtm Udit Kumar
2023-09-08 17:29 ` Udit Kumar [this message]
2023-09-08 17:29 ` [RFC PATCH v2 3/3] arm: dts: k3: update device tree for vtm node Udit Kumar
2023-09-30  6:41 ` [RFC PATCH v2 0/3] thermal: Integrate VTM and AVS driver Kumar, Udit

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=20230908172914.436194-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