summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/Kconfig
diff options
context:
space:
mode:
authorJuergen Beisert <jbe@pengutronix.de>2017-04-18 10:48:26 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-20 19:48:54 +0200
commitbe4e119f991451a3f3385b4d167c016c6eb49e78 (patch)
tree7b728c10143977afd3ed3ef62cf1c3aafbfb7bc1 /drivers/net/dsa/Kconfig
parentnet: dsa: add new DSA switch driver for the SMSC-LAN9303 (diff)
downloadlinux-be4e119f991451a3f3385b4d167c016c6eb49e78.tar.xz
linux-be4e119f991451a3f3385b4d167c016c6eb49e78.zip
net: dsa: LAN9303: add I2C managed mode support
In this mode the switch device and the internal phys will be managed via I2C interface. The MDIO interface is still supported, but for the (emulated) CPU port only. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> CC: devicetree@vger.kernel.org CC: robh+dt@kernel.org CC: mark.rutland@arm.com Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/Kconfig')
-rw-r--r--drivers/net/dsa/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/net/dsa/Kconfig b/drivers/net/dsa/Kconfig
index 31a2b229106d..c56533bffc8c 100644
--- a/drivers/net/dsa/Kconfig
+++ b/drivers/net/dsa/Kconfig
@@ -50,4 +50,20 @@ config NET_DSA_MT7530
This enables support for the Mediatek MT7530 Ethernet switch
chip.
+config NET_DSA_SMSC_LAN9303
+ tristate
+ select NET_DSA_TAG_LAN9303
+ ---help---
+ This enables support for the SMSC/Microchip LAN9303 3 port ethernet
+ switch chips.
+
+config NET_DSA_SMSC_LAN9303_I2C
+ tristate "SMSC/Microchip LAN9303 3-ports 10/100 ethernet switch in I2C managed mode"
+ depends on NET_DSA
+ select NET_DSA_SMSC_LAN9303
+ select REGMAP_I2C
+ ---help---
+ Enable access functions if the SMSC/Microchip LAN9303 is configured
+ for I2C managed mode.
+
endmenu