diff options
Diffstat (limited to 'drivers/power/domain/ti-power-domain.c')
-rw-r--r-- | drivers/power/domain/ti-power-domain.c | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/drivers/power/domain/ti-power-domain.c b/drivers/power/domain/ti-power-domain.c index 8996c40ddc0..5e7a4c5648d 100644 --- a/drivers/power/domain/ti-power-domain.c +++ b/drivers/power/domain/ti-power-domain.c @@ -7,7 +7,6 @@ */ #include <asm/io.h> -#include <common.h> #include <dm.h> #include <errno.h> #include <power-domain-uclass.h> @@ -72,6 +71,24 @@ static void lpsc_write(u32 val, struct ti_lpsc *lpsc, u32 reg) } static const struct soc_attr ti_k3_soc_pd_data[] = { +#if IS_ENABLED(CONFIG_SOC_K3_AM625) + { + .family = "AM62X", + .data = &am62x_pd_platdata, + }, +#endif +#if IS_ENABLED(CONFIG_SOC_K3_AM62A7) + { + .family = "AM62AX", + .data = &am62ax_pd_platdata, + }, +#endif +#if IS_ENABLED(CONFIG_SOC_K3_AM62P5) + { + .family = "AM62PX", + .data = &am62px_pd_platdata, + }, +#endif #if IS_ENABLED(CONFIG_SOC_K3_J721E) { .family = "J721E", @@ -88,16 +105,10 @@ static const struct soc_attr ti_k3_soc_pd_data[] = { .data = &j721s2_pd_platdata, }, #endif -#if IS_ENABLED(CONFIG_SOC_K3_AM625) - { - .family = "AM62X", - .data = &am62x_pd_platdata, - }, -#endif -#if IS_ENABLED(CONFIG_SOC_K3_AM62A7) +#if IS_ENABLED(CONFIG_SOC_K3_J722S) { - .family = "AM62AX", - .data = &am62ax_pd_platdata, + .family = "J722S", + .data = &j722s_pd_platdata, }, #endif #if IS_ENABLED(CONFIG_SOC_K3_J784S4) @@ -106,12 +117,6 @@ static const struct soc_attr ti_k3_soc_pd_data[] = { .data = &j784s4_pd_platdata, }, #endif -#if IS_ENABLED(CONFIG_SOC_K3_AM62P5) - { - .family = "AM62PX", - .data = &am62px_pd_platdata, - }, -#endif { /* sentinel */ } }; |