From: David Huang Date: Tue, 25 Jan 2022 15:26:34 +0000 (+0530) Subject: power: domain: ti: Add support for J721S2 SoC X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=98551f8791f919aebcf6d32318b5c074e06c830c;p=u-boot.git power: domain: ti: Add support for J721S2 SoC Add support for J721S2 SoC. Signed-off-by: David Huang Signed-off-by: Aswath Govindraju Reviewed-by: Jaehoon Chung --- diff --git a/drivers/power/domain/ti-power-domain.c b/drivers/power/domain/ti-power-domain.c index b45e9b8245..a7dadf2eea 100644 --- a/drivers/power/domain/ti-power-domain.c +++ b/drivers/power/domain/ti-power-domain.c @@ -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 */ } }; diff --git a/include/k3-dev.h b/include/k3-dev.h index 55c5057db3..b46b8c3aab 100644 --- a/include/k3-dev.h +++ b/include/k3-dev.h @@ -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);