]> git.ipfire.org Git - thirdparty/linux.git/blame - drivers/net/ethernet/ti/Kconfig
Merge tag 'io_uring-5.7-2020-05-22' of git://git.kernel.dk/linux-block
[thirdparty/linux.git] / drivers / net / ethernet / ti / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
b544dbac
JK
2#
3# TI device configuration
4#
5
6config NET_VENDOR_TI
7 bool "Texas Instruments (TI) devices"
88f07484 8 default y
93a76530 9 depends on PCI || EISA || AR7 || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3
b544dbac 10 ---help---
138b15ed 11 If you have a network (Ethernet) card belonging to this class, say Y.
b544dbac
JK
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"
2652113f 22 depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) || COMPILE_TEST
b544dbac 23 select TI_DAVINCI_MDIO
b544dbac 24 select PHYLIB
b2ef81dc 25 select GENERIC_ALLOCATOR
b544dbac
JK
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"
93a76530 34 depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
b544dbac
JK
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
5892cd13 42config TI_CPSW_PHY_SEL
dba235fa
GS
43 bool "TI CPSW Phy mode Selection (DEPRECATED)"
44 default n
5892cd13
M
45 ---help---
46 This driver supports configuring of the phy mode connected to
dba235fa 47 the CPSW. DEPRECATED: use PHY_TI_GMII_SEL.
5892cd13 48
df828598
M
49config TI_CPSW
50 tristate "TI CPSW Switch Support"
2652113f 51 depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
92db978f 52 depends on TI_CPTS || !TI_CPTS
df828598 53 select TI_DAVINCI_MDIO
0ba517b1 54 select MFD_SYSCON
9ed4050c 55 select PAGE_POOL
0ba517b1 56 select REGMAP
738a2692 57 imply PHY_TI_GMII_SEL
df828598
M
58 ---help---
59 This driver supports TI's CPSW Ethernet Switch.
60
61 To compile this driver as a module, choose M here: the module
62 will be called cpsw.
63
ed3525ed
IA
64config TI_CPSW_SWITCHDEV
65 tristate "TI CPSW Switch Support with switchdev"
66 depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
aacf6578 67 depends on NET_SWITCHDEV
92db978f 68 depends on TI_CPTS || !TI_CPTS
99e9fe22 69 select PAGE_POOL
ed3525ed
IA
70 select TI_DAVINCI_MDIO
71 select MFD_SYSCON
72 select REGMAP
73 select NET_DEVLINK
74 imply PHY_TI_GMII_SEL
75 help
76 This driver supports TI's CPSW Ethernet Switch.
77
78 To compile this driver as a module, choose M here: the module
79 will be called cpsw_new.
80
87c0e764 81config TI_CPTS
92db978f
CM
82 tristate "TI Common Platform Time Sync (CPTS) Support"
83 depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
a41efedf 84 depends on COMMON_CLK
92db978f 85 depends on PTP_1588_CLOCK
87c0e764
RC
86 ---help---
87 This driver supports the Common Platform Time Sync unit of
6246168b
WK
88 the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem.
89 The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the
90 driver offers a PTP Hardware Clock.
87c0e764 91
93a76530
GS
92config TI_K3_AM65_CPSW_NUSS
93 tristate "TI K3 AM654x/J721E CPSW Ethernet driver"
94 depends on ARCH_K3 && OF && TI_K3_UDMA_GLUE_LAYER
95 select TI_DAVINCI_MDIO
96 imply PHY_TI_GMII_SEL
97 help
98 This driver supports TI K3 AM654/J721E CPSW2G Ethernet SubSystem.
99 The two-port Gigabit Ethernet MAC (MCU_CPSW0) subsystem provides
100 Ethernet packet communication for the device: One Ethernet port
101 (port 1) with selectable RGMII and RMII interfaces and an internal
102 Communications Port Programming Interface (CPPI) port (port 0).
103
104 To compile this driver as a module, choose M here: the module
105 will be called ti-am65-cpsw-nuss.
106
84640e27 107config TI_KEYSTONE_NETCP
58c11b5f 108 tristate "TI Keystone NETCP Core Support"
f49ae149 109 select TI_DAVINCI_MDIO
84640e27
KM
110 depends on OF
111 depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
92db978f 112 depends on TI_CPTS || !TI_CPTS
84640e27 113 ---help---
58c11b5f 114 This driver supports TI's Keystone NETCP Core.
84640e27
KM
115
116 To compile this driver as a module, choose M here: the module
117 will be called keystone_netcp.
118
58c11b5f
KM
119config TI_KEYSTONE_NETCP_ETHSS
120 depends on TI_KEYSTONE_NETCP
121 tristate "TI Keystone NETCP Ethernet subsystem Support"
122 ---help---
123
124 To compile this driver as a module, choose M here: the module
125 will be called keystone_netcp_ethss.
126
b544dbac
JK
127config TLAN
128 tristate "TI ThunderLAN support"
129 depends on (PCI || EISA)
130 ---help---
131 If you have a PCI Ethernet network card based on the ThunderLAN chip
138b15ed 132 which is supported by this driver, say Y here.
b544dbac
JK
133
134 Devices currently supported by this driver are Compaq Netelligent,
135 Compaq NetFlex and Olicom cards. Please read the file
b255e500
JK
136 <file:Documentation/networking/device_drivers/ti/tlan.txt>
137 for more details.
b544dbac
JK
138
139 To compile this driver as a module, choose M here. The module
140 will be called tlan.
141
142 Please email feedback to <torben.mathiasen@compaq.com>.
143
144config CPMAC
8ff25eeb
KC
145 tristate "TI AR7 CPMAC Ethernet support"
146 depends on AR7
b544dbac
JK
147 select PHYLIB
148 ---help---
149 TI AR7 CPMAC Ethernet support
150
151endif # NET_VENDOR_TI