OpenCloudOS-Kernel/drivers
Antoine Tenart 7d272e63e0 net: phy: mscc: timestamping and PHC support
This patch adds support for PHC and timestamping operations for the MSCC
PHY. PTP 1-step and 2-step modes are supported, over Ethernet and UDP.

To get and set the PHC time, a GPIO has to be used and changes are only
retrieved or committed when on a rising edge. The same GPIO is shared by
all PHYs, so the granularity of the lock protecting it has to be
different from the ones protecting the 1588 registers (the VSC8584 PHY
has 2 1588 blocks, and a single load/save pin).

Co-developed-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-06-24 14:33:16 -07:00
..
accessibility
acpi libnvdimm for 5.8 2020-06-13 13:04:36 -07:00
amba ARM: tegra: Replace zero-length array with flexible-array 2020-06-15 23:08:28 -05:00
android
ata
atm
auxdisplay
base
bcma
block drbd: Replace zero-length array with flexible-array 2020-06-15 23:08:31 -05:00
bluetooth
bus
cdrom
char
clk
clocksource
connector
counter
cpufreq
cpuidle
crypto crypto: Replace zero-length array with flexible-array 2020-06-15 23:08:31 -05:00
dax
dca
devfreq
dio
dma dmaengine: tegra-apb: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
dma-buf
edac Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
eisa
extcon
firewire firewire: ohci: Replace zero-length array with flexible-array 2020-06-15 23:08:31 -05:00
firmware firmware: pcdp: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
fpga
fsi
gnss
gpio
gpu Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
greybus
hid
hsi
hv
hwmon
hwspinlock
hwtracing stm class: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
i2c Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
i3c
ide
idle
iio
infiniband
input
interconnect
iommu Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
ipack
irqchip
isdn mISDN: hfcsusb: Use struct_size() helper 2020-06-18 20:41:02 -07:00
leds
lightnvm
macintosh
mailbox
mcb
md
media media: pwc: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
memory
memstick
message
mfd mfd: mt6360: Fix register driver NULL pointer by adding driver name 2020-06-16 09:32:43 +01:00
misc
mmc
most
mtd
mux
net net: phy: mscc: timestamping and PHC support 2020-06-24 14:33:16 -07:00
nfc
ntb
nubus
nvdimm libnvdimm for 5.8 2020-06-13 13:04:36 -07:00
nvme Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
nvmem
of of: mdio: preserve phy dev_flags in of_phy_connect() 2020-06-20 17:33:17 -07:00
opp
oprofile oprofile: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
parisc
parport
pci Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
pcmcia
perf
phy phy: samsung: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
pinctrl
platform Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
pnp
power
powercap Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
pps
ps3
ptp
pwm
rapidio rapidio: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
ras
regulator
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
sfi
sh
siox
slimbus
soc soc: ti: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
soundwire
spi
spmi
ssb
staging Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
target Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
tc
tee
thermal
thunderbolt
tty
uio
usb Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
vdpa
vfio
vhost Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00
video
virt
virtio
visorbus
vlynq
vme
w1 w1: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
watchdog
xen
zorro
Kconfig
Makefile