drm/panel: s6e63m0: Implement 28 backlight levels
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Nov 2020 17:56:20 +0000 (18:56 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Nov 2020 13:54:57 +0000 (14:54 +0100)
commit9c3f0a0dd6a1da86b3476b3ef57d4a17ea5130cf
treea39b811f110eedd53ba1d977c0abd69bdb335f21
parentc8917fd74f93f63bfb2e0a4ae11a215fecc0c791
drm/panel: s6e63m0: Implement 28 backlight levels

A later version of the s6e63m0 driver in the Samsung
GT-I9070 vendor tree provides 28 different backlight
levels making use of elaborate control of the ACL
and ELVSS regulator. Implement this more fine-grained
backlight control.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Cc: Stephan Gerhold <stephan@gerhold.net>
Cc: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201117175621.870085-2-linus.walleij@linaro.org
drivers/gpu/drm/panel/panel-samsung-s6e63m0.c