dt-bindings: net: mdio: remove compatible string from example
Subsystems (4)
PATCH v2 1/1 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
---
Remove compatible string from example instead of changing it.
v1: https://patchwork.ozlabs.org/patch/1201674/
Documentation/devicetree/bindings/net/mdio.yaml | 1 - 1 file changed, 1 deletion(-)
Documentation/devicetree/bindings/net/mdio.yaml +0 -1
@@ -56,7 +56,6 @@ patternProperties: examples: - | davinci_mdio: mdio@5c030000 { - compatible = "ti,davinci_mdio"; reg = <0x5c030000 0x1000>; #address-cells = <1>; #size-cells = <0>;
Signature · 1 line
2.17.1
Quoted 8 lines · Grygorii Strashko
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 fordavinci_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
Quoted 9 lines
Signed-off-by Grygorii Strashko <[email protected]>---
Remove compatible string from example instead of changing it.v1: https://patchwork.ozlabs.org/patch/1201674/
Documentation/devicetree/bindings/net/mdio.yaml | 1 - 1 file changed, 1 deletion(-)
Applied, thanks.
Rob