• Linus Torvalds's avatar
    Merge tag 'leds-next-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds · f3033eb7
    Linus Torvalds authored
    Pull LED updates from Lee Jones:
     "Core Frameworks:
       - Ensure seldom updated triggers have a brightness value before first
         update
    
      New Device Support:
       - Add support for Simatic IPC Device BX_59A to IPC LEDs Core
       - Add support for Qualcomm PMI8950 PWM to LPG Core
    
      New Functionality:
       - Add a bunch of new LED function identifiers
       - Add support for High Resolution Timers in LED Trigger Patten
    
      Fix-ups:
       - Shift out Audio Trigger to the Sound subsystem
       - Convert suitable calls to devm_* managed resources
       - Device Tree binding adaptions/conversions/creation
       - Remove superfluous code/variables/attributes and simplify overall
       - Use/convert to new/better APIs/helpers/MACROs instead of
         hand-rolling implementations
    
      Bug Fixes:
       - Repair enabling Torch Mode from V4L2 on the second LED
       - Ensure PWM is disabled when suspending"
    
    * tag 'leds-next-6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/leds: (28 commits)
      leds: mt6370: Remove unused field 'reg_cfgs' from 'struct mt6370_priv'
      leds: lp50xx: Remove unused field 'num_of_banked_leds' from 'struct lp50xx'
      leds: lp50xx: Remove unused field 'bank_modules' from 'struct lp50xx_led'
      leds: aat1290: Remove unused field 'torch_brightness' from 'struct aat1290_led'
      leds: sun50i-a100: Use match_string() helper to simplify the code
      leds: pwm: Disable PWM when going to suspend
      leds: trigger: pattern: Add support for hrtimer
      leds: mt6360: Fix the second LED can not enable torch mode by V4L2
      dt-bindings: leds: leds-qcom-lpg: Add support for PMI8950 PWM
      leds: qcom-lpg: Add support for PMI8950 PWM
      leds: apu: Remove duplicate DMI lookup data
      leds: trigger: netdev: Remove not needed call to led_set_brightness in deactivate
      dt-bindings: leds: Add LED_FUNCTION_SPEED_* for link speed on LAN/WAN
      dt-bindings: leds: Add LED_FUNCTION_MOBILE for mobile network
      leds: simatic-ipc-leds-gpio: Add support for module BX-59A
      dt-bindings: leds: qcom-lpg: Document PM6150L compatible
      dt-bindings: leds: pca963x: Convert text bindings to YAML
      leds: an30259a: Use devm_mutex_init() for mutex initialization
      leds: mlxreg: Use devm_mutex_init() for mutex initialization
      leds: nic78bx: Use devm API to cleanup module's resources
      ...
    f3033eb7
control_led.c 20.1 KB