summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Huang <[email protected]>2022-01-25 20:56:33 +0530
committerTom Rini <[email protected]>2022-02-08 09:41:27 -0500
commit55bdc200adbea5528a1c3c10e26ad229905b4c4a (patch)
treebdb4ebe1726b384df8f56bc829e36739464f3042
parente00b1ac8c6301a7fce194f8a0213d8ea7b7006a6 (diff)
clk: clk-k3: Add support for J721S2 SoC
Add support for J721S2 SoC. Signed-off-by: David Huang <[email protected]> Signed-off-by: Aswath Govindraju <[email protected]>
-rw-r--r--drivers/clk/ti/clk-k3.c5
-rw-r--r--include/k3-clk.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/drivers/clk/ti/clk-k3.c b/drivers/clk/ti/clk-k3.c
index e04c57eff25..74beb4d8ebd 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 59c76db86ea..31292b59f20 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);