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