From: Tristram Ha <tristram...@microchip.com>

This patch adds KSZ9477 I2C driver support.

I know a patch for KSZ9477 I2C driver was already submitted.  There is a
minor problem though.  The structure and code of the I2C driver should
match those in the SPI driver.  The only difference is the register
access.

Accordingly the file ksz_i2c.h is created so that some shared I2C
functions can be used by other switch drivers.

Tristram Ha (1):
  net: dsa: microchip: add KSZ9477 I2C driver

 drivers/net/dsa/microchip/Kconfig       |   6 +
 drivers/net/dsa/microchip/Makefile      |   1 +
 drivers/net/dsa/microchip/ksz9477_i2c.c | 194 ++++++++++++++++++++++++++++++++
 drivers/net/dsa/microchip/ksz_i2c.h     |  69 ++++++++++++
 4 files changed, 270 insertions(+)
 create mode 100644 drivers/net/dsa/microchip/ksz9477_i2c.c
 create mode 100644 drivers/net/dsa/microchip/ksz_i2c.h

-- 
1.9.1

Reply via email to