xref: /openbmc/linux/drivers/net/ethernet/ti/Kconfig (revision 22d55f02)
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 REGMAP
54	---help---
55	  This driver supports TI's CPSW Ethernet Switch.
56
57	  To compile this driver as a module, choose M here: the module
58	  will be called cpsw.
59
60config TI_CPTS
61	bool "TI Common Platform Time Sync (CPTS) Support"
62	depends on TI_CPSW || TI_KEYSTONE_NETCP || COMPILE_TEST
63	depends on POSIX_TIMERS
64	---help---
65	  This driver supports the Common Platform Time Sync unit of
66	  the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem.
67	  The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the
68	  driver offers a PTP Hardware Clock.
69
70config TI_CPTS_MOD
71	tristate
72	depends on TI_CPTS
73	default y if TI_CPSW=y || TI_KEYSTONE_NETCP=y
74	select NET_PTP_CLASSIFY
75	imply PTP_1588_CLOCK
76	default m
77
78config TI_KEYSTONE_NETCP
79	tristate "TI Keystone NETCP Core Support"
80	select TI_DAVINCI_MDIO
81	depends on OF
82	depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
83	---help---
84	  This driver supports TI's Keystone NETCP Core.
85
86	  To compile this driver as a module, choose M here: the module
87	  will be called keystone_netcp.
88
89config TI_KEYSTONE_NETCP_ETHSS
90	depends on TI_KEYSTONE_NETCP
91	tristate "TI Keystone NETCP Ethernet subsystem Support"
92	---help---
93
94	  To compile this driver as a module, choose M here: the module
95	  will be called keystone_netcp_ethss.
96
97config TLAN
98	tristate "TI ThunderLAN support"
99	depends on (PCI || EISA)
100	---help---
101	  If you have a PCI Ethernet network card based on the ThunderLAN chip
102	  which is supported by this driver, say Y here.
103
104	  Devices currently supported by this driver are Compaq Netelligent,
105	  Compaq NetFlex and Olicom cards.  Please read the file
106	  <file:Documentation/networking/device_drivers/ti/tlan.txt>
107	  for more details.
108
109	  To compile this driver as a module, choose M here. The module
110	  will be called tlan.
111
112	  Please email feedback to <torben.mathiasen@compaq.com>.
113
114config CPMAC
115	tristate "TI AR7 CPMAC Ethernet support"
116	depends on AR7
117	select PHYLIB
118	---help---
119	  TI AR7 CPMAC Ethernet support
120
121endif # NET_VENDOR_TI
122