[PATCH v3 0/3] arm64: dts: qcom: pmi8998: add and enable flash LED controller

From: Dylan Van Assche
Date: Thu May 18 2023 - 09:31:37 EST


Qualcomm PMI8998 has support for 3 flash LEDs which got support in [1].
Add this driver to the PMI8998 DTS and enable 2 flash LEDs in the SHIFTPHONES SHIFT6mq
smartphone. This smartphone has a white and yellow flash LED.

* Changelog *

Changes in v2:
- Document compatible for PMI8998 to fix missing compatible in DTS.
- Improved commit messages, following [2]

Changes in v3:
- Adjust led-max-microamp and flash-max-microamp to better match downstream.
- Add Acked-by and Reviewed-by tags

[1] https://lore.kernel.org/all/20230507172941.364852-1-me@xxxxxxxxxxxxxxxxx
[2] https://lore.kernel.org/all/20230516150202.188655-1-krzysztof.kozlowski@xxxxxxxxxx/

Kind regards,
Dylan Van Assche

Dylan Van Assche (3):
dt-bindings: leds: qcom,spmi-flash-led: add PMI8998
arm64: dts: qcom: pmi8998: add flash LED controller
arm64: dts: qcom: sdm845-shift-axolotl: enable flash LEDs

.../bindings/leds/qcom,spmi-flash-led.yaml | 1 +
arch/arm64/boot/dts/qcom/pmi8998.dtsi | 6 +++++
.../boot/dts/qcom/sdm845-shift-axolotl.dts | 22 +++++++++++++++++++
3 files changed, 29 insertions(+)

--
2.40.1