OSDN Git Service

drm/panel-simple: Read panel orientation
authorDmitry Osipenko <digetx@gmail.com>
Thu, 13 Aug 2020 21:56:09 +0000 (00:56 +0300)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 16 Aug 2020 15:12:18 +0000 (17:12 +0200)
commit5759c9674c20ffdb2c02c29fe85462732d86ed78
tree476f184f4d78ddc0575b38f73ecda15eb2b87297
parent58310c2ec9941ff4e2582764e8ab3ee9620ccd2c
drm/panel-simple: Read panel orientation

The panel orientation needs to parsed from a device-tree and assigned to
the panel's connector in order to make orientation property available to
userspace. That's what this patch does for the panel-simple driver.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200813215609.28643-5-digetx@gmail.com
drivers/gpu/drm/panel/panel-simple.c