Skip to content

Commit

Permalink
dt-bindings: net: mdio: remove compatible string from example
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Rob Herring <[email protected]>
  • Loading branch information
grygoriyS authored and robherring committed Feb 20, 2020
1 parent 3044d98 commit 867c185
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Documentation/devicetree/bindings/net/mdio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ patternProperties:
examples:
- |
davinci_mdio: mdio@5c030000 {
compatible = "ti,davinci_mdio";
reg = <0x5c030000 0x1000>;
#address-cells = <1>;
#size-cells = <0>;
Expand Down

0 comments on commit 867c185

Please sign in to comment.