Directory Files
.. 41
File Size
Kconfig 1.6 kB
Makefile 475 B
ksz8.h 2.7 kB
ksz8795.c 36 kB
ksz8795_reg.h 22 kB
ksz8863_smi.c 4.9 kB
ksz8863_smi.mod.c 0 B
ksz9477.c 29 kB
ksz9477.h 2.8 kB
ksz9477_i2c.c 2.8 kB
ksz9477_i2c.mod.c 0 B
ksz9477_reg.h 41 kB
ksz_common.c 99 kB
ksz_common.h 19 kB
ksz_ptp.c 28 kB
ksz_ptp.h 2.2 kB
ksz_ptp_reg.h 3.6 kB
ksz_spi.c 5.4 kB
ksz_spi.mod.c 0 B
ksz_switch.mod.c 0 B
lan937x.h 1.1 kB
lan937x_main.c 9.9 kB
lan937x_reg.h 5.4 kB

Linux v6.6.1 - microchip

# SPDX-License-Identifier: GPL-2.0-only
menuconfig NET_DSA_MICROCHIP_KSZ_COMMON
	tristate "Microchip KSZ8795/KSZ9477/LAN937x series switch support"
	depends on NET_DSA
	select NET_DSA_TAG_KSZ
	select NET_DSA_TAG_NONE
	help
	  This driver adds support for Microchip KSZ9477 series switch and
	  KSZ8795/KSZ88x3 switch chips.

config NET_DSA_MICROCHIP_KSZ9477_I2C
	tristate "KSZ series I2C connected switch driver"
	depends on NET_DSA_MICROCHIP_KSZ_COMMON && I2C
	select REGMAP_I2C
	help
	  Select to enable support for registering switches configured through I2C.

config NET_DSA_MICROCHIP_KSZ_SPI
	tristate "KSZ series SPI connected switch driver"
	depends on NET_DSA_MICROCHIP_KSZ_COMMON && SPI
	select REGMAP_SPI
	help
	  Select to enable support for registering switches configured through SPI.

config NET_DSA_MICROCHIP_KSZ_PTP
	bool "Support for the PTP clock on the KSZ9563/LAN937x Ethernet Switch"
	depends on NET_DSA_MICROCHIP_KSZ_COMMON && PTP_1588_CLOCK
	depends on NET_DSA_MICROCHIP_KSZ_COMMON=m || PTP_1588_CLOCK=y
	help
	  Select to enable support for timestamping & PTP clock manipulation in
	  KSZ8563/KSZ9563/LAN937x series of switches. KSZ9563/KSZ8563 supports
	  only one step timestamping. LAN937x switch supports both one step and
	  two step timestamping.

config NET_DSA_MICROCHIP_KSZ8863_SMI
	tristate "KSZ series SMI connected switch driver"
	depends on NET_DSA_MICROCHIP_KSZ_COMMON
	select MDIO_BITBANG
	help
	  Select to enable support for registering switches configured through
	  Microchip SMI. It supports the KSZ8863 and KSZ8873 switch.