DaVinci SoC support updates for v5.1

This pull request contains changes needed to modernize the at24
EEPROM driver and remove the legacy platform data structure in
favor of device properties. DaVinci was the only user of at24
platform data.

The branch is shared with at24 maintainer as immutable commit
to build upon.
ARM: davinci: mityomapl138: use device properties for at24 eeprom

We want to work towards phasing out the at24_platform_data structure.
There are few users and its contents can be represented using generic
device properties. Using device properties only will allow us to
significantly simplify the at24 configuration code.

Remove the at24_platform_data structure and replace it with an array
of property entries. Drop the byte_len/size property, as the model name
already implies the EEPROM's size.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
1 file changed