]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
power: domain: ti: Add support for J721S2 SoC
authorDavid Huang <d-huang@ti.com>
Tue, 25 Jan 2022 15:26:34 +0000 (20:56 +0530)
committerTom Rini <trini@konsulko.com>
Tue, 8 Feb 2022 14:41:27 +0000 (09:41 -0500)
Add support for J721S2 SoC.

Signed-off-by: David Huang <d-huang@ti.com>
Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/power/domain/ti-power-domain.c
include/k3-dev.h

index b45e9b824539d07f23a573c52ccd21066d0a00df..a7dadf2eea775cccd0c2ba911e6ad061fbf8feb4 100644 (file)
@@ -79,6 +79,11 @@ static const struct soc_attr ti_k3_soc_pd_data[] = {
                .family = "J7200",
                .data = &j7200_pd_platdata,
        },
+#elif CONFIG_SOC_K3_J721S2
+       {
+               .family = "J721S2",
+               .data = &j721s2_pd_platdata,
+       },
 #endif
        { /* sentinel */ }
 };
index 55c5057db35a1641cd79302d3beacdda464e9d9e..b46b8c3aabc7fc01101ede479f45d829a4338928 100644 (file)
@@ -77,6 +77,7 @@ struct ti_k3_pd_platdata {
 
 extern const struct ti_k3_pd_platdata j721e_pd_platdata;
 extern const struct ti_k3_pd_platdata j7200_pd_platdata;
+extern const struct ti_k3_pd_platdata j721s2_pd_platdata;
 
 u8 ti_pd_state(struct ti_pd *pd);
 u8 lpsc_get_state(struct ti_lpsc *lpsc);