]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: mach-k3: j721s2: Add mcu_timer0 id to the dev list
authorManorit Chawdhry <m-chawdhry@ti.com>
Fri, 6 Oct 2023 04:45:57 +0000 (10:15 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 12 Oct 2023 18:06:04 +0000 (14:06 -0400)
mcu_timer0 is used by u-boot as the tick-timer. Add it to the soc
devices lsit so it an be enabled via the k3 power controller.

Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
arch/arm/mach-k3/j721s2/dev-data.c

index 8c999a3c5a8b0a6e2e19e3ae5180cae55b45dd61..df70c5e5d7c0091f91246d9266254e3ec359c666 100644 (file)
@@ -47,6 +47,7 @@ static struct ti_lpsc soc_lpsc_list[] = {
 };
 
 static struct ti_dev soc_dev_list[] = {
+       PSC_DEV(35, &soc_lpsc_list[0]),
        PSC_DEV(108, &soc_lpsc_list[0]),
        PSC_DEV(109, &soc_lpsc_list[0]),
        PSC_DEV(110, &soc_lpsc_list[0]),