There are a few Intel based platforms making use of the mv88exxx. These don't easily have access to device tree in order to instantiate the switch driver. These patches allow the use of platform data to hold the configuration.
Andrew Lunn (3): net: dsa: mv88e6xxx: Remove OF check for IRQ domain net: dsa: mv88e6xxx: Add minimal platform_data support net: dsa: mv88e6xxx: Add support for EEPROM via platform data MAINTAINERS | 1 + drivers/net/dsa/mv88e6xxx/chip.c | 67 +++++++++++++++++++++---- drivers/net/dsa/mv88e6xxx/chip.h | 2 +- drivers/net/dsa/mv88e6xxx/global2.c | 3 -- include/linux/platform_data/mv88e6xxx.h | 18 +++++++ 5 files changed, 76 insertions(+), 15 deletions(-) create mode 100644 include/linux/platform_data/mv88e6xxx.h -- 2.17.0