linux/Documentation/devicetree/bindings/leds
Linus Torvalds 831462ff3e LEDs for for v6.17
- Improvements & Fixes
   * A fix has been implemented in QCOM Flash to prevent incorrect register
     access when the driver is re-bound. This is solved by duplicating a static
     register array during the probe function, which prevents register addresses
     from being miscalculated after multiple binds.
   * The LP50xx driver now correctly handles the 'reg' property in device tree
     child nodes to ensure the multi_index is set correctly. This prevents
     issues where LEDs could be controlled incorrectly if the device tree nodes
     were processed in a different order. An error is returned if the reg
     property is missing or out of range.
   * A Kconfig dependency on between TPS6131x and V4L2_FLASH_LED_CLASS has been
     added to prevent a build failure when the driver is built-in and the V4L2
     flash infrastructure is a loadable module.
   * A potential buffer overflow warning in PCA955x was reported by older GCC
     versions has been fixed by using a more precise format specifier when
     creating the default LED label.
 
 - Cleanups & Refactoring
   * The MAINTAINERS file entry for the TPS6131X flash LED driver has been
     corrected to point to the correct device tree binding file name.
   * A comment in the Flash Class for the flash_timeout setter has been
     corrected to "flash timeout" from "flash duration" for accuracy.
   * The of_led_get() function is no longer exported as it has no users
     outside of its own module.
 
 - Removals
   * The commit to configure LED blink intervals for hardware offload in the
     Netdev Trigger has been reverted. This change was found to break existing
     PHY drivers by putting their LEDs into a permanent, unconditional blinking
     state.
 
 - Device Tree Bindings Updates
   * The binding for LP50xx has been updated to document that the child reg
     property is the index within the LED bank. The example was also updated to
     use correct values.
   * The JNCP5623 binding has been updated to add 0x39 as a valid I2C address,
     as it is used by the NCP5623C variant.
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEdrbJNaO+IJqU8IdIUa+KL4f8d2EFAmiKNSgACgkQUa+KL4f8
 d2GwyA//QyWJVRmx3iK64MWnMVHZxuFdXcilYXtYFGPdQNj/aqB51X8XeUDlpfDR
 9YU9m+MZZJv4ku+BJNWMmilsOZmCSd2L0SjNcvg4EBagE7uCRGlc/zhSYQT99f4H
 VvVTNRLaiY2JS4cLt5hQFccWSFFuVpHaDDr8lU6MnogPoUWm31PLP9oyjQZdw/3s
 cEsSge6xhjQ48HLudp8t4o+OYt7SsiwGwua5dgLm65Cihiv2jI3c6xpTXsvk23Go
 oIXpYRsUnPOh2FBhiBQYtwY4mtbfPL2EjfRBXoH8wPelVF+rqufwClp4GxolcbwR
 VH9Xy1MtzW4Qe9SCV8t1UtsjzmGz1J+rO3NMCnGfYpCCwlrW0664P1tU90UDz7Uf
 W8b5brD7tbJkW+29qfbxeCZE6hSYHqDh+0p+BLvQiN3Onv7xqozW1ODdVpAEjhLe
 0okvY3WCkf0+dn08FVkQYuAmXQwYmKM2ylqr8LOlL/ESOK9vipEf48wRwPwm42VA
 kDqdgy0J9N00sSD/iHXBHj6DjXVjjtrfJiOVLicfmRgTCPpm3UasPA9K7sVj5hZ3
 TjDPPSY0MrTazMFf5AX7Q0nLEe/K7ZXK44xIn0pWw+loycmhrHNbFrcxS6D/BYV+
 zkauHl/SKprLiVXWLYvyWjxLweHDO3LhKFjUQ6cOn+YZRdz5rSY=
 =+8ND
 -----END PGP SIGNATURE-----

Merge tag 'leds-next-6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds

