V3,06/18 Arm: Davinci: Da830-evm: Use Nvmem Lookup For Mac

2020. 2. 7. 21:05카테고리 없음

Pull ARM SoC platform updates from Arnd Bergmann: 'These are updates for platform specific code on 32-bit ARM machines, essentially anything that can not (yet) be expressed using DT files.

  1. V3 06/18 Arm: Da Vinci: Da830-evm: Use Nvmem Lookup For Mac

From: Bartosz Golaszewski Since I took over maintainership of the at24 driver I've been working towards removing at24platformdata in favor for device properties. DaVinci is the only platform that's still using it - all other users have already been converted. One of the obstacles in case of DaVinci is removing the setup callback from the pdata struct, the only user of which are some davinci boards. Most boards use the EEPROM to store the MAC address. This series adds support for cell lookups to the nvmem framework, registers relevant cells for all users, converts the davinciemac driver to using them and replaces at24platformdata with device properties. The only board that's still using this callback is now mityomapl138. Unfortunately it stores more info in EEPROM than just the MAC address and will require some more work.

Unfortunately I don't have access to this board so I can't test any actual solutions on a live hardware. Tested on a dm365-evm board.

V3 06/18 Arm: Da Vinci: Da830-evm: Use Nvmem Lookup For Mac

# # Automatically generated file; DO NOT EDIT.