xref: /openbmc/linux/drivers/net/ethernet/ti/Kconfig (revision ed3525eda4c4983fb8509e488de0a351788041ba)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2b544dbacSJeff Kirsher#
3b544dbacSJeff Kirsher# TI device configuration
4b544dbacSJeff Kirsher#
5b544dbacSJeff Kirsher
6b544dbacSJeff Kirsherconfig NET_VENDOR_TI
7b544dbacSJeff Kirsher	bool "Texas Instruments (TI) devices"
888f07484SJeff Kirsher	default y
9c8a73a35SLokesh Vutla	depends on PCI || EISA || AR7 || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE
10b544dbacSJeff Kirsher	---help---
11138b15edSPaul Gortmaker	  If you have a network (Ethernet) card belonging to this class, say Y.
12b544dbacSJeff Kirsher
13b544dbacSJeff Kirsher	  Note that the answer to this question doesn't directly affect the
14b544dbacSJeff Kirsher	  kernel: saying N will just cause the configurator to skip all
15b544dbacSJeff Kirsher	  the questions about TI devices. If you say Y, you will be asked for
16b544dbacSJeff Kirsher	  your specific card in the following questions.
17b544dbacSJeff Kirsher
18b544dbacSJeff Kirsherif NET_VENDOR_TI
19b544dbacSJeff Kirsher
20b544dbacSJeff Kirsherconfig TI_DAVINCI_EMAC
21b544dbacSJeff Kirsher	tristate "TI DaVinci EMAC Support"
222652113fSFlorian Fainelli	depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) || COMPILE_TEST
23b544dbacSJeff Kirsher	select TI_DAVINCI_MDIO
24b544dbacSJeff Kirsher	select PHYLIB
25b2ef81dcSMao Wenan	select GENERIC_ALLOCATOR
26b544dbacSJeff Kirsher	---help---
27b544dbacSJeff Kirsher	  This driver supports TI's DaVinci Ethernet .
28b544dbacSJeff Kirsher
29b544dbacSJeff Kirsher	  To compile this driver as a module, choose M here: the module
30b544dbacSJeff Kirsher	  will be called davinci_emac_driver.  This is recommended.
31b544dbacSJeff Kirsher
32b544dbacSJeff Kirsherconfig TI_DAVINCI_MDIO
33b544dbacSJeff Kirsher	tristate "TI DaVinci MDIO Support"
342652113fSFlorian Fainelli	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
35b544dbacSJeff Kirsher	select PHYLIB
36b544dbacSJeff Kirsher	---help---
37b544dbacSJeff Kirsher	  This driver supports TI's DaVinci MDIO module.
38b544dbacSJeff Kirsher
39b544dbacSJeff Kirsher	  To compile this driver as a module, choose M here: the module
40b544dbacSJeff Kirsher	  will be called davinci_mdio.  This is recommended.
41b544dbacSJeff Kirsher
425892cd13SMugunthan V Nconfig TI_CPSW_PHY_SEL
43dba235faSGrygorii Strashko	bool "TI CPSW Phy mode Selection (DEPRECATED)"
44dba235faSGrygorii Strashko	default n
455892cd13SMugunthan V N	---help---
465892cd13SMugunthan V N	  This driver supports configuring of the phy mode connected to
47dba235faSGrygorii Strashko	  the CPSW. DEPRECATED: use PHY_TI_GMII_SEL.
485892cd13SMugunthan V N
49df828598SMugunthan V Nconfig TI_CPSW
50df828598SMugunthan V N	tristate "TI CPSW Switch Support"
512652113fSFlorian Fainelli	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
52df828598SMugunthan V N	select TI_DAVINCI_MDIO
530ba517b1SMarkus Pargmann	select MFD_SYSCON
549ed4050cSIvan Khoronzhuk	select PAGE_POOL
550ba517b1SMarkus Pargmann	select REGMAP
56df828598SMugunthan V N	---help---
57df828598SMugunthan V N	  This driver supports TI's CPSW Ethernet Switch.
58df828598SMugunthan V N
59df828598SMugunthan V N	  To compile this driver as a module, choose M here: the module
60df828598SMugunthan V N	  will be called cpsw.
61df828598SMugunthan V N
62*ed3525edSIlias Apalodimasconfig TI_CPSW_SWITCHDEV
63*ed3525edSIlias Apalodimas	tristate "TI CPSW Switch Support with switchdev"
64*ed3525edSIlias Apalodimas	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
65*ed3525edSIlias Apalodimas	select NET_SWITCHDEV
66*ed3525edSIlias Apalodimas	select TI_DAVINCI_MDIO
67*ed3525edSIlias Apalodimas	select MFD_SYSCON
68*ed3525edSIlias Apalodimas	select REGMAP
69*ed3525edSIlias Apalodimas	select NET_DEVLINK
70*ed3525edSIlias Apalodimas	imply PHY_TI_GMII_SEL
71*ed3525edSIlias Apalodimas	help
72*ed3525edSIlias Apalodimas	  This driver supports TI's CPSW Ethernet Switch.
73*ed3525edSIlias Apalodimas
74*ed3525edSIlias Apalodimas	  To compile this driver as a module, choose M here: the module
75*ed3525edSIlias Apalodimas	  will be called cpsw_new.
76*ed3525edSIlias Apalodimas
7787c0e764SRichard Cochranconfig TI_CPTS
78be9ca0d3SArnd Bergmann	bool "TI Common Platform Time Sync (CPTS) Support"
79*ed3525edSIlias Apalodimas	depends on TI_CPSW || TI_KEYSTONE_NETCP || TI_CPSW_SWITCHDEV || COMPILE_TEST
80a41efedfSGrygorii Strashko	depends on COMMON_CLK
81504926dfSArnd Bergmann	depends on POSIX_TIMERS
8287c0e764SRichard Cochran	---help---
8387c0e764SRichard Cochran	  This driver supports the Common Platform Time Sync unit of
846246168bSWingMan Kwok	  the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem.
856246168bSWingMan Kwok	  The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the
866246168bSWingMan Kwok	  driver offers a PTP Hardware Clock.
8787c0e764SRichard Cochran
88be9ca0d3SArnd Bergmannconfig TI_CPTS_MOD
89be9ca0d3SArnd Bergmann	tristate
90be9ca0d3SArnd Bergmann	depends on TI_CPTS
91*ed3525edSIlias Apalodimas	default y if TI_CPSW=y || TI_KEYSTONE_NETCP=y || TI_CPSW_SWITCHDEV=y
92504926dfSArnd Bergmann	select NET_PTP_CLASSIFY
93504926dfSArnd Bergmann	imply PTP_1588_CLOCK
94be9ca0d3SArnd Bergmann	default m
95be9ca0d3SArnd Bergmann
9684640e27SKaricheri, Muralidharanconfig TI_KEYSTONE_NETCP
9758c11b5fSKaricheri, Muralidharan	tristate "TI Keystone NETCP Core Support"
98f49ae149SKaricheri, Muralidharan	select TI_DAVINCI_MDIO
9984640e27SKaricheri, Muralidharan	depends on OF
10084640e27SKaricheri, Muralidharan	depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
10184640e27SKaricheri, Muralidharan	---help---
10258c11b5fSKaricheri, Muralidharan	  This driver supports TI's Keystone NETCP Core.
10384640e27SKaricheri, Muralidharan
10484640e27SKaricheri, Muralidharan	  To compile this driver as a module, choose M here: the module
10584640e27SKaricheri, Muralidharan	  will be called keystone_netcp.
10684640e27SKaricheri, Muralidharan
10758c11b5fSKaricheri, Muralidharanconfig TI_KEYSTONE_NETCP_ETHSS
10858c11b5fSKaricheri, Muralidharan	depends on TI_KEYSTONE_NETCP
10958c11b5fSKaricheri, Muralidharan	tristate "TI Keystone NETCP Ethernet subsystem Support"
11058c11b5fSKaricheri, Muralidharan	---help---
11158c11b5fSKaricheri, Muralidharan
11258c11b5fSKaricheri, Muralidharan	  To compile this driver as a module, choose M here: the module
11358c11b5fSKaricheri, Muralidharan	  will be called keystone_netcp_ethss.
11458c11b5fSKaricheri, Muralidharan
115b544dbacSJeff Kirsherconfig TLAN
116b544dbacSJeff Kirsher	tristate "TI ThunderLAN support"
117b544dbacSJeff Kirsher	depends on (PCI || EISA)
118b544dbacSJeff Kirsher	---help---
119b544dbacSJeff Kirsher	  If you have a PCI Ethernet network card based on the ThunderLAN chip
120138b15edSPaul Gortmaker	  which is supported by this driver, say Y here.
121b544dbacSJeff Kirsher
122b544dbacSJeff Kirsher	  Devices currently supported by this driver are Compaq Netelligent,
123b544dbacSJeff Kirsher	  Compaq NetFlex and Olicom cards.  Please read the file
124b255e500SJakub Kicinski	  <file:Documentation/networking/device_drivers/ti/tlan.txt>
125b255e500SJakub Kicinski	  for more details.
126b544dbacSJeff Kirsher
127b544dbacSJeff Kirsher	  To compile this driver as a module, choose M here. The module
128b544dbacSJeff Kirsher	  will be called tlan.
129b544dbacSJeff Kirsher
130b544dbacSJeff Kirsher	  Please email feedback to <torben.mathiasen@compaq.com>.
131b544dbacSJeff Kirsher
132b544dbacSJeff Kirsherconfig CPMAC
1338ff25eebSKees Cook	tristate "TI AR7 CPMAC Ethernet support"
1348ff25eebSKees Cook	depends on AR7
135b544dbacSJeff Kirsher	select PHYLIB
136b544dbacSJeff Kirsher	---help---
137b544dbacSJeff Kirsher	  TI AR7 CPMAC Ethernet support
138b544dbacSJeff Kirsher
139b544dbacSJeff Kirsherendif # NET_VENDOR_TI
140