]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
net: stmmac: imx: add i.MX91 support
authorJoy Zou <joy.zou@nxp.com>
Mon, 1 Sep 2025 10:36:32 +0000 (18:36 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Sep 2025 23:36:47 +0000 (16:36 -0700)
Add i.MX91 specific settings for EQoS.

Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Joy Zou <joy.zou@nxp.com>
Link: https://patch.msgid.link/20250901103632.3409896-7-joy.zou@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-imx.c

index c2d9e89f0063b589315efa2c3a340794d29033d1..80200a6aa0cb5d559b976ab53513fa79fc7a3026 100644 (file)
@@ -301,6 +301,7 @@ imx_dwmac_parse_dt(struct imx_priv_data *dwmac, struct device *dev)
        dwmac->clk_mem = NULL;
 
        if (of_machine_is_compatible("fsl,imx8dxl") ||
+           of_machine_is_compatible("fsl,imx91") ||
            of_machine_is_compatible("fsl,imx93")) {
                dwmac->clk_mem = devm_clk_get(dev, "mem");
                if (IS_ERR(dwmac->clk_mem)) {
@@ -310,9 +311,10 @@ imx_dwmac_parse_dt(struct imx_priv_data *dwmac, struct device *dev)
        }
 
        if (of_machine_is_compatible("fsl,imx8mp") ||
+           of_machine_is_compatible("fsl,imx91") ||
            of_machine_is_compatible("fsl,imx93")) {
                /* Binding doc describes the propety:
-                * is required by i.MX8MP, i.MX93.
+                * is required by i.MX8MP, i.MX91, i.MX93.
                 * is optinoal for i.MX8DXL.
                 */
                dwmac->intf_regmap =