mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-15 20:35:08 +00:00
This patch implement routines (adjfine, adjtime, gettime and settime) for manipulating the chip's PTP clock. It registers the ptp caps to posix clock register. Signed-off-by: Christian Eggers <ceggers@arri.de> Co-developed-by: Arun Ramadoss <arun.ramadoss@microchip.com> Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com> Reviewed-by: Vladimir Oltean <olteanv@gmail.com> # mostly api Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
43 lines
1.5 KiB
Plaintext
43 lines
1.5 KiB
Plaintext
# 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
|
|
depends on PTP_1588_CLOCK_OPTIONAL
|
|
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
|
|
depends on PTP_1588_CLOCK_OPTIONAL
|
|
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
|
|
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.
|