leds: flash: leds-qcom-flash: Add PMI8998 support
authorDylan Van Assche <me@dylanvanassche.be>
Sun, 7 May 2023 17:29:40 +0000 (19:29 +0200)
committerLee Jones <lee@kernel.org>
Thu, 25 May 2023 11:16:19 +0000 (12:16 +0100)
commit0ae8dc1a1a998c7b6b866cb83de83bea5740fb8e
tree97c65e592a0ddc1d02f0b2424b2fd338b869cafd
parentea0c0a85363380e7e80405d47cf63ce84cbc7b65
leds: flash: leds-qcom-flash: Add PMI8998 support

Add subtype for the Qualcomm PMI8998 PMIC to support it besides the
PM8150 PMIC which has the same registers. Adjust the driver to recognize
both PMIC subtypes as a 3 channel LED driver.

Signed-off-by: Dylan Van Assche <me@dylanvanassche.be>
Link: https://lore.kernel.org/r/20230507172941.364852-2-me@dylanvanassche.be
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/flash/leds-qcom-flash.c