From: Sjoerd Simons <sjo...@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 <sjo...@collabora.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
Reviewed-by: Roger Quadros <rog...@kernel.org>
Tested-by: Ravi Gunasekaran <r-gunaseka...@ti.com>
Tested-by: Mattijs Korpershoek <mkorpersh...@baylibre.com>
Cc: Francesco Dolcini <france...@dolcini.it>
Cc: Wadim Egorov <w.ego...@phytec.de>
Signed-off-by: Nishanth Menon <n...@ti.com>
---
Changes since V2:
- Added Roger's reviewed-by
V2: https://lore.kernel.org/all/20230726151027.2517151-3...@ti.com/
V1: https://lore.kernel.org/all/20230725125856.1807742-3...@ti.com/
Original patch: 
https://lore.kernel.org/r/20230406185542.1179073-3-sjo...@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

Reply via email to