aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Huang2022-01-25 20:56:34 +0530
committerTom Rini2022-02-08 09:41:27 -0500
commit98551f8791f919aebcf6d32318b5c074e06c830c (patch)
tree18a449c289b48f13639928b2207b276a09a8cbe9
parent55bdc200adbea5528a1c3c10e26ad229905b4c4a (diff)
power: domain: ti: Add support for J721S2 SoC
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>
-rw-r--r--drivers/power/domain/ti-power-domain.c5
-rw-r--r--include/k3-dev.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/power/domain/ti-power-domain.c b/drivers/power/domain/ti-power-domain.c
index b45e9b82453..a7dadf2eea7 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 55c5057db35..b46b8c3aabc 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);