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

dt-bindings: net: Add missing properties used in examples

With 'unevaluatedProperties' support implemented, the following warnings
are generated in the net bindings:

Documentation/devicetree/bindings/net/qca,ar71xx.example.dt.yaml: ethernet@19000000: Unevaluated properties are not allowed ('qca,ethcfg' was unexpected)
Documentation/devicetree/bindings/net/stm32-dwmac.example.dt.yaml: ethernet@40028000: Unevaluated properties are not allowed ('reg-names', 'snps,pbl' were unexpected)
Documentation/devicetree/bindings/net/ti,cpsw-switch.example.dt.yaml: mdio@1000: Unevaluated properties are not allowed ('clocks', 'clock-names' were unexpected)
Documentation/devicetree/bindings/net/ti,k3-am654-cpsw-nuss.example.dt.yaml: mdio@f00: Unevaluated properties are not allowed ('clocks', 'clock-names' were unexpected)

Add the missing properties/nodes as necessary.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: "Andreas Färber" <afaerber@suse.de>
Cc: Manivannan Sadhasivam <mani@kernel.org>
Cc: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
Cc: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Cc: "G. Jaya Kumaran" <vineetha.g.jaya.kumaran@intel.com>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: Christophe Roullier <christophe.roullier@foss.st.com>
Cc: Grygorii Strashko <grygorii.strashko@ti.com>
Cc: netdev@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-actions@lists.infradead.org
Cc: linux-stm32@st-md-mailman.stormreply.com
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20211206174153.2296977-1-robh@kernel.org

+13 -1
-1
Documentation/devicetree/bindings/net/qca,ar71xx.yaml
··· 85 85 reset-names = "mac", "mdio"; 86 86 clocks = <&pll 1>, <&pll 2>; 87 87 clock-names = "eth", "mdio"; 88 - qca,ethcfg = <&ethcfg>; 89 88 phy-mode = "mii"; 90 89 phy-handle = <&phy_port4>; 91 90 };
+6
Documentation/devicetree/bindings/net/stm32-dwmac.yaml
··· 44 44 - st,stm32-dwmac 45 45 - const: snps,dwmac-3.50a 46 46 47 + reg: true 48 + 49 + reg-names: 50 + items: 51 + - const: stmmaceth 52 + 47 53 clocks: 48 54 minItems: 3 49 55 items:
+7
Documentation/devicetree/bindings/net/ti,davinci-mdio.yaml
··· 37 37 maximum: 2500000 38 38 description: MDIO Bus frequency 39 39 40 + clocks: 41 + maxItems: 1 42 + 43 + clock-names: 44 + items: 45 + - const: fck 46 + 40 47 ti,hwmods: 41 48 description: TI hwmod name 42 49 deprecated: true