linux-stable/drivers
Andrew Lunn 01e5b728e9 net: phy: Add a binding for PHY LEDs
Define common binding parsing for all PHY drivers with LEDs using
phylib. Parse the DT as part of the phy_probe and add LEDs to the
linux LED class infrastructure. For the moment, provide a dummy
brightness function, which will later be replaced with a call into the
PHY driver. This allows testing since the LED core might otherwise
reject an LED whose brightness cannot be set.

Add a dependency on LED_CLASS. It either needs to be built in, or not
enabled, since a modular build can result in linker errors.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2023-04-19 12:59:16 +01:00
..
accel Merge branch 'hwmon-const' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging 2023-04-09 18:59:13 -07:00
accessibility
acpi ACPI: video: Add acpi_backlight=video quirk for Lenovo ThinkPad W530 2023-04-05 20:23:02 +02:00
amba
android
ata
atm
auxdisplay
base
bcma bcma: remove unused mips_read32 function 2023-03-31 18:04:59 +03:00
block virtio: last minute fixes 2023-04-10 13:35:54 -07:00
bluetooth bluetooth: btbcm: Fix logic error in forming the board name. 2023-04-10 10:23:15 -07:00
bus Devicetree fixes for v6.2, part 3: 2023-04-13 15:21:56 -07:00
cdrom
char
clk
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto
cxl Merge branch 'for-6.3/cxl-doe-fixes' into for-6.3/cxl 2023-04-04 15:37:25 -07:00
dax
dca
devfreq
dio
dma dmaengine: apple-admac: Fix 'current_tx' not getting freed 2023-03-31 18:17:21 +05:30
dma-buf
edac
eisa
extcon
firewire
firmware
fpga
fsi
gnss
gpio gpio fixes for v6.3-rc6 2023-04-07 13:53:16 -07:00
gpu Short summary of fixes pull: 2023-04-13 20:47:58 +02:00
greybus
hid bpf-next-for-netdev 2023-04-13 16:43:38 -07:00
hsi
hte
hv
hwmon hwmon: constify pointers to hwmon_channel_info 2023-04-07 08:45:17 -07:00
hwspinlock
hwtracing
i2c Devicetree fixes for v6.2, part 3: 2023-04-13 15:21:56 -07:00
i3c
idle
iio
infiniband
input Input updates for v6.3-rc4 2023-04-01 14:09:51 -07:00
interconnect
iommu iommufd: Do not corrupt the pfn list when doing batch carry 2023-04-04 09:10:55 -03:00
ipack
irqchip
isdn
leds
macintosh
mailbox
mcb
md block-6.3-2023-03-30 2023-03-31 12:35:03 -07:00
media Revert "venus: firmware: Correct non-pix start and end addresses" 2023-04-02 10:47:03 -07:00
memory
memstick
message
mfd
misc
mmc
most
mtd mtd: rawnand: meson: fix bitmask for length in command word 2023-04-03 17:58:01 +02:00
mux
net net: phy: Add a binding for PHY LEDs 2023-04-19 12:59:16 +01:00
nfc
ntb
nubus
nvdimm
nvme nvme: fix discard support without oncs 2023-04-05 17:13:17 +02:00
nvmem
of Devicetree fixes for v6.2, part 3: 2023-04-13 15:21:56 -07:00
opp
parisc
parport
pci pci-v6.3-fixes-2 2023-04-11 11:59:49 -07:00
pcmcia
peci
perf
phy
pinctrl Revert "pinctrl: amd: Disable and mask interrupts on resume" 2023-04-11 22:45:42 +02:00
platform platform-drivers-x86 for v6.3-5 2023-04-06 10:13:23 -07:00
pnp
power
powercap
pps
ps3
ptp Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-30 14:43:03 -07:00
pwm
rapidio
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-03-30 14:43:03 -07:00
sbus
scsi Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-13 16:04:28 -07:00
sh
siox
slimbus
soc
soundwire
spi Devicetree fixes for v6.2, part 3: 2023-04-13 15:21:56 -07:00
spmi
ssb
staging
target
tc
tee
thermal Merge branch 'thermal-intel-fixes' 2023-03-31 12:02:46 +02:00
thunderbolt
tty TTY/Serial driver fixes for 6.3-rc6 2023-04-08 12:17:46 -07:00
ufs scsi: Revert "scsi: ufs: core: Initialize devfreq synchronously" 2023-04-02 21:12:34 -04:00
uio
usb Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-13 16:04:28 -07:00
vdpa vdpa_sim_net: complete the initialization before register the device 2023-04-04 14:22:12 -04:00
vfio
vhost Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-04-13 16:04:28 -07:00
video Short summary of fixes pull: 2023-04-13 20:47:58 +02:00
virt
virtio
vlynq
w1
watchdog
xen
zorro
Kconfig
Makefile