drm/panel: s6e63m0: Set up some display info
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 10 Nov 2020 23:46:53 +0000 (00:46 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 15 Nov 2020 23:48:16 +0000 (00:48 +0100)
commitdb4c02e439f7b66f5a6f8a5421a4956d111bc015
tree75c9df0ca68ca8ce100ec53dd4d7ed7a751acd6f
parent4680e9cc9d8bc9db8a7489cb77a8d19962bd580e
drm/panel: s6e63m0: Set up some display info

Copy over the width/height in millimeters to the
(somewhat redundant) display info, and set up the
bus format and bus flags for the display.

When used as DPI this display requires DE to be
active low and pixel data to be output on the
negative edge. It might be that it was previously
used with a display controller that either does
not support these settings or was hardcoded to use
these as default. This information comes from the
source code of the Samsung GT-I9070 mobile phone.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Stephan Gerhold <stephan@gerhold.net>
Cc: Paweł Chmiel <pawel.mikolaj.chmiel@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201110234653.2248594-6-linus.walleij@linaro.org
drivers/gpu/drm/panel/panel-samsung-s6e63m0.c