xref: /openbmc/linux/drivers/net/ethernet/ti/Kconfig (revision ecd25094)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# TI device configuration
4#
5
6config NET_VENDOR_TI
7	bool "Texas Instruments (TI) devices"
8	default y
9	depends on PCI || EISA || AR7 || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE
10	---help---
11	  If you have a network (Ethernet) card belonging to this class, say Y.
12
13	  Note that the answer to this question doesn't directly affect the
14	  kernel: saying N will just cause the configurator to skip all
15	  the questions about TI devices. If you say Y, you will be asked for
16	  your specific card in the following questions.
17
18if NET_VENDOR_TI
19
20config TI_DAVINCI_EMAC
21	tristate "TI DaVinci EMAC Support"
22	depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) || COMPILE_TEST
23	select TI_DAVINCI_MDIO
24	select PHYLIB
25	---help---
26	  This driver supports TI's DaVinci Ethernet .
27
28	  To compile this driver as a module, choose M here: the module
29	  will be called davinci_emac_driver.  This is recommended.
30
31config TI_DAVINCI_MDIO
32	tristate "TI DaVinci MDIO Support"
33	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
34	select PHYLIB
35	---help---
36	  This driver supports TI's DaVinci MDIO module.
37
38	  To compile this driver as a module, choose M here: the module
39	  will be called davinci_mdio.  This is recommended.
40
41config TI_CPSW_PHY_SEL
42	bool "TI CPSW Phy mode Selection (DEPRECATED)"
43	default n
44	---help---
45	  This driver supports configuring of the phy mode connected to
46	  the CPSW. DEPRECATED: use PHY_TI_GMII_SEL.
47
48config TI_CPSW
49	tristate "TI CPSW Switch Support"
50	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
51	select TI_DAVINCI_MDIO
52	select MFD_SYSCON
53	select PAGE_POOL
54	select REGMAP
55	---help---
56	  This driver supports TI's CPSW Ethernet Switch.
57
58	  To compile this driver as a module, choose M here: the module
59	  will be called cpsw.
60
61config TI_CPTS
62	bool "TI Common Platform Time Sync (CPTS) Support"
63	depends on TI_CPSW || TI_KEYSTONE_NETCP || COMPILE_TEST
64	depends on COMMON_CLK
65	depends on POSIX_TIMERS
66	---help---
67	  This driver supports the Common Platform Time Sync unit of
68	  the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem.
69	  The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the
70	  driver offers a PTP Hardware Clock.
71
72config TI_CPTS_MOD
73	tristate
74	depends on TI_CPTS
75	default y if TI_CPSW=y || TI_KEYSTONE_NETCP=y
76	select NET_PTP_CLASSIFY
77	imply PTP_1588_CLOCK
78	default m
79
80config TI_KEYSTONE_NETCP
81	tristate "TI Keystone NETCP Core Support"
82	select TI_DAVINCI_MDIO
83	depends on OF
84	depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
85	---help---
86	  This driver supports TI's Keystone NETCP Core.
87
88	  To compile this driver as a module, choose M here: the module
89	  will be called keystone_netcp.
90
91config TI_KEYSTONE_NETCP_ETHSS
92	depends on TI_KEYSTONE_NETCP
93	tristate "TI Keystone NETCP Ethernet subsystem Support"
94	---help---
95
96	  To compile this driver as a module, choose M here: the module
97	  will be called keystone_netcp_ethss.
98
99config TLAN
100	tristate "TI ThunderLAN support"
101	depends on (PCI || EISA)
102	---help---
103	  If you have a PCI Ethernet network card based on the ThunderLAN chip
104	  which is supported by this driver, say Y here.
105
106	  Devices currently supported by this driver are Compaq Netelligent,
107	  Compaq NetFlex and Olicom cards.  Please read the file
108	  <file:Documentation/networking/device_drivers/ti/tlan.txt>
109	  for more details.
110
111	  To compile this driver as a module, choose M here. The module
112	  will be called tlan.
113
114	  Please email feedback to <torben.mathiasen@compaq.com>.
115
116config CPMAC
117	tristate "TI AR7 CPMAC Ethernet support"
118	depends on AR7
119	select PHYLIB
120	---help---
121	  TI AR7 CPMAC Ethernet support
122
123endif # NET_VENDOR_TI
124