summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNora Schiffer <nora.schiffer@ew.tq-group.com>2026-04-07 13:42:36 +0200
committerVinod Koul <vkoul@kernel.org>2026-05-10 15:10:15 +0530
commitd39cf00e7daea64889dda9abb0b7e6da04a69d04 (patch)
tree2123a71af0d8592421e1c39eb6d70b0ee54dfa87
parent61849b7afb579630fc45dbeaf5449b42b33cc70e (diff)
phy: ti: gmii-sel: add support for J722S SoC family
The J722S gmii-sel is mostly identical to the AM64's, but additionally supports SGMII. Signed-off-by: Nora Schiffer <nora.schiffer@ew.tq-group.com> Link: https://patch.msgid.link/86488589fc055f61ee5341f9e268184f04febe71.1775559102.git.nora.schiffer@ew.tq-group.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--drivers/phy/ti/phy-gmii-sel.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/phy/ti/phy-gmii-sel.c b/drivers/phy/ti/phy-gmii-sel.c
index 6213c2b6005a..c2865a6b1d7f 100644
--- a/drivers/phy/ti/phy-gmii-sel.c
+++ b/drivers/phy/ti/phy-gmii-sel.c
@@ -252,6 +252,15 @@ struct phy_gmii_sel_soc_data phy_gmii_sel_soc_am654 = {
};
static const
+struct phy_gmii_sel_soc_data phy_gmii_sel_soc_j722s = {
+ .use_of_data = true,
+ .features = BIT(PHY_GMII_SEL_RGMII_ID_MODE) |
+ BIT(PHY_GMII_SEL_FIXED_TX_DELAY),
+ .regfields = phy_gmii_sel_fields_am654,
+ .extra_modes = BIT(PHY_INTERFACE_MODE_SGMII),
+};
+
+static const
struct phy_gmii_sel_soc_data phy_gmii_sel_cpsw5g_soc_j7200 = {
.use_of_data = true,
.features = BIT(PHY_GMII_SEL_RGMII_ID_MODE) |
@@ -308,6 +317,10 @@ static const struct of_device_id phy_gmii_sel_id_table[] = {
.data = &phy_gmii_sel_soc_am654,
},
{
+ .compatible = "ti,j722s-phy-gmii-sel",
+ .data = &phy_gmii_sel_soc_j722s,
+ },
+ {
.compatible = "ti,j7200-cpsw5g-phy-gmii-sel",
.data = &phy_gmii_sel_cpsw5g_soc_j7200,
},