Message ID | 20211229170358.2457006-3-luca.weiss@fairphone.com |
---|---|
State | New |
Headers | show |
Series | Enable display backlight on Fairphone 4 | expand |
On Wed, Dec 29, 2021 at 06:03:56PM +0100, Luca Weiss wrote: > 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> Daniel.
diff --git a/drivers/video/backlight/qcom-wled.c b/drivers/video/backlight/qcom-wled.c index 306bcc6ccb92..527210e85795 100644 --- a/drivers/video/backlight/qcom-wled.c +++ b/drivers/video/backlight/qcom-wled.c @@ -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 }, {} };
PM6150L contains WLED of version 5. Add support ofr it to the driver. Signed-off-by: Luca Weiss <luca.weiss@fairphone.com> --- drivers/video/backlight/qcom-wled.c | 1 + 1 file changed, 1 insertion(+)