On Mon, Jun 10, 2019 at 3:26 AM Maxime Ripard <maxime.ripard@xxxxxxxxxxx> wrote: > > The Ethernet controllers have a good number of generic options that can be > needed in a device tree. Add a YAML schemas for those. > > Signed-off-by: Maxime Ripard <maxime.ripard@xxxxxxxxxxx> > > --- > > Changes from v1: > - Use an enum for phy-connection-types > - Validate the items for the fixed-link array > - Set the number of valid items for link-gpios to 1 > - Removed deprecated properties (phy-mode, phy, phy-device) > --- > Documentation/devicetree/bindings/net/ethernet-controller.yaml | 194 +++++++- > Documentation/devicetree/bindings/net/ethernet.txt | 69 +-- > Documentation/devicetree/bindings/net/fixed-link.txt | 55 +-- > 3 files changed, 196 insertions(+), 122 deletions(-) > create mode 100644 Documentation/devicetree/bindings/net/ethernet-controller.yaml Reviewed-by: Rob Herring <robh@xxxxxxxxxx>