From: Maxime Ripard <maxime.ripard@bootlin.com>
To: Mark Rutland <mark.rutland@arm.com>,
Rob Herring <robh+dt@kernel.org>,
Frank Rowand <frowand.list@gmail.com>,
"David S . Miller" <davem@davemloft.net>,
Chen-Yu Tsai <wens@csie.org>,
Maxime Ripard <maxime.ripard@bootlin.com>
Cc: "Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
"Alexandre Torgue" <alexandre.torgue@st.com>,
netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
devicetree@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com,
"Maxime Chevallier" <maxime.chevallier@bootlin.com>,
"Antoine Ténart" <antoine.tenart@bootlin.com>,
"Andrew Lunn" <andrew@lunn.ch>,
"Florian Fainelli" <f.fainelli@gmail.com>,
"Heiner Kallweit" <hkallweit1@gmail.com>
Subject: [PATCH v4 00/13] net: Add generic and Allwinner YAML bindings
Date: Thu, 27 Jun 2019 17:31:42 +0200 [thread overview]
Message-ID: <cover.e80da8845680a45c2e07d5f17280fdba84555b8a.1561649505.git-series.maxime.ripard@bootlin.com> (raw)
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
next reply other threads:[~2019-06-27 15:32 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-27 15:31 Maxime Ripard [this message]
2019-06-27 15:31 ` [PATCH v4 01/13] dt-bindings: net: Add YAML schemas for the generic Ethernet options Maxime Ripard
2019-06-27 15:37 ` Andrew Lunn
2019-06-27 15:31 ` [PATCH v4 02/13] dt-bindings: net: Add a YAML schemas for the generic PHY options Maxime Ripard
2019-06-28 1:16 ` Rob Herring
2019-06-27 15:31 ` [PATCH v4 03/13] dt-bindings: net: Add a YAML schemas for the generic MDIO options Maxime Ripard
2019-06-27 15:39 ` Andrew Lunn
2019-06-27 15:48 ` Rob Herring
2019-06-27 15:57 ` Maxime Ripard
2019-06-27 16:06 ` Rob Herring
2019-06-28 13:45 ` Maxime Ripard
2019-06-28 18:17 ` Rob Herring
2019-06-27 15:31 ` [PATCH v4 04/13] MAINTAINERS: Add Ethernet PHY YAML file Maxime Ripard
2019-06-27 15:31 ` [PATCH v4 05/13] dt-bindings: net: phy: The interrupt property is not mandatory Maxime Ripard
2019-06-27 15:31 ` [PATCH v4 06/13] dt-bindings: net: sun4i-emac: Convert the binding to a schemas Maxime Ripard
2019-06-27 15:31 ` [PATCH v4 07/13] dt-bindings: net: sun4i-mdio: " Maxime Ripard
2019-06-27 15:31 ` [PATCH v4 08/13] dt-bindings: net: stmmac: " Maxime Ripard
2019-06-27 15:31 ` [PATCH v4 09/13] dt-bindings: net: sun7i-gmac: " Maxime Ripard
2019-06-27 15:31 ` [PATCH v4 10/13] dt-bindings: net: sun8i-emac: " Maxime Ripard
2019-06-27 15:31 ` [PATCH v4 11/13] dt-bindings: net: dwmac: Deprecate the PHY reset properties Maxime Ripard
2019-06-27 15:40 ` Andrew Lunn
2019-06-27 15:31 ` [PATCH v4 12/13] ARM: dts: sunxi: Switch to the generic PHY properties Maxime Ripard
2019-06-27 15:31 ` [PATCH v4 13/13] ARM: dts: sunxi: Switch from phy to phy-handle Maxime Ripard
2019-06-27 15:41 ` Andrew Lunn
2019-07-30 3:51 ` Chen-Yu Tsai
2019-06-27 17:22 ` [PATCH v4 00/13] net: Add generic and Allwinner YAML bindings David Miller
2019-06-27 19:17 ` Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.e80da8845680a45c2e07d5f17280fdba84555b8a.1561649505.git-series.maxime.ripard@bootlin.com \
--to=maxime.ripard@bootlin.com \
--cc=alexandre.torgue@st.com \
--cc=andrew@lunn.ch \
--cc=antoine.tenart@bootlin.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=frowand.list@gmail.com \
--cc=hkallweit1@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mark.rutland@arm.com \
--cc=maxime.chevallier@bootlin.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).