Kconfig (92db978f0d686468e527d49268e7c7e8d97d334b) Kconfig (8127224c2708aa1558e2be7bbd1b7e9b07860de6)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# TI device configuration
4#
5
6config NET_VENDOR_TI
7 bool "Texas Instruments (TI) devices"
8 default y

--- 35 unchanged lines hidden (view full) ---

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
49config TI_CPSW
50 tristate "TI CPSW Switch Support"
51 depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# TI device configuration
4#
5
6config NET_VENDOR_TI
7 bool "Texas Instruments (TI) devices"
8 default y

--- 35 unchanged lines hidden (view full) ---

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
49config TI_CPSW
50 tristate "TI CPSW Switch Support"
51 depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
52 depends on TI_CPTS || !TI_CPTS
53 select TI_DAVINCI_MDIO
54 select MFD_SYSCON
55 select PAGE_POOL
56 select REGMAP
57 imply PHY_TI_GMII_SEL
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
64config TI_CPSW_SWITCHDEV
65 tristate "TI CPSW Switch Support with switchdev"
66 depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
67 depends on NET_SWITCHDEV
52 select TI_DAVINCI_MDIO
53 select MFD_SYSCON
54 select PAGE_POOL
55 select REGMAP
56 imply PHY_TI_GMII_SEL
57 ---help---
58 This driver supports TI's CPSW Ethernet Switch.
59
60 To compile this driver as a module, choose M here: the module
61 will be called cpsw.
62
63config TI_CPSW_SWITCHDEV
64 tristate "TI CPSW Switch Support with switchdev"
65 depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
66 depends on NET_SWITCHDEV
68 depends on TI_CPTS || !TI_CPTS
69 select PAGE_POOL
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
81config TI_CPTS
67 select PAGE_POOL
68 select TI_DAVINCI_MDIO
69 select MFD_SYSCON
70 select REGMAP
71 select NET_DEVLINK
72 imply PHY_TI_GMII_SEL
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_new.
78
79config TI_CPTS
82 tristate "TI Common Platform Time Sync (CPTS) Support"
83 depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
80 bool "TI Common Platform Time Sync (CPTS) Support"
81 depends on TI_CPSW || TI_KEYSTONE_NETCP || TI_CPSW_SWITCHDEV || COMPILE_TEST
84 depends on COMMON_CLK
82 depends on COMMON_CLK
85 depends on PTP_1588_CLOCK
83 depends on POSIX_TIMERS
86 ---help---
87 This driver supports the Common Platform Time Sync unit of
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.
91
84 ---help---
85 This driver supports the Common Platform Time Sync unit of
86 the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem.
87 The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the
88 driver offers a PTP Hardware Clock.
89
90config TI_CPTS_MOD
91 tristate
92 depends on TI_CPTS
93 depends on PTP_1588_CLOCK
94 default y if TI_CPSW=y || TI_KEYSTONE_NETCP=y || TI_CPSW_SWITCHDEV=y
95 default m
96
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
97config TI_K3_AM65_CPSW_NUSS
98 tristate "TI K3 AM654x/J721E CPSW Ethernet driver"
99 depends on ARCH_K3 && OF && TI_K3_UDMA_GLUE_LAYER
100 select TI_DAVINCI_MDIO
101 imply PHY_TI_GMII_SEL
102 depends on TI_K3_AM65_CPTS || !TI_K3_AM65_CPTS
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
103 help
104 This driver supports TI K3 AM654/J721E CPSW2G Ethernet SubSystem.
105 The two-port Gigabit Ethernet MAC (MCU_CPSW0) subsystem provides
106 Ethernet packet communication for the device: One Ethernet port
107 (port 1) with selectable RGMII and RMII interfaces and an internal
108 Communications Port Programming Interface (CPPI) port (port 0).
109
110 To compile this driver as a module, choose M here: the module
111 will be called ti-am65-cpsw-nuss.
112
113config TI_K3_AM65_CPTS
114 tristate "TI K3 AM65x CPTS"
115 depends on ARCH_K3 && OF
116 depends on PTP_1588_CLOCK
117 help
118 Say y here to support the TI K3 AM65x CPTS with 1588 features such as
119 PTP hardware clock for each CPTS device and network packets
120 timestamping where applicable.
121 Depending on integration CPTS blocks enable compliance with
122 the IEEE 1588-2008 standard for a precision clock synchronization
123 protocol, Ethernet Enhanced Scheduled Traffic Operations (CPTS_ESTFn)
124 and PCIe Subsystem Precision Time Measurement (PTM).
125
126config TI_AM65_CPSW_TAS
127 bool "Enable TAS offload in AM65 CPSW"
128 depends on TI_K3_AM65_CPSW_NUSS && NET_SCH_TAPRIO && TI_K3_AM65_CPTS
129 help
130 Say y here to support Time Aware Shaper(TAS) offload in AM65 CPSW.
131 AM65 CPSW hardware supports Enhanced Scheduled Traffic (EST)
132 defined in IEEE 802.1Q 2018. The EST scheduler runs on CPTS and the
133 TAS/EST schedule is updated in the Fetch RAM memory of the CPSW.
134
107config TI_KEYSTONE_NETCP
108 tristate "TI Keystone NETCP Core Support"
109 select TI_DAVINCI_MDIO
110 depends on OF
111 depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
135config TI_KEYSTONE_NETCP
136 tristate "TI Keystone NETCP Core Support"
137 select TI_DAVINCI_MDIO
138 depends on OF
139 depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
112 depends on TI_CPTS || !TI_CPTS
113 ---help---
114 This driver supports TI's Keystone NETCP Core.
115
116 To compile this driver as a module, choose M here: the module
117 will be called keystone_netcp.
118
119config TI_KEYSTONE_NETCP_ETHSS
120 depends on TI_KEYSTONE_NETCP

--- 7 unchanged lines hidden (view full) ---

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
132 which is supported by this driver, say Y here.
133
134 Devices currently supported by this driver are Compaq Netelligent,
135 Compaq NetFlex and Olicom cards. Please read the file
140 ---help---
141 This driver supports TI's Keystone NETCP Core.
142
143 To compile this driver as a module, choose M here: the module
144 will be called keystone_netcp.
145
146config TI_KEYSTONE_NETCP_ETHSS
147 depends on TI_KEYSTONE_NETCP

--- 7 unchanged lines hidden (view full) ---

155 tristate "TI ThunderLAN support"
156 depends on (PCI || EISA)
157 ---help---
158 If you have a PCI Ethernet network card based on the ThunderLAN chip
159 which is supported by this driver, say Y here.
160
161 Devices currently supported by this driver are Compaq Netelligent,
162 Compaq NetFlex and Olicom cards. Please read the file
136 <file:Documentation/networking/device_drivers/ti/tlan.txt>
163 <file:Documentation/networking/device_drivers/ti/tlan.rst>
137 for more details.
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
145 tristate "TI AR7 CPMAC Ethernet support"
146 depends on AR7
147 select PHYLIB
148 ---help---
149 TI AR7 CPMAC Ethernet support
150
151endif # NET_VENDOR_TI
164 for more details.
165
166 To compile this driver as a module, choose M here. The module
167 will be called tlan.
168
169 Please email feedback to <torben.mathiasen@compaq.com>.
170
171config CPMAC
172 tristate "TI AR7 CPMAC Ethernet support"
173 depends on AR7
174 select PHYLIB
175 ---help---
176 TI AR7 CPMAC Ethernet support
177
178endif # NET_VENDOR_TI