Re: [PATCH v3 1/2] of_net: Implement of_get_nvmem_mac_address helper

2018-03-28 Thread Mike Looijmans
On 28-03-18 00:50, Florian Fainelli wrote: On 03/27/2018 02:52 AM, Mike Looijmans wrote: It's common practice to store MAC addresses for network interfaces into nvmem devices. However the code to actually do this in the kernel lacks, so this patch adds of_get_nvmem_mac_address() for drivers to

Re: [PATCH v3 1/2] of_net: Implement of_get_nvmem_mac_address helper

2018-03-27 Thread Florian Fainelli
On 03/27/2018 02:52 AM, Mike Looijmans wrote: > It's common practice to store MAC addresses for network interfaces into > nvmem devices. However the code to actually do this in the kernel lacks, > so this patch adds of_get_nvmem_mac_address() for drivers to obtain the > address from an nvmem cell

[PATCH v3 1/2] of_net: Implement of_get_nvmem_mac_address helper

2018-03-27 Thread Mike Looijmans
It's common practice to store MAC addresses for network interfaces into nvmem devices. However the code to actually do this in the kernel lacks, so this patch adds of_get_nvmem_mac_address() for drivers to obtain the address from an nvmem cell provider. This is particulary useful on devices where