On 1/26/22 00:26, Aswath Govindraju wrote: > From: David Huang <d-hu...@ti.com> > > Add support for J721S2 SoC. > > Signed-off-by: David Huang <d-hu...@ti.com> > Signed-off-by: Aswath Govindraju <a-govindr...@ti.com>
Reviewed-by: Jaehoon Chung <jh80.ch...@samsung.com> Best Regards, 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 4fe31686bd35..6af5dbb24191 100644 > --- a/drivers/power/domain/ti-power-domain.c > +++ b/drivers/power/domain/ti-power-domain.c > @@ -81,6 +81,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 55c5057db35a..b46b8c3aabc7 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);