Kconfig (68f0f2690e183306b52671a9ad09fb31808b0500) Kconfig (92db978f0d686468e527d49268e7c7e8d97d334b)
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
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
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
68 depends on TI_CPTS || !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
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
80 bool "TI Common Platform Time Sync (CPTS) Support"
81 depends on TI_CPSW || TI_KEYSTONE_NETCP || TI_CPSW_SWITCHDEV || COMPILE_TEST
82 tristate "TI Common Platform Time Sync (CPTS) Support"
83 depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || COMPILE_TEST
82 depends on COMMON_CLK
84 depends on COMMON_CLK
83 depends on POSIX_TIMERS
85 depends on PTP_1588_CLOCK
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
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
90config TI_CPTS_MOD
91 tristate
92 depends on TI_CPTS
93 default y if TI_CPSW=y || TI_KEYSTONE_NETCP=y || TI_CPSW_SWITCHDEV=y
94 select NET_PTP_CLASSIFY
95 imply PTP_1588_CLOCK
96 default m
97
98config TI_K3_AM65_CPSW_NUSS
99 tristate "TI K3 AM654x/J721E CPSW Ethernet driver"
100 depends on ARCH_K3 && OF && TI_K3_UDMA_GLUE_LAYER
101 select TI_DAVINCI_MDIO
102 imply PHY_TI_GMII_SEL
103 help
104 This driver supports TI K3 AM654/J721E CPSW2G Ethernet SubSystem.
105 The two-port Gigabit Ethernet MAC (MCU_CPSW0) subsystem provides

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

110 To compile this driver as a module, choose M here: the module
111 will be called ti-am65-cpsw-nuss.
112
113config TI_KEYSTONE_NETCP
114 tristate "TI Keystone NETCP Core Support"
115 select TI_DAVINCI_MDIO
116 depends on OF
117 depends on KEYSTONE_NAVIGATOR_DMA && KEYSTONE_NAVIGATOR_QMSS
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
97 help
98 This driver supports TI K3 AM654/J721E CPSW2G Ethernet SubSystem.
99 The two-port Gigabit Ethernet MAC (MCU_CPSW0) subsystem provides

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

104 To compile this driver as a module, choose M here: the module
105 will be called ti-am65-cpsw-nuss.
106
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
112 depends on TI_CPTS || !TI_CPTS
118 ---help---
119 This driver supports TI's Keystone NETCP Core.
120
121 To compile this driver as a module, choose M here: the module
122 will be called keystone_netcp.
123
124config TI_KEYSTONE_NETCP_ETHSS
125 depends on TI_KEYSTONE_NETCP

--- 31 unchanged lines hidden ---
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

--- 31 unchanged lines hidden ---