[PATCH 0/2] leds: flash: leds-qcom-flash: add PMI8998 support

Dylan Van Assche posted 2 patches 2 years, 9 months ago
drivers/leds/flash/leds-qcom-flash.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
[PATCH 0/2] leds: flash: leds-qcom-flash: add PMI8998 support
Posted by Dylan Van Assche 2 years, 9 months ago
This patchserie adds support for the Qualcomm PMI8998 PMIC to the 
pending leds-qcom-flash LED driver (v8) [1]. The following changes 
are necessary to support the Qualcomm PMI8998 PMIC:

- Add subtype 0x3 for the Qualcomm PMI8998 PMIC.
- Disable LED when changing the brightness to make brightness changes
propagate when the LED was already enabled.

@Fenglin Wu: Feel free to pull these patches in with your v9 if you like them.
We discussed support for this PMIC in the past around v3, but never could make
it work until now.

[1] https://lore.kernel.org/all/20230303095023.538917-1-quic_fenglinw@quicinc.com/

Kind regards,
Dylan Van Assche

Dylan Van Assche (2):
  leds: flash: leds-qcom-flash: add PMI8998 support
  leds: flash: leds-qcom-flash: disable LED when changing brightness

 drivers/leds/flash/leds-qcom-flash.c | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

-- 
2.40.1