Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: net: renesas, ether: Improve schema validation

- Remove pinctrl consumer properties, as they are handled by core
dt-schema,
- Document missing properties,
- Document missing PHY child node,
- Add "additionalProperties: false".

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Sergei Shtylyov <sergei.shtylyov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Geert Uytterhoeven and committed by
David S. Miller
41506bff 272502fc

+15 -7
+15 -7
Documentation/devicetree/bindings/net/renesas,ether.yaml
··· 59 59 clocks: 60 60 maxItems: 1 61 61 62 - pinctrl-0: true 62 + power-domains: 63 + maxItems: 1 63 64 64 - pinctrl-names: true 65 + resets: 66 + maxItems: 1 67 + 68 + phy-mode: true 69 + 70 + phy-handle: true 65 71 66 72 renesas,no-ether-link: 67 73 type: boolean ··· 80 74 specify when the Ether LINK signal is active-low instead of normal 81 75 active-high 82 76 77 + patternProperties: 78 + "^ethernet-phy@[0-9a-f]$": 79 + type: object 80 + $ref: ethernet-phy.yaml# 81 + 83 82 required: 84 83 - compatible 85 84 - reg ··· 94 83 - '#address-cells' 95 84 - '#size-cells' 96 85 - clocks 97 - - pinctrl-0 86 + 87 + additionalProperties: false 98 88 99 89 examples: 100 90 # Lager board ··· 111 99 clocks = <&mstp8_clks R8A7790_CLK_ETHER>; 112 100 phy-mode = "rmii"; 113 101 phy-handle = <&phy1>; 114 - pinctrl-0 = <&ether_pins>; 115 - pinctrl-names = "default"; 116 102 renesas,ether-link-active-low; 117 103 #address-cells = <1>; 118 104 #size-cells = <0>; ··· 119 109 reg = <1>; 120 110 interrupt-parent = <&irqc0>; 121 111 interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 122 - pinctrl-0 = <&phy1_pins>; 123 - pinctrl-names = "default"; 124 112 }; 125 113 };