diff mbox series

[v2,1/5] dt-bindings: net: ipq4019-mdio: document IPQ6018 compatible

Message ID 20221114194734.3287854-1-robimarko@gmail.com (mailing list archive)
State Not Applicable
Headers show
Series [v2,1/5] dt-bindings: net: ipq4019-mdio: document IPQ6018 compatible | expand

Commit Message

Robert Marko Nov. 14, 2022, 7:47 p.m. UTC
Document IPQ6018 compatible that is already being used in the DTS along
with the fallback IPQ4019 compatible as driver itself only gets probed
on IPQ4019 and IPQ5018 compatibles.

This is also required in order to specify which platform require clock to
be defined and validate it in schema.

Signed-off-by: Robert Marko <robimarko@gmail.com>
---
Changes in v2:
* Drop items from IPQ4019 and IPQ5018 compatible enum
---
 .../devicetree/bindings/net/qcom,ipq4019-mdio.yaml   | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Comments

Krzysztof Kozlowski Nov. 15, 2022, 8:14 a.m. UTC | #1
On 14/11/2022 20:47, Robert Marko wrote:
> Document IPQ6018 compatible that is already being used in the DTS along
> with the fallback IPQ4019 compatible as driver itself only gets probed
> on IPQ4019 and IPQ5018 compatibles.
> 
> This is also required in order to specify which platform require clock to
> be defined and validate it in schema.
> 
> Signed-off-by: Robert Marko <robimarko@gmail.com>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof
patchwork-bot+netdevbpf@kernel.org Nov. 18, 2022, 5:20 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 14 Nov 2022 20:47:30 +0100 you wrote:
> Document IPQ6018 compatible that is already being used in the DTS along
> with the fallback IPQ4019 compatible as driver itself only gets probed
> on IPQ4019 and IPQ5018 compatibles.
> 
> This is also required in order to specify which platform require clock to
> be defined and validate it in schema.
> 
> [...]

Here is the summary with links:
  - [v2,1/5] dt-bindings: net: ipq4019-mdio: document IPQ6018 compatible
    https://git.kernel.org/netdev/net-next/c/cbe5f7c0fbcd
  - [v2,2/5] dt-bindings: net: ipq4019-mdio: add IPQ8074 compatible
    https://git.kernel.org/netdev/net-next/c/05c1cbb96f3d
  - [v2,3/5] dt-bindings: net: ipq4019-mdio: require and validate clocks
    https://git.kernel.org/netdev/net-next/c/e50c50367d98
  - [v2,4/5] dt-bindings: net: ipq4019-mdio: document required clock-names
    https://git.kernel.org/netdev/net-next/c/4a8c14384fa9
  - [v2,5/5] arm64: dts: qcom: ipq8074: add SoC specific compatible to MDIO
    (no matching commit)

You are awesome, thank you!
Bjorn Andersson Dec. 28, 2022, 2:41 a.m. UTC | #3
On Mon, 14 Nov 2022 20:47:30 +0100, Robert Marko wrote:
> Document IPQ6018 compatible that is already being used in the DTS along
> with the fallback IPQ4019 compatible as driver itself only gets probed
> on IPQ4019 and IPQ5018 compatibles.
> 
> This is also required in order to specify which platform require clock to
> be defined and validate it in schema.
> 
> [...]

Applied, thanks!

[5/5] arm64: dts: qcom: ipq8074: add SoC specific compatible to MDIO
      commit: 36e830a5656d6c22110c5dcffb611fc69a57a269

Best regards,
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
index ad8b2b41c140..1ba8de982bd1 100644
--- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
+++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml
@@ -14,9 +14,15 @@  allOf:
 
 properties:
   compatible:
-    enum:
-      - qcom,ipq4019-mdio
-      - qcom,ipq5018-mdio
+    oneOf:
+      - enum:
+          - qcom,ipq4019-mdio
+          - qcom,ipq5018-mdio
+
+      - items:
+          - enum:
+              - qcom,ipq6018-mdio
+          - const: qcom,ipq4019-mdio
 
   "#address-cells":
     const: 1