linux/drivers/net/dsa/microchip
Arun Ramadoss eee16b1471 net: dsa: microchip: perform the compatibility check for dev probed
This patch perform the compatibility check for the device after the chip
detect is done. It is to prevent the mismatch between the device
compatible specified in the device tree and actual device found during
the detect. The ksz9477 device doesn't use any .data in the
of_device_id. But the ksz8795_spi uses .data for assigning the regmap
between 8830 family and 87xx family switch. Changed the regmap
assignment based on the chip_id from the .data.

Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-05-18 12:50:59 +01:00
..
Kconfig net: dsa: microchip: Add Microchip KSZ8863 SMI based driver support 2021-04-27 14:13:24 -07:00
ksz8.h net: dsa: microchip: ksz8795: handle eee specif erratum 2022-03-17 17:19:16 -07:00
ksz8795.c net: dsa: microchip: move ksz_chip_data to ksz_common 2022-05-18 12:50:59 +01:00
ksz8795_reg.h net: dsa: ksz: added the generic port_stp_state_set function 2022-04-26 10:19:34 +02:00
ksz8795_spi.c net: dsa: microchip: perform the compatibility check for dev probed 2022-05-18 12:50:59 +01:00
ksz8863_smi.c net: dsa: microchip: perform the compatibility check for dev probed 2022-05-18 12:50:59 +01:00
ksz9477.c net: dsa: microchip: move ksz_chip_data to ksz_common 2022-05-18 12:50:59 +01:00
ksz9477_i2c.c net: dsa: microchip: perform the compatibility check for dev probed 2022-05-18 12:50:59 +01:00
ksz9477_reg.h net: dsa: ksz: added the generic port_stp_state_set function 2022-04-26 10:19:34 +02:00
ksz9477_spi.c net: dsa: microchip: perform the compatibility check for dev probed 2022-05-18 12:50:59 +01:00
ksz_common.c net: dsa: microchip: perform the compatibility check for dev probed 2022-05-18 12:50:59 +01:00
ksz_common.h net: dsa: microchip: perform the compatibility check for dev probed 2022-05-18 12:50:59 +01:00
Makefile net: dsa: microchip: Add Microchip KSZ8863 SMI based driver support 2021-04-27 14:13:24 -07:00