video: backlight: qcom-wled: Add PMI8994 compatible
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Sun, 28 Feb 2021 12:41:05 +0000 (13:41 +0100)
committerLee Jones <lee.jones@linaro.org>
Thu, 27 May 2021 16:23:43 +0000 (17:23 +0100)
Add a compatible for PMI8994 WLED. It uses the V4 of WLED IP.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/qcom-wled.c

index 7c02f87..d094299 100644 (file)
@@ -1717,6 +1717,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,pmi8994-wled", .data = (void *)4 },
        { .compatible = "qcom,pmi8998-wled", .data = (void *)4 },
        { .compatible = "qcom,pm660l-wled", .data = (void *)4 },
        { .compatible = "qcom,pm8150l-wled", .data = (void *)5 },