OSDN Git Service

drm/panel: s6e63m0: Fix init sequence
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 17 Nov 2020 17:56:21 +0000 (18:56 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 20 Nov 2020 13:55:02 +0000 (14:55 +0100)
commitf0aee45ffc8b97e38274808de2480ddf4807b27c
treeb88b00b0fb720fc0fff7482f75da53eeba6203fc
parent9c3f0a0dd6a1da86b3476b3ef57d4a17ea5130cf
drm/panel: s6e63m0: Fix init sequence

The init sequence consist of a number of unknown settings
for the display controller. This patch achieves two things:

- Fix an error that must have happened when the driver was
  converted from the backlight subsystem: the 0xb8
  configuration command was lost and added as a tail to
  the previous command.

- Update some minor settings in some bytes here and there
  according to changes in the Samsung GT-I9070 and
  Samsung GT-S7710 code dumps. Since two other devices use
  these settings they probably reflect trimmings later
  found to be better for the display rather than
  customizations for these devices.

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-3-linus.walleij@linaro.org
drivers/gpu/drm/panel/panel-samsung-s6e63m0.c