Integrate meta-seco-rk/linux-seco-rk/nat/d23/eeprom_nvmem
requested to merge integrate/meta-seco-rk/linux-seco-rk/nat/d23/eeprom_nvmem/into/kirkstone into kirkstone
Integrate linux-seco-rk/nat/d23/eeprom_nvmem
--
[D23] [DTS] Fix value of the compatible property in EEPROM device node
The compatible device atmel,24aa025 was added into at24.c driver, therefore in EEPROM device node (at24@unit-address) change most 'compatible' value to atmel,24aa025.
--
[DRIVERS] Porting of additional NVMEM configurations for Atmel EEPROM
Add compatible device atmel,24aa025 with flag AT24_FLAG_SECO_PARTITION in device data. Add serial number, partition number and MAC address nvmem configurations with dedicated read/write functions. Ported from the stable Linux kernel version 4.4 with some fixes. Author of the original implementation: Giuseppe Pagano Usage example in attachment to this commit.