xref: /openbmc/linux/drivers/net/ethernet/ti/Kconfig (revision be9ca0d33c850192198c22518eeb1f41401268e8)
1b544dbacSJeff Kirsher#
2b544dbacSJeff Kirsher# TI device configuration
3b544dbacSJeff Kirsher#
4b544dbacSJeff Kirsher
5b544dbacSJeff Kirsherconfig NET_VENDOR_TI
6b544dbacSJeff Kirsher	bool "Texas Instruments (TI) devices"
788f07484SJeff Kirsher	default y
8c8a73a35SLokesh Vutla	depends on PCI || EISA || AR7 || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE
9b544dbacSJeff Kirsher	---help---
10138b15edSPaul Gortmaker	  If you have a network (Ethernet) card belonging to this class, say Y.
11b544dbacSJeff Kirsher
12b544dbacSJeff Kirsher	  Note that the answer to this question doesn't directly affect the
13b544dbacSJeff Kirsher	  kernel: saying N will just cause the configurator to skip all
14b544dbacSJeff Kirsher	  the questions about TI devices. If you say Y, you will be asked for
15b544dbacSJeff Kirsher	  your specific card in the following questions.
16b544dbacSJeff Kirsher
17b544dbacSJeff Kirsherif NET_VENDOR_TI
18b544dbacSJeff Kirsher
19b544dbacSJeff Kirsherconfig TI_DAVINCI_EMAC
20b544dbacSJeff Kirsher	tristate "TI DaVinci EMAC Support"
21b544dbacSJeff Kirsher	depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 )
22b544dbacSJeff Kirsher	select TI_DAVINCI_MDIO
23b544dbacSJeff Kirsher	select TI_DAVINCI_CPDMA
24b544dbacSJeff Kirsher	select PHYLIB
25b544dbacSJeff Kirsher	---help---
26b544dbacSJeff Kirsher	  This driver supports TI's DaVinci Ethernet .
27b544dbacSJeff Kirsher
28b544dbacSJeff Kirsher	  To compile this driver as a module, choose M here: the module
29b544dbacSJeff Kirsher	  will be called davinci_emac_driver.  This is recommended.
30b544dbacSJeff Kirsher
31b544dbacSJeff Kirsherconfig TI_DAVINCI_MDIO
32b544dbacSJeff Kirsher	tristate "TI DaVinci MDIO Support"
33c8a73a35SLokesh Vutla	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE
34b544dbacSJeff Kirsher	select PHYLIB
35b544dbacSJeff Kirsher	---help---
36b544dbacSJeff Kirsher	  This driver supports TI's DaVinci MDIO module.
37b544dbacSJeff Kirsher
38b544dbacSJeff Kirsher	  To compile this driver as a module, choose M here: the module
39b544dbacSJeff Kirsher	  will be called davinci_mdio.  This is recommended.
40b544dbacSJeff Kirsher
41b544dbacSJeff Kirsherconfig TI_DAVINCI_CPDMA
42b544dbacSJeff Kirsher	tristate "TI DaVinci CPDMA Support"
43c8a73a35SLokesh Vutla	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
44b544dbacSJeff Kirsher	---help---
45b544dbacSJeff Kirsher	  This driver supports TI's DaVinci CPDMA dma engine.
46b544dbacSJeff Kirsher
47b544dbacSJeff Kirsher	  To compile this driver as a module, choose M here: the module
48b544dbacSJeff Kirsher	  will be called davinci_cpdma.  This is recommended.
49b544dbacSJeff Kirsher
505892cd13SMugunthan V Nconfig TI_CPSW_PHY_SEL
518d8836d4SUwe Kleine-König	bool
525892cd13SMugunthan V N	---help---
535892cd13SMugunthan V N	  This driver supports configuring of the phy mode connected to
545892cd13SMugunthan V N	  the CPSW.
555892cd13SMugunthan V N
5658c11b5fSKaricheri, Muralidharanconfig TI_CPSW_ALE
5758c11b5fSKaricheri, Muralidharan	tristate "TI CPSW ALE Support"
5858c11b5fSKaricheri, Muralidharan	---help---
5958c11b5fSKaricheri, Muralidharan	  This driver supports TI's CPSW ALE module.
6058c11b5fSKaricheri, Muralidharan
61df828598SMugunthan V Nconfig TI_CPSW
62df828598SMugunthan V N	tristate "TI CPSW Switch Support"
63c8a73a35SLokesh Vutla	depends on ARCH_DAVINCI || ARCH_OMAP2PLUS
64df828598SMugunthan V N	select TI_DAVINCI_CPDMA
65df828598SMugunthan V N	select TI_DAVINCI_MDIO
665892cd13SMugunthan V N	select TI_CPSW_PHY_SEL
6758c11b5fSKaricheri, Muralidharan	select TI_CPSW_ALE
680ba517b1SMarkus Pargmann	select MFD_SYSCON
690ba517b1SMarkus Pargmann	select REGMAP
70df828598SMugunthan V N	---help---
71df828598SMugunthan V N	  This driver supports TI's CPSW Ethernet Switch.
72df828598SMugunthan V N
73df828598SMugunthan V N	  To compile this driver as a module, choose M here: the module
74df828598SMugunthan V N	  will be called cpsw.
75df828598SMugunthan V N
7687c0e764SRichard Cochranconfig TI_CPTS
77*be9ca0d3SArnd Bergmann	bool "TI Common Platform Time Sync (CPTS) Support"
786246168bSWingMan Kwok	depends on TI_CPSW || TI_KEYSTONE_NETCP
79d1cbfd77SNicolas Pitre	imply PTP_1588_CLOCK
8087c0e764SRichard Cochran	---help---
8187c0e764SRichard Cochran	  This driver supports the Common Platform Time Sync unit of
826246168bSWingMan Kwok	  the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem.
836246168bSWingMan Kwok	  The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the
846246168bSWingMan Kwok	  driver offers a PTP Hardware Clock.
8587c0e764SRichard Cochran
86*be9ca0d3SArnd Bergmannconfig TI_CPTS_MOD
87*be9ca0d3SArnd Bergmann	tristate
88*be9ca0d3SArnd Bergmann	depends on TI_CPTS
89*be9ca0d3SArnd Bergmann	default y if TI_CPSW=y || TI_KEYSTONE_NETCP=y
90*be9ca0d3SArnd Bergmann	default m
91*be9ca0d3SArnd Bergmann
9284640e27SKaricheri, Muralidharanconfig TI_KEYSTONE_NETCP
9358c11b5fSKaricheri, Muralidharan	tristate "TI Keystone NETCP Core Support"
9458c11b5fSKaricheri, Muralidharan	select TI_CPSW_ALE
95f49ae149SKaricheri, Muralidharan	select TI_DAVINCI_MDIO
9684640e27SKaricheri, Muralidharan	depends on OF
9784640e27SKaricheri, Muralidharan	depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
9884640e27SKaricheri, Muralidharan	---help---
9958c11b5fSKaricheri, Muralidharan	  This driver supports TI's Keystone NETCP Core.
10084640e27SKaricheri, Muralidharan
10184640e27SKaricheri, Muralidharan	  To compile this driver as a module, choose M here: the module
10284640e27SKaricheri, Muralidharan	  will be called keystone_netcp.
10384640e27SKaricheri, Muralidharan
10458c11b5fSKaricheri, Muralidharanconfig TI_KEYSTONE_NETCP_ETHSS
10558c11b5fSKaricheri, Muralidharan	depends on TI_KEYSTONE_NETCP
10658c11b5fSKaricheri, Muralidharan	tristate "TI Keystone NETCP Ethernet subsystem Support"
10758c11b5fSKaricheri, Muralidharan	---help---
10858c11b5fSKaricheri, Muralidharan
10958c11b5fSKaricheri, Muralidharan	  To compile this driver as a module, choose M here: the module
11058c11b5fSKaricheri, Muralidharan	  will be called keystone_netcp_ethss.
11158c11b5fSKaricheri, Muralidharan
112b544dbacSJeff Kirsherconfig TLAN
113b544dbacSJeff Kirsher	tristate "TI ThunderLAN support"
114b544dbacSJeff Kirsher	depends on (PCI || EISA)
115b544dbacSJeff Kirsher	---help---
116b544dbacSJeff Kirsher	  If you have a PCI Ethernet network card based on the ThunderLAN chip
117138b15edSPaul Gortmaker	  which is supported by this driver, say Y here.
118b544dbacSJeff Kirsher
119b544dbacSJeff Kirsher	  Devices currently supported by this driver are Compaq Netelligent,
120b544dbacSJeff Kirsher	  Compaq NetFlex and Olicom cards.  Please read the file
121b544dbacSJeff Kirsher	  <file:Documentation/networking/tlan.txt> for more details.
122b544dbacSJeff Kirsher
123b544dbacSJeff Kirsher	  To compile this driver as a module, choose M here. The module
124b544dbacSJeff Kirsher	  will be called tlan.
125b544dbacSJeff Kirsher
126b544dbacSJeff Kirsher	  Please email feedback to <torben.mathiasen@compaq.com>.
127b544dbacSJeff Kirsher
128b544dbacSJeff Kirsherconfig CPMAC
1298ff25eebSKees Cook	tristate "TI AR7 CPMAC Ethernet support"
1308ff25eebSKees Cook	depends on AR7
131b544dbacSJeff Kirsher	select PHYLIB
132b544dbacSJeff Kirsher	---help---
133b544dbacSJeff Kirsher	  TI AR7 CPMAC Ethernet support
134b544dbacSJeff Kirsher
135b544dbacSJeff Kirsherendif # NET_VENDOR_TI
136