diff mbox series

[06/12] power: domain: ti: Add support for J784S4 SoC

Message ID 20221119185933.16194-7-hnagalla@ti.com
State Changes Requested
Delegated to: Tom Rini
Headers show
Series Introduce initial TI's J784S4 support | expand

Commit Message

Hari Nagalla Nov. 19, 2022, 6:59 p.m. UTC
Add support for J784S4 SoC.

Signed-off-by: Hari Nagalla <hnagalla@ti.com>
Signed-off-by: Apurva Nandan <a-nandan@ti.com>
---
 drivers/power/domain/ti-power-domain.c | 6 ++++++
 include/k3-dev.h                       | 1 +
 2 files changed, 7 insertions(+)
diff mbox series

Patch

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);