Message ID | 20231204100811.2708884-2-tobias@waldekranz.com (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: mvmdio: Performance related improvements | expand |
On Mon, Dec 04, 2023 at 11:08:09AM +0100, Tobias Waldekranz wrote: > This will let the driver figure out the rate of the core clk, such > that custom MDC frequencies can be supported. > > Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
On Mon, 4 Dec 2023 11:08:09 +0100 Tobias Waldekranz wrote: > This will let the driver figure out the rate of the core clk, such > that custom MDC frequencies can be supported. Leaving this one to Gregory.
diff --git a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi b/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi index 4ec1aae0a3a9..f268017498a9 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp11x.dtsi @@ -180,6 +180,8 @@ CP11X_LABEL(mdio): mdio@12a200 { reg = <0x12a200 0x10>; clocks = <&CP11X_LABEL(clk) 1 9>, <&CP11X_LABEL(clk) 1 5>, <&CP11X_LABEL(clk) 1 6>, <&CP11X_LABEL(clk) 1 18>; + clock-names = "gop_clk", "mg_clk", + "mg_core_clk", "axi_clk"; status = "disabled"; }; @@ -190,6 +192,8 @@ CP11X_LABEL(xmdio): mdio@12a600 { reg = <0x12a600 0x10>; clocks = <&CP11X_LABEL(clk) 1 5>, <&CP11X_LABEL(clk) 1 6>, <&CP11X_LABEL(clk) 1 18>; + clock-names = "mg_clk", + "mg_core_clk", "axi_clk"; status = "disabled"; };
This will let the driver figure out the rate of the core clk, such that custom MDC frequencies can be supported. Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com> --- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 4 ++++ 1 file changed, 4 insertions(+)