Skip to content

lan78xx: Read configuration from Device Tree

Phil Elwell linux-devicetree linux-usb lkml netdev 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyIn review
  2. v3 posting 3/33 patches 1 replySuperseded
  3. v3 posting 2/30 of 3 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v3 posting 1/33 patches2 repliesSuperseded
v23 patches1 replySuperseded
v14 patches15 repliesSuperseded

Changes in v4 from the cover letter

- Rename nodes in bindings doc.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lan78xx: Read MAC address from DT if presentdrivers/net/usb/lan78xx.c+20 -220 replies
2/3lan78xx: Read LED states from Device TreeMAINTAINERS drivers/net/phy/microchip.c drivers/net/usb/lan78xx.c +2 more+81 -10 replies
3/3dt-bindings: Document the DT bindings for lan78xxDocumentation/devicetree/bindings/net/microchip,lan78xx.txt MAINTAINERS+55 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] lan78xx: Read configuration from Device Tree

The Microchip LAN78XX family of devices are Ethernet controllers with a USB interface. Despite being discoverable devices it can be useful to be able to configure them from Device Tree, particularly in low-cost applications without an EEPROM or programmed OTP.

This patch set adds support for reading the MAC address and LED modes from Device Tree.

v4:
- Rename nodes in bindings doc.

v3:
- Move LED setting into PHY driver.

v2:
- Use eth_platform_get_mac_address.
- Support up to 4 LEDs, and move LED mode constants into dt-bindings header.
- Improve bindings document.
- Remove EEE support.

Phil Elwell (3):
lan78xx: Read MAC address from DT if present
lan78xx: Read LED states from Device Tree
dt-bindings: Document the DT bindings for lan78xx

 .../devicetree/bindings/net/microchip,lan78xx.txt  | 54 ++++++++++++++++
 MAINTAINERS                                        |  2 +
 drivers/net/phy/microchip.c                        | 25 ++++++++
 drivers/net/usb/lan78xx.c                          | 74 +++++++++++++++-------
 include/dt-bindings/net/microchip-lan78xx.h        | 21 ++++++
 include/linux/microchipphy.h                       |  3 +
 6 files changed, 156 insertions(+), 23 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/microchip,lan78xx.txt
 create mode 100644 include/dt-bindings/net/microchip-lan78xx.h
Signature · 1 line
2.7.4