On Fri, May 10, 2019 at 08:24:00AM +0000, Andy Duan wrote: > ethernet controller driver call .of_get_mac_address() to get > the mac address from devictree tree, if these properties are > not present, then try to read from nvmem. > > For example, read MAC address from nvmem: > of_get_mac_address() > of_get_mac_addr_nvmem() > nvmem_get_mac_address() > > i.MX6x/7D/8MQ/8MM platforms ethernet MAC address read from > nvmem ocotp eFuses, but it requires to swap the six bytes > order. > > The patch add optional property "nvmem_macaddr_swap" to swap
Please use nvmem-macaddr-swap. It is very unusal to use _ in property names. Andrew