diff options
author | Tristram Ha <Tristram.Ha@microchip.com> | 2019-07-29 19:49:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-31 00:12:50 +0200 |
commit | e66f840c08a237acfbb981592047b53e7411012f (patch) | |
tree | 67cbf1203dff60205bf764322adb9b39a3666e3b /drivers/net/dsa/microchip/Kconfig | |
parent | net: dsa: ksz: Add KSZ8795 tag code (diff) | |
download | linux-e66f840c08a237acfbb981592047b53e7411012f.tar.xz linux-e66f840c08a237acfbb981592047b53e7411012f.zip |
net: dsa: ksz: Add Microchip KSZ8795 DSA driver
Add Microchip KSZ8795 DSA driver.
Signed-off-by: Tristram Ha <Tristram.Ha@microchip.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: David S. Miller <davem@davemloft.net>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Tristram Ha <Tristram.Ha@microchip.com>
Cc: Vivien Didelot <vivien.didelot@gmail.com>
Cc: Woojung Huh <woojung.huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/Kconfig')
-rw-r--r-- | drivers/net/dsa/microchip/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/dsa/microchip/Kconfig b/drivers/net/dsa/microchip/Kconfig index fe0a13b79c4b..5e4f74286ea3 100644 --- a/drivers/net/dsa/microchip/Kconfig +++ b/drivers/net/dsa/microchip/Kconfig @@ -16,3 +16,20 @@ config NET_DSA_MICROCHIP_KSZ9477_SPI select REGMAP_SPI help Select to enable support for registering switches configured through SPI. + +menuconfig NET_DSA_MICROCHIP_KSZ8795 + tristate "Microchip KSZ8795 series switch support" + depends on NET_DSA + select NET_DSA_MICROCHIP_KSZ_COMMON + help + This driver adds support for Microchip KSZ8795 switch chips. + +config NET_DSA_MICROCHIP_KSZ8795_SPI + tristate "KSZ8795 series SPI connected switch driver" + depends on NET_DSA_MICROCHIP_KSZ8795 && SPI + select REGMAP_SPI + help + This driver accesses KSZ8795 chip through SPI. + + It is required to use the KSZ8795 switch driver as the only access + is through SPI. |