aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayesh Choudhary <j-choudhary@ti.com>2024-06-12 14:41:14 +0530
committerTom Rini <trini@konsulko.com>2024-06-19 12:07:43 -0600
commitbda4be0988eee6fa5374510b74d07a3236829a7c (patch)
tree4e0714143396e0afb842d35872a84932992052fc
parent1538d86ad73db8688eac3e15a31bf94167217586 (diff)
downloadu-boot-bda4be0988eee6fa5374510b74d07a3236829a7c.zip
u-boot-bda4be0988eee6fa5374510b74d07a3236829a7c.tar.gz
u-boot-bda4be0988eee6fa5374510b74d07a3236829a7c.tar.bz2
power: domain: ti: Fix the order for platform data entries
Add the power domain platform data entries in alphabetical order. Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com> Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
-rw-r--r--drivers/power/domain/ti-power-domain.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/drivers/power/domain/ti-power-domain.c b/drivers/power/domain/ti-power-domain.c
index b059dd3..362fae8 100644
--- a/drivers/power/domain/ti-power-domain.c
+++ b/drivers/power/domain/ti-power-domain.c
@@ -71,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",
@@ -87,30 +105,12 @@ 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)
- {
- .family = "AM62AX",
- .data = &am62ax_pd_platdata,
- },
-#endif
#if IS_ENABLED(CONFIG_SOC_K3_J784S4)
{
.family = "J784S4",
.data = &j784s4_pd_platdata,
},
#endif
-#if IS_ENABLED(CONFIG_SOC_K3_AM62P5)
- {
- .family = "AM62PX",
- .data = &am62px_pd_platdata,
- },
-#endif
{ /* sentinel */ }
};