1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 2b544dbacSJeff Kirsher# 3b544dbacSJeff Kirsher# TI device configuration 4b544dbacSJeff Kirsher# 5b544dbacSJeff Kirsher 6b544dbacSJeff Kirsherconfig NET_VENDOR_TI 7b544dbacSJeff Kirsher bool "Texas Instruments (TI) devices" 888f07484SJeff Kirsher default y 993a76530SGrygorii Strashko depends on PCI || EISA || AR7 || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 10a7f7f624SMasahiro Yamada help 11138b15edSPaul Gortmaker If you have a network (Ethernet) card belonging to this class, say Y. 12b544dbacSJeff Kirsher 13b544dbacSJeff Kirsher Note that the answer to this question doesn't directly affect the 14b544dbacSJeff Kirsher kernel: saying N will just cause the configurator to skip all 15b544dbacSJeff Kirsher the questions about TI devices. If you say Y, you will be asked for 16b544dbacSJeff Kirsher your specific card in the following questions. 17b544dbacSJeff Kirsher 18b544dbacSJeff Kirsherif NET_VENDOR_TI 19b544dbacSJeff Kirsher 20b544dbacSJeff Kirsherconfig TI_DAVINCI_EMAC 21b544dbacSJeff Kirsher tristate "TI DaVinci EMAC Support" 222652113fSFlorian Fainelli depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) || COMPILE_TEST 23b544dbacSJeff Kirsher select TI_DAVINCI_MDIO 24b544dbacSJeff Kirsher select PHYLIB 25b2ef81dcSMao Wenan select GENERIC_ALLOCATOR 26a7f7f624SMasahiro Yamada help 27b544dbacSJeff Kirsher This driver supports TI's DaVinci Ethernet . 28b544dbacSJeff Kirsher 29b544dbacSJeff Kirsher To compile this driver as a module, choose M here: the module 30b544dbacSJeff Kirsher will be called davinci_emac_driver. This is recommended. 31b544dbacSJeff Kirsher 32b544dbacSJeff Kirsherconfig TI_DAVINCI_MDIO 33b544dbacSJeff Kirsher tristate "TI DaVinci MDIO Support" 3493a76530SGrygorii Strashko depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST 35b544dbacSJeff Kirsher select PHYLIB 36a7f7f624SMasahiro Yamada help 37b544dbacSJeff Kirsher This driver supports TI's DaVinci MDIO module. 38b544dbacSJeff Kirsher 39b544dbacSJeff Kirsher To compile this driver as a module, choose M here: the module 40b544dbacSJeff Kirsher will be called davinci_mdio. This is recommended. 41b544dbacSJeff Kirsher 425892cd13SMugunthan V Nconfig TI_CPSW_PHY_SEL 43dba235faSGrygorii Strashko bool "TI CPSW Phy mode Selection (DEPRECATED)" 44dba235faSGrygorii Strashko default n 45a7f7f624SMasahiro Yamada help 465892cd13SMugunthan V N This driver supports configuring of the phy mode connected to 47dba235faSGrygorii Strashko the CPSW. DEPRECATED: use PHY_TI_GMII_SEL. 485892cd13SMugunthan V N 49df828598SMugunthan V Nconfig TI_CPSW 50df828598SMugunthan V N tristate "TI CPSW Switch Support" 512652113fSFlorian Fainelli depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST 5292db978fSClay McClure depends on TI_CPTS || !TI_CPTS 53df828598SMugunthan V N select TI_DAVINCI_MDIO 540ba517b1SMarkus Pargmann select MFD_SYSCON 559ed4050cSIvan Khoronzhuk select PAGE_POOL 560ba517b1SMarkus Pargmann select REGMAP 57738a2692SGrygorii Strashko imply PHY_TI_GMII_SEL 58a7f7f624SMasahiro Yamada help 59df828598SMugunthan V N This driver supports TI's CPSW Ethernet Switch. 60df828598SMugunthan V N 61df828598SMugunthan V N To compile this driver as a module, choose M here: the module 62df828598SMugunthan V N will be called cpsw. 63df828598SMugunthan V N 64ed3525edSIlias Apalodimasconfig TI_CPSW_SWITCHDEV 65ed3525edSIlias Apalodimas tristate "TI CPSW Switch Support with switchdev" 66ed3525edSIlias Apalodimas depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST 67aacf6578SGrygorii Strashko depends on NET_SWITCHDEV 6892db978fSClay McClure depends on TI_CPTS || !TI_CPTS 6999e9fe22SArnd Bergmann select PAGE_POOL 70ed3525edSIlias Apalodimas select TI_DAVINCI_MDIO 71ed3525edSIlias Apalodimas select MFD_SYSCON 72ed3525edSIlias Apalodimas select REGMAP 73ed3525edSIlias Apalodimas select NET_DEVLINK 74ed3525edSIlias Apalodimas imply PHY_TI_GMII_SEL 75ed3525edSIlias Apalodimas help 76ed3525edSIlias Apalodimas This driver supports TI's CPSW Ethernet Switch. 77ed3525edSIlias Apalodimas 78ed3525edSIlias Apalodimas To compile this driver as a module, choose M here: the module 79ed3525edSIlias Apalodimas will be called cpsw_new. 80ed3525edSIlias Apalodimas 8187c0e764SRichard Cochranconfig TI_CPTS 8292db978fSClay McClure tristate "TI Common Platform Time Sync (CPTS) Support" 8392db978fSClay McClure depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST 84a41efedfSGrygorii Strashko depends on COMMON_CLK 8592db978fSClay McClure depends on PTP_1588_CLOCK 86a7f7f624SMasahiro Yamada help 8787c0e764SRichard Cochran This driver supports the Common Platform Time Sync unit of 886246168bSWingMan Kwok the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem. 896246168bSWingMan Kwok The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the 906246168bSWingMan Kwok driver offers a PTP Hardware Clock. 9187c0e764SRichard Cochran 9293a76530SGrygorii Strashkoconfig TI_K3_AM65_CPSW_NUSS 9393a76530SGrygorii Strashko tristate "TI K3 AM654x/J721E CPSW Ethernet driver" 9493a76530SGrygorii Strashko depends on ARCH_K3 && OF && TI_K3_UDMA_GLUE_LAYER 9593a76530SGrygorii Strashko select TI_DAVINCI_MDIO 9693a76530SGrygorii Strashko imply PHY_TI_GMII_SEL 9701241aa0SGrygorii Strashko depends on TI_K3_AM65_CPTS || !TI_K3_AM65_CPTS 9893a76530SGrygorii Strashko help 9993a76530SGrygorii Strashko This driver supports TI K3 AM654/J721E CPSW2G Ethernet SubSystem. 10093a76530SGrygorii Strashko The two-port Gigabit Ethernet MAC (MCU_CPSW0) subsystem provides 10193a76530SGrygorii Strashko Ethernet packet communication for the device: One Ethernet port 10293a76530SGrygorii Strashko (port 1) with selectable RGMII and RMII interfaces and an internal 10393a76530SGrygorii Strashko Communications Port Programming Interface (CPPI) port (port 0). 10493a76530SGrygorii Strashko 10593a76530SGrygorii Strashko To compile this driver as a module, choose M here: the module 10693a76530SGrygorii Strashko will be called ti-am65-cpsw-nuss. 10793a76530SGrygorii Strashko 108f6bd5952SGrygorii Strashkoconfig TI_K3_AM65_CPTS 109f6bd5952SGrygorii Strashko tristate "TI K3 AM65x CPTS" 11001241aa0SGrygorii Strashko depends on ARCH_K3 && OF 111f6bd5952SGrygorii Strashko depends on PTP_1588_CLOCK 112f6bd5952SGrygorii Strashko help 113f6bd5952SGrygorii Strashko Say y here to support the TI K3 AM65x CPTS with 1588 features such as 114f6bd5952SGrygorii Strashko PTP hardware clock for each CPTS device and network packets 115f6bd5952SGrygorii Strashko timestamping where applicable. 116f6bd5952SGrygorii Strashko Depending on integration CPTS blocks enable compliance with 117f6bd5952SGrygorii Strashko the IEEE 1588-2008 standard for a precision clock synchronization 118f6bd5952SGrygorii Strashko protocol, Ethernet Enhanced Scheduled Traffic Operations (CPTS_ESTFn) 119f6bd5952SGrygorii Strashko and PCIe Subsystem Precision Time Measurement (PTM). 120f6bd5952SGrygorii Strashko 1218127224cSIvan Khoronzhukconfig TI_AM65_CPSW_TAS 1228127224cSIvan Khoronzhuk bool "Enable TAS offload in AM65 CPSW" 1238127224cSIvan Khoronzhuk depends on TI_K3_AM65_CPSW_NUSS && NET_SCH_TAPRIO && TI_K3_AM65_CPTS 1248127224cSIvan Khoronzhuk help 1258127224cSIvan Khoronzhuk Say y here to support Time Aware Shaper(TAS) offload in AM65 CPSW. 1268127224cSIvan Khoronzhuk AM65 CPSW hardware supports Enhanced Scheduled Traffic (EST) 1278127224cSIvan Khoronzhuk defined in IEEE 802.1Q 2018. The EST scheduler runs on CPTS and the 1288127224cSIvan Khoronzhuk TAS/EST schedule is updated in the Fetch RAM memory of the CPSW. 1298127224cSIvan Khoronzhuk 13084640e27SKaricheri, Muralidharanconfig TI_KEYSTONE_NETCP 13158c11b5fSKaricheri, Muralidharan tristate "TI Keystone NETCP Core Support" 132f49ae149SKaricheri, Muralidharan select TI_DAVINCI_MDIO 13384640e27SKaricheri, Muralidharan depends on OF 13484640e27SKaricheri, Muralidharan depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS 13592db978fSClay McClure depends on TI_CPTS || !TI_CPTS 136a7f7f624SMasahiro Yamada help 13758c11b5fSKaricheri, Muralidharan This driver supports TI's Keystone NETCP Core. 13884640e27SKaricheri, Muralidharan 13984640e27SKaricheri, Muralidharan To compile this driver as a module, choose M here: the module 14084640e27SKaricheri, Muralidharan will be called keystone_netcp. 14184640e27SKaricheri, Muralidharan 14258c11b5fSKaricheri, Muralidharanconfig TI_KEYSTONE_NETCP_ETHSS 14358c11b5fSKaricheri, Muralidharan depends on TI_KEYSTONE_NETCP 14458c11b5fSKaricheri, Muralidharan tristate "TI Keystone NETCP Ethernet subsystem Support" 145a7f7f624SMasahiro Yamada help 14658c11b5fSKaricheri, Muralidharan 14758c11b5fSKaricheri, Muralidharan To compile this driver as a module, choose M here: the module 14858c11b5fSKaricheri, Muralidharan will be called keystone_netcp_ethss. 14958c11b5fSKaricheri, Muralidharan 150b544dbacSJeff Kirsherconfig TLAN 151b544dbacSJeff Kirsher tristate "TI ThunderLAN support" 152b544dbacSJeff Kirsher depends on (PCI || EISA) 153a7f7f624SMasahiro Yamada help 154b544dbacSJeff Kirsher If you have a PCI Ethernet network card based on the ThunderLAN chip 155138b15edSPaul Gortmaker which is supported by this driver, say Y here. 156b544dbacSJeff Kirsher 157b544dbacSJeff Kirsher Devices currently supported by this driver are Compaq Netelligent, 158b544dbacSJeff Kirsher Compaq NetFlex and Olicom cards. Please read the file 159*132db935SJakub Kicinski <file:Documentation/networking/device_drivers/ethernet/ti/tlan.rst> 160b255e500SJakub Kicinski for more details. 161b544dbacSJeff Kirsher 162b544dbacSJeff Kirsher To compile this driver as a module, choose M here. The module 163b544dbacSJeff Kirsher will be called tlan. 164b544dbacSJeff Kirsher 165b544dbacSJeff Kirsher Please email feedback to <torben.mathiasen@compaq.com>. 166b544dbacSJeff Kirsher 167b544dbacSJeff Kirsherconfig CPMAC 1688ff25eebSKees Cook tristate "TI AR7 CPMAC Ethernet support" 1698ff25eebSKees Cook depends on AR7 170b544dbacSJeff Kirsher select PHYLIB 171a7f7f624SMasahiro Yamada help 172b544dbacSJeff Kirsher TI AR7 CPMAC Ethernet support 173b544dbacSJeff Kirsher 174b544dbacSJeff Kirsherendif # NET_VENDOR_TI 175