From 98551f8791f919aebcf6d32318b5c074e06c830c Mon Sep 17 00:00:00 2001 From: David Huang Date: Tue, 25 Jan 2022 20:56:34 +0530 Subject: [PATCH] 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 --- drivers/power/domain/ti-power-domain.c | 5 +++++ include/k3-dev.h | 1 + 2 files changed, 6 insertions(+) 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);