1. 11 Jan, 2022 18 commits
  2. 10 Jan, 2022 4 commits
    • Rob Herring's avatar
      dt-bindings: net: Add missing properties used in examples · 8650381f
      Rob Herring authored
      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: default avatarRob Herring <robh@kernel.org>
      Link: https://lore.kernel.org/r/20211206174153.2296977-1-robh@kernel.org
      8650381f
    • Rob Herring's avatar
      dt-bindings: net: snps,dwmac: Enable burst length properties for more compatibles · 1d01efaf
      Rob Herring authored
      With 'unevaluatedProperties' support implemented, the properties
      'snps,pbl', 'snps,txpbl', and 'snps,rxpbl' are not allowed in the
      examples for some of the DWMAC versions:
      
      Documentation/devicetree/bindings/net/intel,dwmac-plat.example.dt.yaml: ethernet@3a000000: Unevaluated properties are not allowed ('snps,pbl', 'mdio0' were unexpected)
      Documentation/devicetree/bindings/net/stm32-dwmac.example.dt.yaml: ethernet@5800a000: Unevaluated properties are not allowed ('reg-names', 'snps,pbl' were 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/stm32-dwmac.example.dt.yaml: ethernet@40027000: Unevaluated properties are not allowed ('reg-names', 'snps,pbl' were unexpected)
      Documentation/devicetree/bindings/net/toshiba,visconti-dwmac.example.dt.yaml: ethernet@28000000: Unevaluated properties are not allowed ('snps,txpbl', 'snps,rxpbl', 'mdio0' were unexpected)
      
      This appears to be an oversight, so fix it by allowing the properties
      on the v3.50a, v4.10a, and v4.20a versions of the DWMAC.
      
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
      Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
      Cc: Jose Abreu <joabreu@synopsys.com>
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
      Link: https://lore.kernel.org/r/20211206174147.2296770-1-robh@kernel.org
      1d01efaf
    • Rob Herring's avatar
      dt-bindings: net: mdio: Allow any child node name · ad31ce56
      Rob Herring authored
      An MDIO bus can have devices other than ethernet PHYs on it, so it
      should allow for any node name rather than just 'ethernet-phy'.
      
      Cc: Andrew Lunn <andrew@lunn.ch>
      Cc: Heiner Kallweit <hkallweit1@gmail.com>
      Cc: Russell King <linux@armlinux.org.uk>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: Florian Fainelli <f.fainelli@gmail.com>
      Cc: netdev@vger.kernel.org
      Signed-off-by: default avatarRob Herring <robh@kernel.org>
      Reviewed-by: default avatarThierry Reding <treding@nvidia.com>
      Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
      Link: https://lore.kernel.org/r/20211206174139.2296497-1-robh@kernel.org
      ad31ce56
    • Qin Jian's avatar
  3. 08 Jan, 2022 4 commits
  4. 05 Jan, 2022 14 commits