[PATCH v3 07/20] clk: clk-k3: Add support for J721S2 SoC

Aswath Govindraju a-govindraju at ti.com
Tue Jan 18 08:27:54 CET 2022


From: David Huang <d-huang at ti.com>

Add support for J721S2 SoC.

Signed-off-by: David Huang <d-huang at ti.com>
Signed-off-by: Aswath Govindraju <a-govindraju at ti.com>
---
 drivers/clk/ti/clk-k3.c | 5 +++++
 include/k3-clk.h        | 1 +
 2 files changed, 6 insertions(+)

diff --git a/drivers/clk/ti/clk-k3.c b/drivers/clk/ti/clk-k3.c
index e04c57eff252..74beb4d8ebda 100644
--- a/drivers/clk/ti/clk-k3.c
+++ b/drivers/clk/ti/clk-k3.c
@@ -68,6 +68,11 @@ static const struct soc_attr ti_k3_soc_clk_data[] = {
 		.family = "J7200",
 		.data = &j7200_clk_platdata,
 	},
+#elif CONFIG_SOC_K3_J721S2
+	{
+		.family = "J721S2",
+		.data = &j721s2_clk_platdata,
+	},
 #endif
 	{ /* sentinel */ }
 };
diff --git a/include/k3-clk.h b/include/k3-clk.h
index 59c76db86ead..31292b59f20c 100644
--- a/include/k3-clk.h
+++ b/include/k3-clk.h
@@ -173,6 +173,7 @@ struct ti_k3_clk_platdata {
 
 extern const struct ti_k3_clk_platdata j721e_clk_platdata;
 extern const struct ti_k3_clk_platdata j7200_clk_platdata;
+extern const struct ti_k3_clk_platdata j721s2_clk_platdata;
 
 struct clk *clk_register_ti_pll(const char *name, const char *parent_name,
 				void __iomem *reg);
-- 
2.17.1



More information about the U-Boot mailing list