]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - drivers/net/ethernet/ti/Kconfig
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[mirror_ubuntu-jammy-kernel.git] / drivers / net / ethernet / ti / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # TI device configuration
4 #
5
6 config 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
18 if NET_VENDOR_TI
19
20 config 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
32 config 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
42 config 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
49 config 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
62 config TI_CPSW_SWITCHDEV
63 tristate "TI CPSW Switch Support with switchdev"
64 depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
65 select NET_SWITCHDEV
66 select TI_DAVINCI_MDIO
67 select MFD_SYSCON
68 select REGMAP
69 select NET_DEVLINK
70 imply PHY_TI_GMII_SEL
71 help
72 This driver supports TI's CPSW Ethernet Switch.
73
74 To compile this driver as a module, choose M here: the module
75 will be called cpsw_new.
76
77 config TI_CPTS
78 bool "TI Common Platform Time Sync (CPTS) Support"
79 depends on TI_CPSW || TI_KEYSTONE_NETCP || TI_CPSW_SWITCHDEV || COMPILE_TEST
80 depends on COMMON_CLK
81 depends on POSIX_TIMERS
82 ---help---
83 This driver supports the Common Platform Time Sync unit of
84 the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem.
85 The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the
86 driver offers a PTP Hardware Clock.
87
88 config TI_CPTS_MOD
89 tristate
90 depends on TI_CPTS
91 default y if TI_CPSW=y || TI_KEYSTONE_NETCP=y || TI_CPSW_SWITCHDEV=y
92 select NET_PTP_CLASSIFY
93 imply PTP_1588_CLOCK
94 default m
95
96 config TI_KEYSTONE_NETCP
97 tristate "TI Keystone NETCP Core Support"
98 select TI_DAVINCI_MDIO
99 depends on OF
100 depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
101 ---help---
102 This driver supports TI's Keystone NETCP Core.
103
104 To compile this driver as a module, choose M here: the module
105 will be called keystone_netcp.
106
107 config TI_KEYSTONE_NETCP_ETHSS
108 depends on TI_KEYSTONE_NETCP
109 tristate "TI Keystone NETCP Ethernet subsystem Support"
110 ---help---
111
112 To compile this driver as a module, choose M here: the module
113 will be called keystone_netcp_ethss.
114
115 config TLAN
116 tristate "TI ThunderLAN support"
117 depends on (PCI || EISA)
118 ---help---
119 If you have a PCI Ethernet network card based on the ThunderLAN chip
120 which is supported by this driver, say Y here.
121
122 Devices currently supported by this driver are Compaq Netelligent,
123 Compaq NetFlex and Olicom cards. Please read the file
124 <file:Documentation/networking/device_drivers/ti/tlan.txt>
125 for more details.
126
127 To compile this driver as a module, choose M here. The module
128 will be called tlan.
129
130 Please email feedback to <torben.mathiasen@compaq.com>.
131
132 config CPMAC
133 tristate "TI AR7 CPMAC Ethernet support"
134 depends on AR7
135 select PHYLIB
136 ---help---
137 TI AR7 CPMAC Ethernet support
138
139 endif # NET_VENDOR_TI