[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YMpVhxxPxB/HKOn2@lunn.ch>
Date: Wed, 16 Jun 2021 21:48:23 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Marcin Wojtas <mw@...ihalf.com>
Cc: linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
davem@...emloft.net, kuba@...nel.org, linux@...linux.org.uk,
jaz@...ihalf.com, gjb@...ihalf.com, upstream@...ihalf.com,
Samer.El-Haj-Mahmoud@....com, jon@...id-run.com, tn@...ihalf.com,
rjw@...ysocki.net, lenb@...nel.org,
Andy Shevchenko <andy.shevchenko@...il.com>
Subject: Re: [net-next: PATCH v2 4/7] net: mvmdio: simplify clock handling
> + dev->clks[0].id = "core";
> + dev->clks[1].id = "mg";
> + dev->clks[2].id = "mg_core";
> + dev->clks[3].id = "axi";
> + ret = devm_clk_bulk_get_optional(&pdev->dev, MVMDIO_CLOCK_COUNT,
> + dev->clks);
Kirkwood:
mdio: mdio-bus@...04 {
compatible = "marvell,orion-mdio";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x72004 0x84>;
interrupts = <46>;
clocks = <&gate_clk 0>;
status = "disabled";
Does this work? There is no clock-names in DT.
Andrew
Powered by blists - more mailing lists