Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # TI device configuration
0004 #
0005 
0006 config NET_VENDOR_TI
0007         bool "Texas Instruments (TI) devices"
0008         default y
0009         depends on PCI || EISA || AR7 || ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3
0010         help
0011           If you have a network (Ethernet) card belonging to this class, say Y.
0012 
0013           Note that the answer to this question doesn't directly affect the
0014           kernel: saying N will just cause the configurator to skip all
0015           the questions about TI devices. If you say Y, you will be asked for
0016           your specific card in the following questions.
0017 
0018 if NET_VENDOR_TI
0019 
0020 config TI_DAVINCI_EMAC
0021         tristate "TI DaVinci EMAC Support"
0022         depends on ARM && ( ARCH_DAVINCI || ARCH_OMAP3 ) || COMPILE_TEST
0023         select TI_DAVINCI_MDIO
0024         select PHYLIB
0025         select GENERIC_ALLOCATOR
0026         help
0027           This driver supports TI's DaVinci Ethernet .
0028 
0029           To compile this driver as a module, choose M here: the module
0030           will be called davinci_emac_driver.  This is recommended.
0031 
0032 config TI_DAVINCI_MDIO
0033         tristate "TI DaVinci MDIO Support"
0034         depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
0035         select PHYLIB
0036         help
0037           This driver supports TI's DaVinci MDIO module.
0038 
0039           To compile this driver as a module, choose M here: the module
0040           will be called davinci_mdio.  This is recommended.
0041 
0042 config TI_CPSW_PHY_SEL
0043         bool "TI CPSW Phy mode Selection (DEPRECATED)"
0044         default n
0045         help
0046           This driver supports configuring of the phy mode connected to
0047           the CPSW. DEPRECATED: use PHY_TI_GMII_SEL.
0048 
0049 config TI_CPSW
0050         tristate "TI CPSW Switch Support"
0051         depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
0052         depends on TI_CPTS || !TI_CPTS
0053         select TI_DAVINCI_MDIO
0054         select MFD_SYSCON
0055         select PAGE_POOL
0056         select REGMAP
0057         imply PHY_TI_GMII_SEL
0058         help
0059           This driver supports TI's CPSW Ethernet Switch.
0060 
0061           To compile this driver as a module, choose M here: the module
0062           will be called cpsw.
0063 
0064 config TI_CPSW_SWITCHDEV
0065         tristate "TI CPSW Switch Support with switchdev"
0066         depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || COMPILE_TEST
0067         depends on NET_SWITCHDEV
0068         depends on TI_CPTS || !TI_CPTS
0069         select PAGE_POOL
0070         select TI_DAVINCI_MDIO
0071         select MFD_SYSCON
0072         select REGMAP
0073         select NET_DEVLINK
0074         imply PHY_TI_GMII_SEL
0075         help
0076           This driver supports TI's CPSW Ethernet Switch.
0077 
0078           To compile this driver as a module, choose M here: the module
0079           will be called cpsw_new.
0080 
0081 config TI_CPTS
0082         tristate "TI Common Platform Time Sync (CPTS) Support"
0083         depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
0084         depends on COMMON_CLK
0085         depends on PTP_1588_CLOCK
0086         help
0087           This driver supports the Common Platform Time Sync unit of
0088           the CPSW Ethernet Switch and Keystone 2 1g/10g Switch Subsystem.
0089           The unit can time stamp PTP UDP/IPv4 and Layer 2 packets, and the
0090           driver offers a PTP Hardware Clock.
0091 
0092 config TI_K3_AM65_CPSW_NUSS
0093         tristate "TI K3 AM654x/J721E CPSW Ethernet driver"
0094         depends on ARCH_K3 && OF && TI_K3_UDMA_GLUE_LAYER
0095         select NET_DEVLINK
0096         select TI_DAVINCI_MDIO
0097         select PHYLINK
0098         imply PHY_TI_GMII_SEL
0099         depends on TI_K3_AM65_CPTS || !TI_K3_AM65_CPTS
0100         help
0101           This driver supports TI K3 AM654/J721E CPSW2G Ethernet SubSystem.
0102           The two-port Gigabit Ethernet MAC (MCU_CPSW0) subsystem provides
0103           Ethernet packet communication for the device: One Ethernet port
0104           (port 1) with selectable RGMII and RMII interfaces and an internal
0105           Communications Port Programming Interface (CPPI) port (port 0).
0106 
0107           To compile this driver as a module, choose M here: the module
0108           will be called ti-am65-cpsw-nuss.
0109 
0110 config TI_K3_AM65_CPSW_SWITCHDEV
0111         bool "TI K3 AM654x/J721E CPSW Switch mode support"
0112         depends on TI_K3_AM65_CPSW_NUSS
0113         depends on NET_SWITCHDEV
0114         help
0115          This enables switchdev support for TI K3 CPSWxG Ethernet
0116          Switch. Enable this driver to support hardware switch support for AM65
0117          CPSW NUSS driver.
0118 
0119 config TI_K3_AM65_CPTS
0120         tristate "TI K3 AM65x CPTS"
0121         depends on ARCH_K3 && OF
0122         depends on PTP_1588_CLOCK
0123         help
0124           Say y here to support the TI K3 AM65x CPTS with 1588 features such as
0125           PTP hardware clock for each CPTS device and network packets
0126           timestamping where applicable.
0127           Depending on integration CPTS blocks enable compliance with
0128           the IEEE 1588-2008 standard for a precision clock synchronization
0129           protocol, Ethernet Enhanced Scheduled Traffic Operations (CPTS_ESTFn)
0130           and PCIe Subsystem Precision Time Measurement (PTM).
0131 
0132 config TI_AM65_CPSW_TAS
0133         bool "Enable TAS offload in AM65 CPSW"
0134         depends on TI_K3_AM65_CPSW_NUSS && NET_SCH_TAPRIO && TI_K3_AM65_CPTS
0135         help
0136           Say y here to support Time Aware Shaper(TAS) offload in AM65 CPSW.
0137           AM65 CPSW hardware supports Enhanced Scheduled Traffic (EST)
0138           defined in IEEE 802.1Q 2018. The EST scheduler runs on CPTS and the
0139           TAS/EST schedule is updated in the Fetch RAM memory of the CPSW.
0140 
0141 config TI_KEYSTONE_NETCP
0142         tristate "TI Keystone NETCP Core Support"
0143         select TI_DAVINCI_MDIO
0144         depends on OF
0145         depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
0146         depends on TI_CPTS || !TI_CPTS
0147         help
0148           This driver supports TI's Keystone NETCP Core.
0149 
0150           To compile this driver as a module, choose M here: the module
0151           will be called keystone_netcp.
0152 
0153 config TI_KEYSTONE_NETCP_ETHSS
0154         depends on TI_KEYSTONE_NETCP
0155         tristate "TI Keystone NETCP Ethernet subsystem Support"
0156         help
0157 
0158           To compile this driver as a module, choose M here: the module
0159           will be called keystone_netcp_ethss.
0160 
0161 config TLAN
0162         tristate "TI ThunderLAN support"
0163         depends on (PCI || EISA)
0164         help
0165           If you have a PCI Ethernet network card based on the ThunderLAN chip
0166           which is supported by this driver, say Y here.
0167 
0168           Devices currently supported by this driver are Compaq Netelligent,
0169           Compaq NetFlex and Olicom cards.  Please read the file
0170           <file:Documentation/networking/device_drivers/ethernet/ti/tlan.rst>
0171           for more details.
0172 
0173           To compile this driver as a module, choose M here. The module
0174           will be called tlan.
0175 
0176           Please email feedback to <torben.mathiasen@compaq.com>.
0177 
0178 config CPMAC
0179         tristate "TI AR7 CPMAC Ethernet support"
0180         depends on AR7
0181         select PHYLIB
0182         help
0183           TI AR7 CPMAC Ethernet support
0184 
0185 endif # NET_VENDOR_TI