]> 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)
commit11f093605d0b03c82de6e131084cc39daf471eff
treec1bf2d6560eecefaa657a4f1882add0f9d8c5eeb
parenta4331414041545a7b35a4001ef96050e60f0edbc
parent08a58e102c3b76470770b93086737813c6c2c509
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>