linux/drivers/of
Michael Walle f10843e04a of: net: fix of_get_mac_addr_nvmem() for non-platform devices
of_get_mac_address() already supports fetching the MAC address by an
nvmem provider. But until now, it was just working for platform devices.
Esp. it was not working for DSA ports and PCI devices. It gets more
common that PCI devices have a device tree binding since SoCs contain
integrated root complexes.

Use the nvmem of_* binding to fetch the nvmem cells by a struct
device_node. We still have to try to read the cell by device first
because there might be a nvmem_cell_lookup associated with that device.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-04-13 14:35:02 -07:00
..
unittest-data
Kconfig net: phy: Move of_mdio from drivers/of to drivers/net/mdio 2020-10-10 10:55:05 -07:00
Makefile net: phy: Move of_mdio from drivers/of to drivers/net/mdio 2020-10-10 10:55:05 -07:00
address.c arm64 updates for 5.11: 2020-12-14 16:24:30 -08:00
base.c of: base: improve error msg in of_phandle_iterator_next() 2021-01-15 11:26:09 -06:00
device.c Devicetree updates for v5.12: 2021-02-22 10:05:12 -08:00
dynamic.c driver core: Add fwnode link support 2020-12-09 19:10:21 +01:00
fdt.c of: properly check for error returned by fdt_get_name() 2021-04-07 13:07:30 -05:00
fdt_address.c
irq.c
kobj.c
of_net.c of: net: fix of_get_mac_addr_nvmem() for non-platform devices 2021-04-13 14:35:02 -07:00
of_numa.c
of_private.h of: unittest: overlay: ensure proper alignment of copied FDT 2021-04-08 16:38:47 -05:00
of_reserved_mem.c of: Fix reserved-memory overlap detection 2020-10-25 20:37:55 -05:00
overlay.c of: unittest: overlay: ensure proper alignment of copied FDT 2021-04-08 16:38:47 -05:00
pdt.c
platform.c Char/Misc driver patches for 5.12-rc1 2021-02-24 10:25:37 -08:00
property.c Devicetree fixes for v5.12, take 2: 2021-04-09 13:01:48 -07:00
resolver.c
unittest.c of: unittest: overlay: ensure proper alignment of copied FDT 2021-04-08 16:38:47 -05:00