• Linus Torvalds's avatar
    Merge tag 'leds-next-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds · 431f1051
    Linus Torvalds authored
    Pull LED updates from Lee Jones:
     "Core Frameworks:
       - Add support for a bunch more colours
    
      New Drivers:
       - Add support for Kinetic KTD2026/7 RGB/White LEDs
    
      New Functionality:
       - Add support for device to enter HW Controlled Mode to Turris Omnia
         LEDs
       - Add support for HW Gamma Correction to Turris Omnia LEDs
    
      Fix-ups:
       - Apply new __counted_by() annotation to several data structures
         containing flexible arrays
       - Rid the return value from Platform's .remove() operation
       - Use *_cansleep() variants for instances were threads can sleep
       - Improve the semantics when setting the brightness
       - Generic clean-ups; code reduction, coding style, standard patterns
       - Replace strncpy() with strscpy()
       - Fix-up / add various documentation
       - Re-author the GPIO associated Trigger to use trigger-sources
       - Move to using standard APIs and helpers
       - Improve error checking
       - Stop using static GPIO bases
    
      Bug Fixes:
       - Fix Pointer to Enum casing warnings
       - Do not pretend that I2C backed device supports SMBUS
       - Ensure PWM LEDs are extinguished when disabled, rather than held in
         a state
       - Fix 'output may be truncated' warnings"
    
    * tag 'leds-next-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds: (43 commits)
      leds: lp5521: Add an error check in lp5521_post_init_device
      leds: gpio: Update headers
      leds: gpio: Remove unneeded assignment
      leds: gpio: Move temporary variable for struct device to gpio_led_probe()
      leds: gpio: Refactor code to use devm_gpiod_get_index_optional()
      leds: gpio: Utilise PTR_ERR_OR_ZERO()
      leds: gpio: Keep driver firmware interface agnostic
      leds: core: Refactor led_update_brightness() to use standard pattern
      leds: turris-omnia: Fix brightness setting and trigger activating
      leds: sc27xx: Move mutex_init() down
      leds: trigger: netdev: Move size check in set_device_name
      leds: Add ktd202x driver
      dt-bindings: leds: Add Kinetic KTD2026/2027 LED
      leds: core: Add more colors from DT bindings to led_colors
      dt-bindings: leds: Last color ID is now 14 (LED_COLOR_ID_LIME)
      leds: tca6507: Don't use fixed GPIO base
      leds: lp3952: Convert to use maple tree register cache
      leds: lm392x: Convert to use maple tree register cache
      leds: aw200xx: Convert to use maple tree register cache
      leds: lm3601x: Convert to use maple tree register cache
      ...
    431f1051
led-core.c 15 KB