backlight: qcom-wled: Add PM6150L compatible
authorLuca Weiss <luca.weiss@fairphone.com>
Wed, 29 Dec 2021 17:03:56 +0000 (18:03 +0100)
committerHelge Deller <deller@gmx.de>
Sat, 29 Jan 2022 21:24:24 +0000 (22:24 +0100)
PM6150L contains WLED of version 5. Add support ofr it to the driver.

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/backlight/qcom-wled.c

index 306bcc6ccb927fbe36c9068a14a6d34c20a736ce..527210e857959369f6e1981974e0813b76b98ad2 100644 (file)
@@ -1734,6 +1734,7 @@ static const struct of_device_id wled_match_table[] = {
        { .compatible = "qcom,pmi8994-wled", .data = (void *)4 },
        { .compatible = "qcom,pmi8998-wled", .data = (void *)4 },
        { .compatible = "qcom,pm660l-wled", .data = (void *)4 },
+       { .compatible = "qcom,pm6150l-wled", .data = (void *)5 },
        { .compatible = "qcom,pm8150l-wled", .data = (void *)5 },
        {}
 };