linux/drivers
Wei Fang ac0e650fde net: enetc: use generic interfaces to get phc_index for ENETC v1
The commit 61f132ca8c ("ptp: add helpers to get the phc_index by
of_node or dev") has added two generic interfaces to get the phc_index
of the PTP clock. This eliminates the need for PTP device drivers to
provide custom APIs for consumers to retrieve the phc_index. This has
already been implemented for ENETC v4 and is also applicable to ENETC
v1. Therefore, the global variable enetc_phc_index is removed from the
driver. ENETC v1 now uses the same interface as v4 to get phc_index.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20250919084509.1846513-3-wei.fang@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-09-22 11:49:16 -07:00
..
accel
accessibility
acpi Several RISC-V fixes for v6.17-rc5: 2025-09-07 08:15:56 -07:00
amba
android
ata
atm
auxdisplay
base Mitigate VMSCAPE issue with indirect branch predictor flushes 2025-09-10 20:52:16 -07:00
bcma
block zram: fix slot write race condition 2025-09-15 20:01:45 -07:00
bluetooth
bus
cache
cdrom
cdx
char
clk
clocksource
comedi
connector
counter
cpufreq Merge branches 'pm-sleep' and 'pm-em' 2025-09-11 14:22:35 +02:00
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf
dpll Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-09-18 11:26:06 -07:00
edac
eisa
extcon
firewire
firmware
fpga
fsi
fwctl
gnss
gpio
gpu - Don't touch survivability_mode on fini (Michal) 2025-09-12 09:44:07 +10:00
greybus
hid
hsi
hte
hv
hwmon
hwspinlock
hwtracing
i2c i2c: rtl9300: remove broken SMBus Quick operation support 2025-09-04 00:31:34 +02:00
i3c
idle
iio
infiniband net/mlx5: Store the global doorbell in mlx5_priv 2025-09-17 18:30:32 -07:00
input Input updates for v6.17-rc5 2025-09-14 08:09:37 -07:00
interconnect
iommu
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md - fix integer overflow in dm-stripe 2025-09-17 08:07:02 -07:00
media
memory
memstick
message
mfd
misc
mmc
most
mtd mtd: spinand: winbond: Fix oob_layout for W25N01JW 2025-09-05 17:03:44 +02:00
mux
net net: enetc: use generic interfaces to get phc_index for ENETC v1 2025-09-22 11:49:16 -07:00
nfc
ntb
nubus
nvdimm
nvme
nvmem
of
opp
parisc
parport
pci pci-v6.17-fixes-3 2025-09-12 10:46:10 -07:00
pcmcia
peci
perf
phy
pinctrl
platform platform-drivers-x86 for v6.17-4 2025-09-18 09:22:34 -07:00
pmdomain
pnp
power power: supply: bq27xxx: restrict no-battery detection to bq27000 2025-09-06 02:11:38 +02:00
powercap
pps
ps3
ptp ptp_ocp: make ptp_ocp driver compatible with PTP_EXTTS_REQUEST2 2025-09-19 17:00:06 -07:00
pwm
rapidio
ras
regulator regulator: sy7636a: fix lifecycle of power good gpio 2025-09-08 16:33:24 +01:00
remoteproc
reset
rpmsg
rtc
s390
sbus
scsi
sh
siox
slimbus
soc
soundwire
spi
spmi
ssb
staging wifi: drivers: indicate support for attributes in NL80211_CMD_SET_BSS 2025-09-04 11:19:02 +02:00
target
tc
tee
thermal
thunderbolt
tty TTY/Serial fixes for 6.17-rc6 2025-09-14 10:54:54 -07:00
ufs
uio
usb USB: core: remove the move buf action 2025-09-12 13:41:55 +02:00
vdpa
vfio
vhost
video
virt
virtio
w1
watchdog
xen
zorro
Kconfig
Makefile