summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/qcom-wled.c
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2023-02-06 22:58:30 +0300
committerLee Jones <lee@kernel.org>2023-03-16 18:08:34 +0300
commit10258bf4534bf8123b5fa620f73fe69901857f69 (patch)
treed9409d2fa68c46d07026af57958cd3ceb27b4b9d /drivers/video/backlight/qcom-wled.c
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6 (diff)
downloadlinux-10258bf4534bf8123b5fa620f73fe69901857f69.tar.xz
backlight: qcom-wled: Add PMI8950 compatible
PMI8950 contains WLED of version 4. Add support for it to the driver. Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20221226-msm8953-6-2-wled-v1-1-e318d4c71d05@z3ntu.xyz
Diffstat (limited to 'drivers/video/backlight/qcom-wled.c')
-rw-r--r--drivers/video/backlight/qcom-wled.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c
index 527210e85795..5f504883aca5 100644
--- a/drivers/video/backlight/qcom-wled.c
+++ b/drivers/video/backlight/qcom-wled.c
@@ -1731,6 +1731,7 @@ static int wled_remove(struct platform_device *pdev)
static const struct of_device_id wled_match_table[] = {
{ .compatible = "qcom,pm8941-wled", .data = (void *)3 },
+ { .compatible = "qcom,pmi8950-wled", .data = (void *)4 },
{ .compatible = "qcom,pmi8994-wled", .data = (void *)4 },
{ .compatible = "qcom,pmi8998-wled", .data = (void *)4 },
{ .compatible = "qcom,pm660l-wled", .data = (void *)4 },