]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mach-k3: am62: Add timer0 id to the dev list
authorSjoerd Simons <sjoerd@collabora.com>
Thu, 27 Jul 2023 09:03:30 +0000 (04:03 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 28 Jul 2023 14:10:36 +0000 (10:10 -0400)
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@collabora.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Roger Quadros <rogerq@kernel.org>
Tested-by: Maxime Ripard <mripard@kernel.org>
Tested-by: Ravi Gunasekaran <r-gunasekaran@ti.com>
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Cc: Francesco Dolcini <francesco@dolcini.it>
Cc: Wadim Egorov <w.egorov@phytec.de>
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm/mach-k3/am62x/dev-data.c

index 1a6f9e2ca03e302d58764ee8bbe35637d7e2a301..59c95df2a887961d69b9e54b7be0f45aa46d9cb2 100644 (file)
@@ -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]),