[PATCH V2 2/3] arm: mach-k3: am62: Add timer0 id to the dev list

Nishanth Menon nm at ti.com
Wed Jul 26 17:10:26 CEST 2023


From: Sjoerd Simons <sjoerd at collabora.com>

Timer0 is used by u-boot as the tick timer; Add it to the soc devices
list so it can be enabled via the k3 power controller.

Signed-off-by: Sjoerd Simons <sjoerd at collabora.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
Tested-by: Ravi Gunasekaran <r-gunasekaran at ti.com>
Tested-by: Mattijs Korpershoek <mkorpershoek at baylibre.com>
Cc: Francesco Dolcini <francesco at dolcini.it>
Cc: Wadim Egorov <w.egorov at phytec.de>
Signed-off-by: Nishanth Menon <nm at ti.com>
---
No change since V1

V1: https://lore.kernel.org/all/20230725125856.1807742-3-nm@ti.com/
Original patch: https://lore.kernel.org/r/20230406185542.1179073-3-sjoerd@collabora.com

 arch/arm/mach-k3/am62x/dev-data.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-k3/am62x/dev-data.c b/arch/arm/mach-k3/am62x/dev-data.c
index 1a6f9e2ca03e..59c95df2a887 100644
--- a/arch/arm/mach-k3/am62x/dev-data.c
+++ b/arch/arm/mach-k3/am62x/dev-data.c
@@ -58,6 +58,7 @@ static struct ti_dev soc_dev_list[] = {
 	PSC_DEV(161, &soc_lpsc_list[8]),
 	PSC_DEV(162, &soc_lpsc_list[9]),
 	PSC_DEV(75, &soc_lpsc_list[10]),
+	PSC_DEV(36, &soc_lpsc_list[11]),
 	PSC_DEV(102, &soc_lpsc_list[11]),
 	PSC_DEV(146, &soc_lpsc_list[11]),
 	PSC_DEV(13, &soc_lpsc_list[12]),
-- 
2.40.0



More information about the U-Boot mailing list