2024-01-31 02:28:07

by Christian Marangi

[permalink] [raw]
Subject: [PATCH] arm64: dts: qcom: ipq8074: add clock-frequency to MDIO node

Add clock-frequency to MDIO node to set the MDC rate to 6.25Mhz instead
of using the default value of 390KHz from MDIO default divider.

Signed-off-by: Christian Marangi <[email protected]>
---
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
index 2f275c84e566..08ddfeece043 100644
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
@@ -264,6 +264,8 @@ mdio: mdio@90000 {
clocks = <&gcc GCC_MDIO_AHB_CLK>;
clock-names = "gcc_mdio_ahb_clk";

+ clock-frequency = <6250000>;
+
status = "disabled";
};

--
2.43.0



2024-02-01 19:27:48

by Konrad Dybcio

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: ipq8074: add clock-frequency to MDIO node

On 31.01.2024 03:27, Christian Marangi wrote:
> Add clock-frequency to MDIO node to set the MDC rate to 6.25Mhz instead
> of using the default value of 390KHz from MDIO default divider.
>
> Signed-off-by: Christian Marangi <[email protected]>
> ---

Reviewed-by: Konrad Dybcio <[email protected]>

Konrad

2024-02-07 04:47:54

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: ipq8074: add clock-frequency to MDIO node


On Wed, 31 Jan 2024 03:27:29 +0100, Christian Marangi wrote:
> Add clock-frequency to MDIO node to set the MDC rate to 6.25Mhz instead
> of using the default value of 390KHz from MDIO default divider.
>
>

Applied, thanks!

[1/1] arm64: dts: qcom: ipq8074: add clock-frequency to MDIO node
commit: cb77d0ad460e2c97a00c02ed78afdf45476e5e5f

Best regards,
--
Bjorn Andersson <[email protected]>