• Linus Torvalds's avatar
    Merge tag 'leds-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds · c156d4af
    Linus Torvalds authored
    Pull LED updates from Lee Jones:
     "New Drivers:
       - Add support for Intel Cherry Trail Whiskey Cove PMIC LEDs
       - Add support for Awinic AW20036/AW20054/AW20072 LEDs
    
      New Device Support:
       - Add support for PMI632 LPG to QCom LPG
       - Add support for PMI8998 to QCom Flash
       - Add support for MT6331, WLEDs and MT6332 to Mediatek MT6323 PMIC
    
      New Functionality:
       - Implement the LP55xx Charge Pump
       - Add support for suspend / resume to Intel Cherry Trail Whiskey Cove PMIC
       - Add support for breathing mode to Intel Cherry Trail Whiskey Cove PMIC
       - Enable per-pin resolution Pinctrl in LEDs GPIO
    
      Fix-ups:
       - Allow thread to sleep by switching from spinlock to mutex
       - Add lots of Device Tree bindings / support
       - Adapt relationships / dependencies driven by Kconfig
       - Switch I2C drivers from .probe_new() to .probe()
       - Remove superfluous / duplicate code
       - Replace strlcpy() with strscpy() for efficiency and overflow prevention
       - Staticify various functions
       - Trivial: Fixing coding style
       - Simplify / reduce code
    
      Bug Fixes:
       - Prevent NETDEV_LED_MODE_LINKUP from being cleared on rename
       - Repair race between led_set_brightness(LED_{OFF,FULL})
       - Fix Oops relating to sleeping in critical sections
       - Clear LED_INIT_DEFAULT_TRIGGER flag when clearing the current trigger
       - Do not leak resources in error handling paths
       - Fix unsigned comparison which can never be negative
       - Provide missing NULL terminating entries in tables
       - Fix misnaming issues"
    
    * tag 'leds-next-6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds: (53 commits)
      leds: leds-mt6323: Adjust return/parameter types in wled get/set callbacks
      leds: sgm3140: Add richtek,rt5033-led compatible
      dt-bindings: leds: sgm3140: Document richtek,rt5033 compatible
      dt-bindings: backlight: kinetic,ktz8866: Add missing type for "current-num-sinks"
      dt-bindings: leds: Drop unneeded quotes
      leds: Fix config reference for AW200xx driver
      leds: leds-mt6323: Add support for WLEDs and MT6332
      leds: leds-mt6323: Add support for MT6331 leds
      leds: leds-mt6323: Open code and drop MT6323_CAL_HW_DUTY macro
      leds: leds-mt6323: Drop MT6323_ prefix from macros and defines
      leds: leds-mt6323: Specify registers and specs in platform data
      dt-bindings: leds: leds-mt6323: Document mt6332 compatible
      dt-bindings: leds: leds-mt6323: Document mt6331 compatible
      leds: simatic-ipc-leds-gpio: Introduce more Kconfig switches
      leds: simatic-ipc-leds-gpio: Split up into multiple drivers
      leds: simatic-ipc-leds-gpio: Move two extra gpio pins into another table
      leds: simatic-ipc-leds-gpio: Add terminating entries to gpio tables
      leds: flash: leds-qcom-flash: Fix an unsigned comparison which can never be negative
      leds: cht-wcove: Remove unneeded semicolon
      leds: cht-wcove: Fix an unsigned comparison which can never be negative
      ...
    c156d4af
power_supply_leds.c 4.82 KB