[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Yt15J6fO5j9jxFxp@lunn.ch>
Date: Sun, 24 Jul 2022 18:53:59 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Radhey Shyam Pandey <radhey.shyam.pandey@....com>
Cc: michal.simek@...inx.com, nicolas.ferre@...rochip.com,
claudiu.beznea@...rochip.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
gregkh@...uxfoundation.org, ronak.jain@...inx.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, git@...inx.com, git@....com
Subject: Re: [PATCH net-next 2/2] net: macb: Add zynqmp SGMII dynamic
configuration support
> + ret = of_property_read_u32_array(pdev->dev.of_node, "power-domains",
> + pm_info, ARRAY_SIZE(pm_info));
> + if (ret < 0) {
> + dev_err(&pdev->dev, "Failed to read power management information\n");
> + return ret;
> + }
> + ret = zynqmp_pm_set_gem_config(pm_info[1], GEM_CONFIG_FIXED, 0);
> + if (ret < 0)
> + return ret;
> +
Documentation/devicetree/bindings/net/cdns,macb.yaml says:
power-domains:
maxItems: 1
Yet you are using pm_info[1]?
Andrew
Powered by blists - more mailing lists