• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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	select GENERIC_ALLOCATOR
26	---help---
27	  This driver supports TI's DaVinci Ethernet .
28
29	  To compile this driver as a module, choose M here: the module
30	  will be called davinci_emac_driver.  This is recommended.
31
32config TI_DAVINCI_MDIO
33	tristate "TI DaVinci MDIO Support"
34	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
35	select PHYLIB
36	---help---
37	  This driver supports TI's DaVinci MDIO module.
38
39	  To compile this driver as a module, choose M here: the module
40	  will be called davinci_mdio.  This is recommended.
41
42config TI_CPSW_PHY_SEL
43	bool "TI CPSW Phy mode Selection (DEPRECATED)"
44	default n
45	---help---
46	  This driver supports configuring of the phy mode connected to
47	  the CPSW. DEPRECATED: use PHY_TI_GMII_SEL.
48
49config TI_CPSW
50	tristate "TI CPSW Switch Support"
51	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
52	select TI_DAVINCI_MDIO
53	select MFD_SYSCON
54	select PAGE_POOL
55	select REGMAP
56	---help---
57	  This driver supports TI's CPSW Ethernet Switch.
58
59	  To compile this driver as a module, choose M here: the module
60	  will be called cpsw.
61
62config TI_CPTS
63	bool "TI Common Platform Time Sync (CPTS) Support"
64	depends on TI_CPSW || TI_KEYSTONE_NETCP || COMPILE_TEST
65	depends on COMMON_CLK
66	depends on POSIX_TIMERS
67	---help---
68	  This driver supports the Common Platform Time Sync unit of
69	  the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem.
70	  The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the
71	  driver offers a PTP Hardware Clock.
72
73config TI_CPTS_MOD
74	tristate
75	depends on TI_CPTS
76	default y if TI_CPSW=y || TI_KEYSTONE_NETCP=y
77	select NET_PTP_CLASSIFY
78	imply PTP_1588_CLOCK
79	default m
80
81config TI_KEYSTONE_NETCP
82	tristate "TI Keystone NETCP Core Support"
83	select TI_DAVINCI_MDIO
84	depends on OF
85	depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
86	---help---
87	  This driver supports TI's Keystone NETCP Core.
88
89	  To compile this driver as a module, choose M here: the module
90	  will be called keystone_netcp.
91
92config TI_KEYSTONE_NETCP_ETHSS
93	depends on TI_KEYSTONE_NETCP
94	tristate "TI Keystone NETCP Ethernet subsystem Support"
95	---help---
96
97	  To compile this driver as a module, choose M here: the module
98	  will be called keystone_netcp_ethss.
99
100config TLAN
101	tristate "TI ThunderLAN support"
102	depends on (PCI || EISA)
103	---help---
104	  If you have a PCI Ethernet network card based on the ThunderLAN chip
105	  which is supported by this driver, say Y here.
106
107	  Devices currently supported by this driver are Compaq Netelligent,
108	  Compaq NetFlex and Olicom cards.  Please read the file
109	  <file:Documentation/networking/device_drivers/ti/tlan.txt>
110	  for more details.
111
112	  To compile this driver as a module, choose M here. The module
113	  will be called tlan.
114
115	  Please email feedback to <torben.mathiasen@compaq.com>.
116
117config CPMAC
118	tristate "TI AR7 CPMAC Ethernet support"
119	depends on AR7
120	select PHYLIB
121	---help---
122	  TI AR7 CPMAC Ethernet support
123
124endif # NET_VENDOR_TI
125