Skip to contentSkip to conversation

dt-bindings: net: ipq4019-mdio: add IPQ9574 compatible

PATCH Applied Alexandru Gagniuc 3 participants 4 messages May 7, 2024 – May 28, 2024

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 dt-bindings: net: ipq4019-mdio: add IPQ9574 compatible

Add a compatible property specific to IPQ9574. This should be used along with the IPQ4019 compatible. This second compatible serves the same purpose as the ipq{5,6,8} compatibles. This is to indicate that the clocks properties are required.

---
 Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml +2 -0
index 0029e197a825..a94480e819ac 100644
@@ -20,6 +20,7 @@ properties:
           - enum:
               - qcom,ipq6018-mdio
               - qcom,ipq8074-mdio
+              - qcom,ipq9574-mdio
           - const: qcom,ipq4019-mdio
 
   "#address-cells":
@@ -76,6 +77,7 @@ allOf:
               - qcom,ipq5018-mdio
               - qcom,ipq6018-mdio
               - qcom,ipq8074-mdio
+              - qcom,ipq9574-mdio
     then:
       required:
         - clocks
Signature · 1 line
2.40.1
#1 lore raw

PATCH v2 2/2 arm64: dts: qcom: ipq9574: add MDIO bus

The IPQ95xx uses an IPQ4019 compatible MDIO controller that is already supported. Add a DT node to expose it.

---
changes since v1:
- pad "reg" address to eight digits with leading zeroes

 arch/arm64/boot/dts/qcom/ipq9574.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)
arch/arm64/boot/dts/qcom/ipq9574.dtsi +10 -0
index 7f2e5cbf3bbb..ded02bc39275 100644
@@ -232,6 +232,16 @@ rng: rng@e3000 {
 			clock-names = "core";
 		};
 
+		mdio: mdio@90000 {
+			compatible =  "qcom,ipq9574-mdio", "qcom,ipq4019-mdio";
+			reg = <0x00090000 0x64>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			clocks = <&gcc GCC_MDIO_AHB_CLK>;
+			clock-names = "gcc_mdio_ahb_clk";
+			status = "disabled";
+		};
+
 		qfprom: efuse@a4000 {
 			compatible = "qcom,ipq9574-qfprom", "qcom,qfprom";
 			reg = <0x000a4000 0x5a1>;

--
2.40.1

#2 lore raw
In reply to Alexandru Gagniuc
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Mon, 6 May 2024 21:47:57 -0500 you wrote:

Add a compatible property specific to IPQ9574. This should be used along with the IPQ4019 compatible. This second compatible serves the same purpose as the ipq{5,6,8} compatibles. This is to indicate that the clocks properties are required.

[...]

Here is the summary with links:
- [v2,1/2] dt-bindings: net: ipq4019-mdio: add IPQ9574 compatible

    https://git.kernel.org/netdev/net-next/c/3a2a192b0ef1

- [v2,2/2] arm64: dts: qcom: ipq9574: add MDIO bus (no matching commit)

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
maintainer Applied
#3 lore raw

Re: (subset) [PATCH v2 1/2] dt-bindings: net: ipq4019-mdio: add IPQ9574 compatible

In reply to Alexandru Gagniuc
Quoted 6 lines · Alexandru Gagniuc

Add a compatible property specific to IPQ9574. This should be used along with the IPQ4019 compatible. This second compatible serves the same purpose as the ipq{5,6,8} compatibles. This is to indicate that the clocks properties are required.

Applied, thanks!

[2/2] arm64: dts: qcom: ipq9574: add MDIO bus

      commit: e60ac570137b42ef61a01a6b26133a8e2d7e8d4b

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>