summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net
diff options
context:
space:
mode:
authorRobert Marko <robimarko@gmail.com>2022-11-14 20:47:30 +0100
committerJakub Kicinski <kuba@kernel.org>2022-11-18 06:14:36 +0100
commitcbe5f7c0fbcd3184fe9a5c1880799e2b23ec9c6d (patch)
treee2cfc0f7d4b2a484c8ce3301ae255afbf153a607 /Documentation/devicetree/bindings/net
parentMerge branch 'net-dsa-use-more-appropriate-net_name_-constants-for-user-ports' (diff)
downloadlinux-cbe5f7c0fbcd3184fe9a5c1880799e2b23ec9c6d.tar.xz
linux-cbe5f7c0fbcd3184fe9a5c1880799e2b23ec9c6d.zip
dt-bindings: net: ipq4019-mdio: document IPQ6018 compatible
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> Link: https://lore.kernel.org/r/20221114194734.3287854-1-robimarko@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r--Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml12
1 files changed, 9 insertions, 3 deletions
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