Re: [net-next: PATCH v2 4/7] net: mvmdio: simplify clock handling
From: Andrew Lunn
Date: Wed Jun 16 2021 - 15:48:28 EST
> + 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@72004 {
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