summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2020-02-14 21:44:08 +0200
committerRob Herring <robh@kernel.org>2020-02-19 19:03:44 -0600
commit867c1859590f3bbc13d9cfb46c90c8202769d0e5 (patch)
treea08876a1b9abce106f5dafe22fc97640c71b54ee /Documentation
parent3044d9891bdb98ebae5c9e6fb1bd7f007bf7cad6 (diff)
dt-bindings: net: mdio: remove compatible string from example
Remove vendor specific compatible string from example, otherwise DT YAML schemas validation may trigger warnings specific to TI ti,davinci_mdio and not to the generic MDIO example. For example, the "bus_freq" is required for davinci_mdio, but not required for generic mdio example. As result following warning will be produced: mdio.example.dt.yaml: mdio@5c030000: 'bus_freq' is a required property Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/net/mdio.yaml1
1 files changed, 0 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/net/mdio.yaml b/Documentation/devicetree/bindings/net/mdio.yaml
index 5d08d2ffd4eb..50c3397a82bc 100644
--- a/Documentation/devicetree/bindings/net/mdio.yaml
+++ b/Documentation/devicetree/bindings/net/mdio.yaml
@@ -56,7 +56,6 @@ patternProperties:
examples:
- |
davinci_mdio: mdio@5c030000 {
- compatible = "ti,davinci_mdio";
reg = <0x5c030000 0x1000>;
#address-cells = <1>;
#size-cells = <0>;