drm/panel: Add helper for reading DT rotation
authorDerek Basehore <dbasehore@chromium.org>
Thu, 13 Aug 2020 21:56:06 +0000 (00:56 +0300)
committerSam Ravnborg <sam@ravnborg.org>
Sun, 16 Aug 2020 15:12:18 +0000 (17:12 +0200)
commit5f3e7503b97b3d068304ac8bb74faa10b804b24d
tree5daf87a326d0d20ecc80f2496bf416d21eace9cf
parent1c243751c095bb95e2795f076ea7a0bcdd60a93a
drm/panel: Add helper for reading DT rotation

This adds a helper function for reading the rotation (panel
orientation) from the device tree.

Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
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-2-digetx@gmail.com
drivers/gpu/drm/drm_panel.c
include/drm/drm_panel.h