]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'lan78xx-Read-configuration-from-Device-Tree'
authorDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2018 15:39:10 +0000 (11:39 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2018 15:39:10 +0000 (11:39 -0400)
commitb89ce06f33f586ec730b0269ec3958b21669b2fe
treec1bf2d6560eecefaa657a4f1882add0f9d8c5eeb
parent37811ae5e2873515843f6a3a09af082cf2b441ac
parentc40a8ddb02fd91916e1bf68096e472de019c45dc
Merge branch 'lan78xx-Read-configuration-from-Device-Tree'

Phil Elwell says:

====================
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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>