xref: /openbmc/linux/drivers/net/ethernet/ti/Kconfig (revision a41efedfaf956698bcf5658daaadbe43b4ca1f46)
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
25b544dbacSJeff Kirsher	---help---
26b544dbacSJeff Kirsher	  This driver supports TI's DaVinci Ethernet .
27b544dbacSJeff Kirsher
28b544dbacSJeff Kirsher	  To compile this driver as a module, choose M here: the module
29b544dbacSJeff Kirsher	  will be called davinci_emac_driver.  This is recommended.
30b544dbacSJeff Kirsher
31b544dbacSJeff Kirsherconfig TI_DAVINCI_MDIO
32b544dbacSJeff Kirsher	tristate "TI DaVinci MDIO Support"
332652113fSFlorian Fainelli	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
34b544dbacSJeff Kirsher	select PHYLIB
35b544dbacSJeff Kirsher	---help---
36b544dbacSJeff Kirsher	  This driver supports TI's DaVinci MDIO module.
37b544dbacSJeff Kirsher
38b544dbacSJeff Kirsher	  To compile this driver as a module, choose M here: the module
39b544dbacSJeff Kirsher	  will be called davinci_mdio.  This is recommended.
40b544dbacSJeff Kirsher
415892cd13SMugunthan V Nconfig TI_CPSW_PHY_SEL
42dba235faSGrygorii Strashko	bool "TI CPSW Phy mode Selection (DEPRECATED)"
43dba235faSGrygorii Strashko	default n
445892cd13SMugunthan V N	---help---
455892cd13SMugunthan V N	  This driver supports configuring of the phy mode connected to
46dba235faSGrygorii Strashko	  the CPSW. DEPRECATED: use PHY_TI_GMII_SEL.
475892cd13SMugunthan V N
48df828598SMugunthan V Nconfig TI_CPSW
49df828598SMugunthan V N	tristate "TI CPSW Switch Support"
502652113fSFlorian Fainelli	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
51df828598SMugunthan V N	select TI_DAVINCI_MDIO
520ba517b1SMarkus Pargmann	select MFD_SYSCON
530ba517b1SMarkus Pargmann	select REGMAP
54df828598SMugunthan V N	---help---
55df828598SMugunthan V N	  This driver supports TI's CPSW Ethernet Switch.
56df828598SMugunthan V N
57df828598SMugunthan V N	  To compile this driver as a module, choose M here: the module
58df828598SMugunthan V N	  will be called cpsw.
59df828598SMugunthan V N
6087c0e764SRichard Cochranconfig TI_CPTS
61be9ca0d3SArnd Bergmann	bool "TI Common Platform Time Sync (CPTS) Support"
622652113fSFlorian Fainelli	depends on TI_CPSW || TI_KEYSTONE_NETCP || COMPILE_TEST
63*a41efedfSGrygorii Strashko	depends on COMMON_CLK
64504926dfSArnd Bergmann	depends on POSIX_TIMERS
6587c0e764SRichard Cochran	---help---
6687c0e764SRichard Cochran	  This driver supports the Common Platform Time Sync unit of
676246168bSWingMan Kwok	  the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem.
686246168bSWingMan Kwok	  The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the
696246168bSWingMan Kwok	  driver offers a PTP Hardware Clock.
7087c0e764SRichard Cochran
71be9ca0d3SArnd Bergmannconfig TI_CPTS_MOD
72be9ca0d3SArnd Bergmann	tristate
73be9ca0d3SArnd Bergmann	depends on TI_CPTS
74be9ca0d3SArnd Bergmann	default y if TI_CPSW=y || TI_KEYSTONE_NETCP=y
75504926dfSArnd Bergmann	select NET_PTP_CLASSIFY
76504926dfSArnd Bergmann	imply PTP_1588_CLOCK
77be9ca0d3SArnd Bergmann	default m
78be9ca0d3SArnd Bergmann
7984640e27SKaricheri, Muralidharanconfig TI_KEYSTONE_NETCP
8058c11b5fSKaricheri, Muralidharan	tristate "TI Keystone NETCP Core Support"
81f49ae149SKaricheri, Muralidharan	select TI_DAVINCI_MDIO
8284640e27SKaricheri, Muralidharan	depends on OF
8384640e27SKaricheri, Muralidharan	depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
8484640e27SKaricheri, Muralidharan	---help---
8558c11b5fSKaricheri, Muralidharan	  This driver supports TI's Keystone NETCP Core.
8684640e27SKaricheri, Muralidharan
8784640e27SKaricheri, Muralidharan	  To compile this driver as a module, choose M here: the module
8884640e27SKaricheri, Muralidharan	  will be called keystone_netcp.
8984640e27SKaricheri, Muralidharan
9058c11b5fSKaricheri, Muralidharanconfig TI_KEYSTONE_NETCP_ETHSS
9158c11b5fSKaricheri, Muralidharan	depends on TI_KEYSTONE_NETCP
9258c11b5fSKaricheri, Muralidharan	tristate "TI Keystone NETCP Ethernet subsystem Support"
9358c11b5fSKaricheri, Muralidharan	---help---
9458c11b5fSKaricheri, Muralidharan
9558c11b5fSKaricheri, Muralidharan	  To compile this driver as a module, choose M here: the module
9658c11b5fSKaricheri, Muralidharan	  will be called keystone_netcp_ethss.
9758c11b5fSKaricheri, Muralidharan
98b544dbacSJeff Kirsherconfig TLAN
99b544dbacSJeff Kirsher	tristate "TI ThunderLAN support"
100b544dbacSJeff Kirsher	depends on (PCI || EISA)
101b544dbacSJeff Kirsher	---help---
102b544dbacSJeff Kirsher	  If you have a PCI Ethernet network card based on the ThunderLAN chip
103138b15edSPaul Gortmaker	  which is supported by this driver, say Y here.
104b544dbacSJeff Kirsher
105b544dbacSJeff Kirsher	  Devices currently supported by this driver are Compaq Netelligent,
106b544dbacSJeff Kirsher	  Compaq NetFlex and Olicom cards.  Please read the file
107b255e500SJakub Kicinski	  <file:Documentation/networking/device_drivers/ti/tlan.txt>
108b255e500SJakub Kicinski	  for more details.
109b544dbacSJeff Kirsher
110b544dbacSJeff Kirsher	  To compile this driver as a module, choose M here. The module
111b544dbacSJeff Kirsher	  will be called tlan.
112b544dbacSJeff Kirsher
113b544dbacSJeff Kirsher	  Please email feedback to <torben.mathiasen@compaq.com>.
114b544dbacSJeff Kirsher
115b544dbacSJeff Kirsherconfig CPMAC
1168ff25eebSKees Cook	tristate "TI AR7 CPMAC Ethernet support"
1178ff25eebSKees Cook	depends on AR7
118b544dbacSJeff Kirsher	select PHYLIB
119b544dbacSJeff Kirsher	---help---
120b544dbacSJeff Kirsher	  TI AR7 CPMAC Ethernet support
121b544dbacSJeff Kirsher
122b544dbacSJeff Kirsherendif # NET_VENDOR_TI
123