.. | .. |
---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | # |
---|
2 | 3 | # TI device configuration |
---|
3 | 4 | # |
---|
.. | .. |
---|
5 | 6 | config NET_VENDOR_TI |
---|
6 | 7 | bool "Texas Instruments (TI) devices" |
---|
7 | 8 | default y |
---|
8 | | - depends on PCI || EISA || AR7 || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE |
---|
9 | | - ---help--- |
---|
| 9 | + depends on PCI || EISA || AR7 || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 |
---|
| 10 | + help |
---|
10 | 11 | If you have a network (Ethernet) card belonging to this class, say Y. |
---|
11 | 12 | |
---|
12 | 13 | Note that the answer to this question doesn't directly affect the |
---|
.. | .. |
---|
20 | 21 | tristate "TI DaVinci EMAC Support" |
---|
21 | 22 | depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) || COMPILE_TEST |
---|
22 | 23 | select TI_DAVINCI_MDIO |
---|
23 | | - select TI_DAVINCI_CPDMA |
---|
24 | 24 | select PHYLIB |
---|
25 | | - ---help--- |
---|
| 25 | + select GENERIC_ALLOCATOR |
---|
| 26 | + help |
---|
26 | 27 | This driver supports TI's DaVinci Ethernet . |
---|
27 | 28 | |
---|
28 | 29 | To compile this driver as a module, choose M here: the module |
---|
.. | .. |
---|
30 | 31 | |
---|
31 | 32 | config TI_DAVINCI_MDIO |
---|
32 | 33 | tristate "TI DaVinci MDIO Support" |
---|
33 | | - depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST |
---|
| 34 | + depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST |
---|
34 | 35 | select PHYLIB |
---|
35 | | - ---help--- |
---|
| 36 | + help |
---|
36 | 37 | This driver supports TI's DaVinci MDIO module. |
---|
37 | 38 | |
---|
38 | 39 | To compile this driver as a module, choose M here: the module |
---|
39 | 40 | will be called davinci_mdio. This is recommended. |
---|
40 | 41 | |
---|
41 | | -config TI_DAVINCI_CPDMA |
---|
42 | | - tristate "TI DaVinci CPDMA Support" |
---|
43 | | - depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST |
---|
44 | | - select GENERIC_ALLOCATOR |
---|
45 | | - ---help--- |
---|
46 | | - This driver supports TI's DaVinci CPDMA dma engine. |
---|
47 | | - |
---|
48 | | - To compile this driver as a module, choose M here: the module |
---|
49 | | - will be called davinci_cpdma. This is recommended. |
---|
50 | | - |
---|
51 | 42 | config TI_CPSW_PHY_SEL |
---|
52 | | - bool |
---|
53 | | - ---help--- |
---|
| 43 | + bool "TI CPSW Phy mode Selection (DEPRECATED)" |
---|
| 44 | + default n |
---|
| 45 | + help |
---|
54 | 46 | This driver supports configuring of the phy mode connected to |
---|
55 | | - the CPSW. |
---|
56 | | - |
---|
57 | | -config TI_CPSW_ALE |
---|
58 | | - tristate "TI CPSW ALE Support" |
---|
59 | | - ---help--- |
---|
60 | | - This driver supports TI's CPSW ALE module. |
---|
| 47 | + the CPSW. DEPRECATED: use PHY_TI_GMII_SEL. |
---|
61 | 48 | |
---|
62 | 49 | config TI_CPSW |
---|
63 | 50 | tristate "TI CPSW Switch Support" |
---|
64 | 51 | depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST |
---|
65 | | - select TI_DAVINCI_CPDMA |
---|
| 52 | + depends on TI_CPTS || !TI_CPTS |
---|
66 | 53 | select TI_DAVINCI_MDIO |
---|
67 | | - select TI_CPSW_PHY_SEL |
---|
68 | | - select TI_CPSW_ALE |
---|
69 | 54 | select MFD_SYSCON |
---|
| 55 | + select PAGE_POOL |
---|
70 | 56 | select REGMAP |
---|
71 | | - ---help--- |
---|
| 57 | + imply PHY_TI_GMII_SEL |
---|
| 58 | + help |
---|
72 | 59 | This driver supports TI's CPSW Ethernet Switch. |
---|
73 | 60 | |
---|
74 | 61 | To compile this driver as a module, choose M here: the module |
---|
75 | 62 | will be called cpsw. |
---|
76 | 63 | |
---|
| 64 | +config 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 |
---|
| 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 | + |
---|
77 | 81 | config TI_CPTS |
---|
78 | | - bool "TI Common Platform Time Sync (CPTS) Support" |
---|
79 | | - depends on TI_CPSW || TI_KEYSTONE_NETCP || COMPILE_TEST |
---|
80 | | - depends on POSIX_TIMERS |
---|
81 | | - ---help--- |
---|
| 82 | + tristate "TI Common Platform Time Sync (CPTS) Support" |
---|
| 83 | + depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST |
---|
| 84 | + depends on COMMON_CLK |
---|
| 85 | + depends on PTP_1588_CLOCK |
---|
| 86 | + help |
---|
82 | 87 | This driver supports the Common Platform Time Sync unit of |
---|
83 | 88 | the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem. |
---|
84 | 89 | The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the |
---|
85 | 90 | driver offers a PTP Hardware Clock. |
---|
86 | 91 | |
---|
87 | | -config TI_CPTS_MOD |
---|
88 | | - tristate |
---|
89 | | - depends on TI_CPTS |
---|
90 | | - default y if TI_CPSW=y || TI_KEYSTONE_NETCP=y |
---|
91 | | - select NET_PTP_CLASSIFY |
---|
92 | | - imply PTP_1588_CLOCK |
---|
93 | | - default m |
---|
| 92 | +config 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 | + depends on TI_K3_AM65_CPTS || !TI_K3_AM65_CPTS |
---|
| 98 | + help |
---|
| 99 | + This driver supports TI K3 AM654/J721E CPSW2G Ethernet SubSystem. |
---|
| 100 | + The two-port Gigabit Ethernet MAC (MCU_CPSW0) subsystem provides |
---|
| 101 | + Ethernet packet communication for the device: One Ethernet port |
---|
| 102 | + (port 1) with selectable RGMII and RMII interfaces and an internal |
---|
| 103 | + Communications Port Programming Interface (CPPI) port (port 0). |
---|
| 104 | + |
---|
| 105 | + To compile this driver as a module, choose M here: the module |
---|
| 106 | + will be called ti-am65-cpsw-nuss. |
---|
| 107 | + |
---|
| 108 | +config TI_K3_AM65_CPTS |
---|
| 109 | + tristate "TI K3 AM65x CPTS" |
---|
| 110 | + depends on ARCH_K3 && OF |
---|
| 111 | + depends on PTP_1588_CLOCK |
---|
| 112 | + help |
---|
| 113 | + Say y here to support the TI K3 AM65x CPTS with 1588 features such as |
---|
| 114 | + PTP hardware clock for each CPTS device and network packets |
---|
| 115 | + timestamping where applicable. |
---|
| 116 | + Depending on integration CPTS blocks enable compliance with |
---|
| 117 | + the IEEE 1588-2008 standard for a precision clock synchronization |
---|
| 118 | + protocol, Ethernet Enhanced Scheduled Traffic Operations (CPTS_ESTFn) |
---|
| 119 | + and PCIe Subsystem Precision Time Measurement (PTM). |
---|
| 120 | + |
---|
| 121 | +config TI_AM65_CPSW_TAS |
---|
| 122 | + bool "Enable TAS offload in AM65 CPSW" |
---|
| 123 | + depends on TI_K3_AM65_CPSW_NUSS && NET_SCH_TAPRIO && TI_K3_AM65_CPTS |
---|
| 124 | + help |
---|
| 125 | + Say y here to support Time Aware Shaper(TAS) offload in AM65 CPSW. |
---|
| 126 | + AM65 CPSW hardware supports Enhanced Scheduled Traffic (EST) |
---|
| 127 | + defined in IEEE 802.1Q 2018. The EST scheduler runs on CPTS and the |
---|
| 128 | + TAS/EST schedule is updated in the Fetch RAM memory of the CPSW. |
---|
94 | 129 | |
---|
95 | 130 | config TI_KEYSTONE_NETCP |
---|
96 | 131 | tristate "TI Keystone NETCP Core Support" |
---|
97 | | - select TI_CPSW_ALE |
---|
98 | 132 | select TI_DAVINCI_MDIO |
---|
99 | 133 | depends on OF |
---|
100 | 134 | depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS |
---|
101 | | - ---help--- |
---|
| 135 | + depends on TI_CPTS || !TI_CPTS |
---|
| 136 | + help |
---|
102 | 137 | This driver supports TI's Keystone NETCP Core. |
---|
103 | 138 | |
---|
104 | 139 | To compile this driver as a module, choose M here: the module |
---|
.. | .. |
---|
107 | 142 | config TI_KEYSTONE_NETCP_ETHSS |
---|
108 | 143 | depends on TI_KEYSTONE_NETCP |
---|
109 | 144 | tristate "TI Keystone NETCP Ethernet subsystem Support" |
---|
110 | | - ---help--- |
---|
| 145 | + help |
---|
111 | 146 | |
---|
112 | 147 | To compile this driver as a module, choose M here: the module |
---|
113 | 148 | will be called keystone_netcp_ethss. |
---|
.. | .. |
---|
115 | 150 | config TLAN |
---|
116 | 151 | tristate "TI ThunderLAN support" |
---|
117 | 152 | depends on (PCI || EISA) |
---|
118 | | - ---help--- |
---|
| 153 | + help |
---|
119 | 154 | If you have a PCI Ethernet network card based on the ThunderLAN chip |
---|
120 | 155 | which is supported by this driver, say Y here. |
---|
121 | 156 | |
---|
122 | 157 | Devices currently supported by this driver are Compaq Netelligent, |
---|
123 | 158 | Compaq NetFlex and Olicom cards. Please read the file |
---|
124 | | - <file:Documentation/networking/tlan.txt> for more details. |
---|
| 159 | + <file:Documentation/networking/device_drivers/ethernet/ti/tlan.rst> |
---|
| 160 | + for more details. |
---|
125 | 161 | |
---|
126 | 162 | To compile this driver as a module, choose M here. The module |
---|
127 | 163 | will be called tlan. |
---|
.. | .. |
---|
132 | 168 | tristate "TI AR7 CPMAC Ethernet support" |
---|
133 | 169 | depends on AR7 |
---|
134 | 170 | select PHYLIB |
---|
135 | | - ---help--- |
---|
| 171 | + help |
---|
136 | 172 | TI AR7 CPMAC Ethernet support |
---|
137 | 173 | |
---|
138 | 174 | endif # NET_VENDOR_TI |
---|