net: dsa: microchip: add KSZ9477 I2C driver
authorTristram Ha <Tristram.Ha@microchip.com>
Tue, 10 Sep 2019 13:18:34 +0000 (08:18 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Sep 2019 10:36:12 +0000 (11:36 +0100)
commit20e03777d70923fe7eae0d7f043ef9488393ab95
treeb49e7a62d1b86ba47f8f3836a78495ecea8558db
parent421bceb270e21b6db92988923445460c2e498888
net: dsa: microchip: add KSZ9477 I2C driver

Add KSZ9477 I2C driver support.  The code ksz9477.c and ksz_common.c are
used together to generate the I2C driver.

Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
[george.mccollister@gmail.com: bring up to date, use ksz_common regmap macros]
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/Kconfig
drivers/net/dsa/microchip/Makefile
drivers/net/dsa/microchip/ksz9477_i2c.c [new file with mode: 0644]
drivers/net/dsa/microchip/ksz_common.h