Pull LED updates from Lee Jones:
 "Improvements & Fixes:

   - A fix for QCOM Flash to prevent incorrect register access when the
     driver is re-bound. This is solved by duplicating a static register
     array during the probe function, which prevents register addresses
     from being miscalculated after multiple binds

   - The LP50xx driver now correctly handles the 'reg' property in
     device tree child nodes to ensure the multi_index is set correctly.
     This prevents issues where LEDs could be controlled incorrectly if
     the device tree nodes were processed in a different order. An error
     is returned if the reg property is missing or out of range

   - Add a Kconfig dependency on between TPS6131x and
     V4L2_FLASH_LED_CLASS to prevent a build failure when the driver is
     built-in and the V4L2 flash infrastructure is a loadable module

   - Fix a potential buffer overflow warning in PCA955x reported by
     older GCC versions by using a more precise format specifier when
     creating the default LED label.

  Cleanups & Refactoring:

   - Correct the MAINTAINERS file entry for the TPS6131X flash LED
     driver to point to the correct device tree binding file name

   - Fix a comment in the Flash Class for the flash_timeout setter to
     "flash timeout" from "flash duration" for accuracy

   - The of_led_get() function is no longer exported as it has no users
     outside of its own module.

  Removals:

   - Revert the commit to configure LED blink intervals for hardware
     offload in the Netdev Trigger. This change was found to break
     existing PHY drivers by putting their LEDs into a permanent,
     unconditional blinking state.

  Device Tree Bindings Updates:

   - Update the binding for LP50xx to document that the child reg
     property is the index within the LED bank. The example was also
     updated to use correct values

   - Update the JNCP5623 binding to add 0x39 as a valid I2C address, as
     it is used by the NCP5623C variant"

* tag 'leds-next-6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds:
  dt-bindings: leds: ncp5623: Add 0x39 as a valid I2C address
  Revert "leds: trigger: netdev: Configure LED blink interval for HW offload"
  leds: pca955x: Avoid potential overflow when filling default_label (take 2)
  leds: Unexport of_led_get()
  leds: tps6131x: Add V4L2_FLASH_LED_CLASS dependency
  dt-bindings: leds: lp50xx: Document child reg, fix example
  leds: leds-lp50xx: Handle reg to get correct multi_index
  leds: led-class-flash:: Fix flash_timeout comment
  MAINTAINERS: Adjust file entry in TPS6131X FLASH LED DRIVER
  leds: flash: leds-qcom-flash: Fix registry access after re-bind
2025-07-31 11:54:01 -07:00
..
backlight
irled
allwinner,sun50i-a100-ledc.yaml
ams,as3645a.txt
awinic,aw200xx.yaml
common.txt
common.yaml
cznic,turris-omnia-leds.yaml
issi,is31fl319x.yaml
kinetic,ktd202x.yaml
kinetic,ktd2692.yaml
leds-aw2013.yaml
leds-bcm6328.yaml
leds-bcm6358.txt
leds-bcm63138.yaml
leds-class-multicolor.yaml
leds-cpcap.txt
leds-cr0014114.txt
leds-el15203000.txt
leds-gpio.yaml dt-bindings: leds: use unevaluatedProperties for common.yaml 2022-12-06 14:50:36 -06:00
leds-group-multicolor.yaml
leds-is31fl32xx.txt
leds-lgm.yaml
leds-lm3532.txt
leds-lm3601x.txt
leds-lm3697.txt
leds-lm36274.txt
leds-lp50xx.yaml
leds-lp55xx.yaml
leds-lt3593.txt
leds-max77650.yaml
leds-mt6360.yaml
leds-netxbig.txt
leds-ns2.txt
leds-powernv.txt
leds-pwm-multicolor.yaml
leds-pwm.yaml dt-bindings: leds: pwm: Add default-brightness property 2024-11-12 12:14:00 +00:00
leds-qcom-lpg.yaml
leds-rt4505.yaml
leds-sgm3140.yaml
leds-spi-byte.txt
leds-trigger-pattern.txt
maxim,max77693.yaml
mediatek,mt6370-flashlight.yaml
mediatek,mt6370-indicator.yaml
nxp,pca953x.yaml
nxp,pca955x.yaml
nxp,pca963x.yaml
nxp,pca995x.yaml
onnn,ncp5623.yaml
panasonic,an30259a.yaml
qcom,pm8058-led.yaml
qcom,spmi-flash-led.yaml
register-bit-led.yaml
regulator-led.yaml
richtek,rt8515.yaml
rohm,bd2606mvv.yaml
rohm,bd71828-leds.yaml
silergy,sy7802.yaml
skyworks,aat1290.yaml
sprd,sc2731-bltc.yaml
st,led1202.yaml
ti,lp8860.yaml
ti,tca6507.yaml
ti,tlc59116.yaml
ti,tps61310.yaml
ti.lm36922.yaml
trigger-source.yaml