Add support for J784S4 SoC. Signed-off-by: Hari Nagalla <hnaga...@ti.com> Signed-off-by: Apurva Nandan <a-nan...@ti.com> --- drivers/power/domain/ti-power-domain.c | 6 ++++++ include/k3-dev.h | 1 + 2 files changed, 7 insertions(+)
diff --git a/drivers/power/domain/ti-power-domain.c b/drivers/power/domain/ti-power-domain.c index a7f64d04f5..f8bcee4474 100644 --- a/drivers/power/domain/ti-power-domain.c +++ b/drivers/power/domain/ti-power-domain.c @@ -92,6 +92,12 @@ static const struct soc_attr ti_k3_soc_pd_data[] = { .family = "AM62X", .data = &am62x_pd_platdata, }, +#endif +#ifdef CONFIG_SOC_K3_J784S4 + { + .family = "J784S4", + .data = &j784s4_pd_platdata, + }, #endif { /* sentinel */ } }; diff --git a/include/k3-dev.h b/include/k3-dev.h index 87e873b9ce..4c9d2cdfd7 100644 --- a/include/k3-dev.h +++ b/include/k3-dev.h @@ -79,6 +79,7 @@ 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; extern const struct ti_k3_pd_platdata am62x_pd_platdata; +extern const struct ti_k3_pd_platdata j784s4_pd_platdata; u8 ti_pd_state(struct ti_pd *pd); u8 lpsc_get_state(struct ti_lpsc *lpsc); -- 2.17.1