backlight: qcom-wled: Add PMI8950 compatible
authorLuca Weiss <luca@z3ntu.xyz>
Mon, 6 Feb 2023 19:58:30 +0000 (20:58 +0100)
committerLee Jones <lee@kernel.org>
Thu, 16 Mar 2023 15:08:34 +0000 (15:08 +0000)
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
drivers/video/backlight/qcom-wled.c

index 527210e..5f50488 100644 (file)
@@ -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 },