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