linux-loongson/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 dt-bindings: backlight: add TI LP8864/LP8866 LED-backlight drivers 2025-04-22 09:40:08 -05:00
irled dt-bindings: media: remove nokia,n900-ir as pwm-ir-tx is compatible 2023-09-27 09:40:02 +02:00
allwinner,sun50i-a100-ledc.yaml dt-bindings: leds: Add Allwinner A100 LED controller 2023-12-13 11:28:28 +00:00
ams,as3645a.txt
awinic,aw200xx.yaml dt-bindings: Fix various typos 2024-09-13 14:01:34 -05:00
common.txt
common.yaml dt-bindings: leds: Add 'active-high' property 2024-10-15 09:58:15 +01:00
cznic,turris-omnia-leds.yaml dt-bindings: leds: cznic,turris-omnia-leds: Allow interrupts property 2024-12-12 18:37:36 +00:00
issi,is31fl319x.yaml dt-bindings: Fix SPI and I2C bus node names in examples 2023-03-08 09:04:53 -06:00
kinetic,ktd202x.yaml dt-bindings: leds: Add Kinetic KTD2026/2027 LED 2023-11-01 11:29:07 +00:00
kinetic,ktd2692.yaml
leds-aw2013.yaml dt-bindings: leds: Document pull-up supply for interrupt and I2C 2023-08-18 16:47:21 +01:00
leds-bcm6328.yaml dt-bindings: net: phy: Make LED active-low property common 2024-01-26 21:03:31 -08:00
leds-bcm6358.txt dt-bindings: net: phy: Make LED active-low property common 2024-01-26 21:03:31 -08:00
leds-bcm63138.yaml dt-bindings: leds: bcm63138: Add shift register bits 2024-10-11 08:37:00 +01:00
leds-class-multicolor.yaml dt-bindings: leds: class-multicolor: Fix path to color definitions 2024-12-11 12:23:08 +00:00
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 dt-bindings: leds: Add binding for a multicolor group of LEDs 2023-08-17 09:00:47 +01:00
leds-is31fl32xx.txt
leds-lgm.yaml dt-bindings: leds: Add missing references to common LED schema 2022-12-11 19:06:39 -06:00
leds-lm3532.txt
leds-lm3601x.txt
leds-lm3697.txt
leds-lm36274.txt
leds-lp50xx.yaml dt-bindings: leds: lp50xx: Document child reg, fix example 2025-06-27 13:58:32 +01:00
leds-lp55xx.yaml dt-bindings: leds-lp55xx: Add new ti,lp5569 compatible 2024-06-26 17:08:30 +01:00
leds-lt3593.txt
leds-max77650.yaml dt-bindings: leds: Add missing references to common LED schema 2022-12-11 19:06:39 -06:00
leds-mt6360.yaml dt-bindings: Correct indentation and style in DTS example 2025-07-28 19:56:29 -05:00
leds-netxbig.txt
leds-ns2.txt
leds-powernv.txt
leds-pwm-multicolor.yaml dt-bindings: leds: pwm-multicolour: re-allow active-low 2024-03-04 08:59:32 +00:00
leds-pwm.yaml dt-bindings: leds: pwm: Add default-brightness property 2024-11-12 12:14:00 +00:00
leds-qcom-lpg.yaml dt-bindings: leds: qcom-lpg: Document PM8937 PWM compatible 2025-02-20 15:15:10 +00:00
leds-rt4505.yaml dt-bindings: Fix SPI and I2C bus node names in examples 2023-03-08 09:04:53 -06:00
leds-sgm3140.yaml dt-bindings: leds: sgm3140: Document richtek,rt5033 compatible 2023-06-21 19:08:31 +01:00
leds-spi-byte.txt
leds-trigger-pattern.txt
maxim,max77693.yaml
mediatek,mt6370-flashlight.yaml dt-bindings: leds: Add MediaTek MT6370 flashlight 2022-10-03 09:59:36 -05:00
mediatek,mt6370-indicator.yaml dt-bindings: leds: mt6370: Fix MT6370 LED indicator DT warning 2022-10-12 08:58:59 -05:00
nxp,pca953x.yaml dt-bindings: leds: Add gpio-line-names to PCA9532 GPIO 2023-08-17 12:49:19 +01:00
nxp,pca955x.yaml dt-bindings: leds: pca955x: Convert text bindings to YAML 2024-10-31 14:33:59 +00:00
nxp,pca963x.yaml dt-bindings: leds: pca963x: Convert text bindings to YAML 2024-04-12 09:47:09 +01:00
nxp,pca995x.yaml dt-bindings: leds: pca995x: Add new nxp,pca9956b compatible 2024-08-01 13:40:04 +01:00
onnn,ncp5623.yaml dt-bindings: leds: ncp5623: Add 0x39 as a valid I2C address 2025-07-23 10:32:36 +01:00
panasonic,an30259a.yaml dt-bindings: leds: Convert Panasonic AN30259A to DT schema 2023-07-28 12:15:32 +01:00
qcom,pm8058-led.yaml leds: qcom,pm8058-led: Convert to DT schema 2022-12-07 21:11:41 +01:00
qcom,spmi-flash-led.yaml dt-bindings: leds: qcom,spmi-flash-led: Add pm660l compatible 2024-12-12 17:34:33 +00:00
register-bit-led.yaml dt-bindings: mfd: armltd: Move Arm board syscon's to separate schema 2023-11-01 10:02:18 +00:00
regulator-led.yaml dt-bindings: drop redundant part of title (beginning) 2022-12-16 11:41:49 -06:00
richtek,rt8515.yaml
rohm,bd2606mvv.yaml dt-bindings: leds: bd2606mvv: Fix maximum register value 2023-07-28 09:26:23 +01:00
rohm,bd71828-leds.yaml dt-bindings: leds: rohm,bd71828: Drop select:false 2023-08-17 11:29:07 +01:00
silergy,sy7802.yaml dt-bindings: leds: Add Silergy SY7802 flash LED 2024-06-26 17:04:38 +01:00
skyworks,aat1290.yaml
sprd,sc2731-bltc.yaml dt-bindings: mfd: sprd,sc2731: Convert to YAML 2024-11-12 14:48:45 +00:00
st,led1202.yaml dt-bindings: leds: Add LED1202 LED Controller 2025-01-09 10:30:23 +00:00
ti,lp8860.yaml dt-bindings: leds: Convert LP8860 into YAML format 2025-01-09 10:36:10 +00:00
ti,tca6507.yaml dt-bindings: Fix SPI and I2C bus node names in examples 2023-03-08 09:04:53 -06:00
ti,tlc59116.yaml dt-bindings: leds: Convert leds-tlc591xx.txt to yaml format 2025-02-11 15:07:37 +00:00
ti,tps61310.yaml dt-bindings: leds: Add Texas Instruments TPS6131x flash LED driver 2025-05-22 09:24:44 +01:00
ti.lm36922.yaml dt-bindings: leds: Convert leds-lm3692x to YAML format 2024-08-22 14:55:12 +01:00
trigger-source.yaml