From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 672CFC48BD7 for ; Thu, 27 Jun 2019 15:32:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3A5252064A for ; Thu, 27 Jun 2019 15:32:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726659AbfF0PcG (ORCPT ); Thu, 27 Jun 2019 11:32:06 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:54785 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726187AbfF0PcF (ORCPT ); Thu, 27 Jun 2019 11:32:05 -0400 X-Originating-IP: 86.250.200.211 Received: from localhost (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: maxime.ripard@bootlin.com) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 01763C0008; Thu, 27 Jun 2019 15:31:56 +0000 (UTC) From: Maxime Ripard To: Mark Rutland , Rob Herring , Frank Rowand , "David S . Miller" , Chen-Yu Tsai , Maxime Ripard Cc: Maxime Coquelin , Alexandre Torgue , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Maxime Chevallier , =?UTF-8?q?Antoine=20T=C3=A9nart?= , Andrew Lunn , Florian Fainelli , Heiner Kallweit Subject: [PATCH v4 00/13] net: Add generic and Allwinner YAML bindings Date: Thu, 27 Jun 2019 17:31:42 +0200 Message-Id: X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi, This is an attempt at getting the main generic DT bindings for the ethernet (and related) devices, and convert some DT bindings for the Allwinner DTs to YAML as well. This should provide some DT validation coverage. Let me know if you have any questions, Maxime Changes from v3: - Added a cover letter - Dropped the phy-mode deprecation, and the DT changes moving to phy-connection-type - Fixed the mdio example node name - Deprecated the fixed-link array property, in favor of the fixed-link subnode Changes from v2: - Switched to the deprecated keyword to describe deprecated properties - Deprecated phy-mode, phy and phy-handle - Added patches to switch to phy-connection-type and phy-device for Allwinner DTs - Changed the A83t GMAC delays to use multipleOf instead of an enum - Fix the snps,*pbl properties types - Add a generic MDIO YAML schemas Changes from v1: - Move the DWMAC SoC specific bindings to separate documents - Mark snps,reset-gpio (and related) as deprecated and fixed the Allwinner DTs accordingly - Restrict snps,tso to only a couple of compatibles - Use an enum for the compatibles - Add a custom select statement with the compatibles of all the generic compatibles, including the deprecated ones. Remove the deprecated ones from the valid compatible values to issue a warning when used. - Add a patch to MAINTAINERS for the PHY YAML binding - Add missing compatible options for the PHY, and missing phy speeds - Add a custom select clause to make the PHY binding validate all phy nodes, and not just the ones with a compatible - Validate the fixed-link array elements - Removed deprecated properties (phy-mode, phy, phy-device) - Restrict the number of items under link-gpios to 1 Maxime Ripard (13): dt-bindings: net: Add YAML schemas for the generic Ethernet options dt-bindings: net: Add a YAML schemas for the generic PHY options dt-bindings: net: Add a YAML schemas for the generic MDIO options MAINTAINERS: Add Ethernet PHY YAML file dt-bindings: net: phy: The interrupt property is not mandatory dt-bindings: net: sun4i-emac: Convert the binding to a schemas dt-bindings: net: sun4i-mdio: Convert the binding to a schemas dt-bindings: net: stmmac: Convert the binding to a schemas dt-bindings: net: sun7i-gmac: Convert the binding to a schemas dt-bindings: net: sun8i-emac: Convert the binding to a schemas dt-bindings: net: dwmac: Deprecate the PHY reset properties ARM: dts: sunxi: Switch to the generic PHY properties ARM: dts: sunxi: Switch from phy to phy-handle Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml | 55 ++++++++++- Documentation/devicetree/bindings/net/allwinner,sun4i-a10-mdio.yaml | 70 ++++++++++++- Documentation/devicetree/bindings/net/allwinner,sun4i-emac.txt | 19 +--- Documentation/devicetree/bindings/net/allwinner,sun4i-mdio.txt | 27 +----- Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.txt | 27 +----- Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml | 66 ++++++++++++- Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml | 321 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- Documentation/devicetree/bindings/net/dwmac-sun8i.txt | 201 +----------------------------------- Documentation/devicetree/bindings/net/ethernet-controller.yaml | 204 ++++++++++++++++++++++++++++++++++++- Documentation/devicetree/bindings/net/ethernet-phy.yaml | 178 +++++++++++++++++++++++++++++++- Documentation/devicetree/bindings/net/ethernet.txt | 69 +------------ Documentation/devicetree/bindings/net/fixed-link.txt | 55 +---------- Documentation/devicetree/bindings/net/mdio.txt | 38 +------- Documentation/devicetree/bindings/net/mdio.yaml | 51 +++++++++- Documentation/devicetree/bindings/net/phy.txt | 80 +-------------- Documentation/devicetree/bindings/net/snps,dwmac.yaml | 410 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- Documentation/devicetree/bindings/net/stmmac.txt | 179 +------------------------------- MAINTAINERS | 1 +- arch/arm/boot/dts/sun4i-a10-a1000.dts | 2 +- arch/arm/boot/dts/sun4i-a10-ba10-tvbox.dts | 2 +- arch/arm/boot/dts/sun4i-a10-cubieboard.dts | 2 +- arch/arm/boot/dts/sun4i-a10-hackberry.dts | 2 +- arch/arm/boot/dts/sun4i-a10-itead-iteaduino-plus.dts | 2 +- arch/arm/boot/dts/sun4i-a10-jesurun-q5.dts | 2 +- arch/arm/boot/dts/sun4i-a10-marsboard.dts | 2 +- arch/arm/boot/dts/sun4i-a10-olinuxino-lime.dts | 2 +- arch/arm/boot/dts/sun4i-a10-pcduino.dts | 2 +- arch/arm/boot/dts/sun5i-a10s-olinuxino-micro.dts | 2 +- arch/arm/boot/dts/sun5i-a10s-wobo-i5.dts | 2 +- arch/arm/boot/dts/sun6i-a31-colombus.dts | 2 +- arch/arm/boot/dts/sun6i-a31-hummingbird.dts | 8 +- arch/arm/boot/dts/sun6i-a31-i7.dts | 2 +- arch/arm/boot/dts/sun6i-a31-m9.dts | 2 +- arch/arm/boot/dts/sun6i-a31-mele-a1000g-quad.dts | 2 +- arch/arm/boot/dts/sun6i-a31s-cs908.dts | 2 +- arch/arm/boot/dts/sun6i-a31s-sina31s.dts | 2 +- arch/arm/boot/dts/sun6i-a31s-sinovoip-bpi-m2.dts | 8 +- arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts | 2 +- arch/arm/boot/dts/sun7i-a20-bananapi.dts | 2 +- arch/arm/boot/dts/sun7i-a20-bananapro.dts | 2 +- arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 2 +- arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 2 +- arch/arm/boot/dts/sun7i-a20-hummingbird.dts | 11 +-- arch/arm/boot/dts/sun7i-a20-i12-tvbox.dts | 2 +- arch/arm/boot/dts/sun7i-a20-icnova-swac.dts | 2 +- arch/arm/boot/dts/sun7i-a20-itead-ibox.dts | 2 +- arch/arm/boot/dts/sun7i-a20-m3.dts | 2 +- arch/arm/boot/dts/sun7i-a20-olimex-som-evb.dts | 2 +- arch/arm/boot/dts/sun7i-a20-olimex-som204-evb.dts | 10 +- arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts | 2 +- arch/arm/boot/dts/sun7i-a20-olinuxino-lime2.dts | 2 +- arch/arm/boot/dts/sun7i-a20-olinuxino-micro.dts | 2 +- arch/arm/boot/dts/sun7i-a20-orangepi-mini.dts | 2 +- arch/arm/boot/dts/sun7i-a20-orangepi.dts | 2 +- arch/arm/boot/dts/sun7i-a20-pcduino3-nano.dts | 2 +- arch/arm/boot/dts/sun7i-a20-pcduino3.dts | 2 +- arch/arm/boot/dts/sun7i-a20-wits-pro-a20-dkt.dts | 2 +- arch/arm/boot/dts/sun9i-a80-cubieboard4.dts | 2 +- arch/arm/boot/dts/sun9i-a80-optimus.dts | 2 +- 59 files changed, 1416 insertions(+), 746 deletions(-) create mode 100644 Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml create mode 100644 Documentation/devicetree/bindings/net/allwinner,sun4i-a10-mdio.yaml delete mode 100644 Documentation/devicetree/bindings/net/allwinner,sun4i-emac.txt delete mode 100644 Documentation/devicetree/bindings/net/allwinner,sun4i-mdio.txt delete mode 100644 Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.txt create mode 100644 Documentation/devicetree/bindings/net/allwinner,sun7i-a20-gmac.yaml create mode 100644 Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml delete mode 100644 Documentation/devicetree/bindings/net/dwmac-sun8i.txt create mode 100644 Documentation/devicetree/bindings/net/ethernet-controller.yaml create mode 100644 Documentation/devicetree/bindings/net/ethernet-phy.yaml create mode 100644 Documentation/devicetree/bindings/net/mdio.yaml create mode 100644 Documentation/devicetree/bindings/net/snps,dwmac.yaml base-commit: 8087b004bd099367c29d3a163950bc4b162ebc3c -- git-series 0.9.1