drm/panel: ilitek-ili9881c: Read panel orientation
authorJohn Keeping <john@metanate.com>
Wed, 20 Oct 2021 15:34:30 +0000 (16:34 +0100)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 25 Oct 2021 16:43:39 +0000 (18:43 +0200)
commitd9c022d5dfea9f0b550a3d24ec786d39ff55ad6b
tree1199270f33ebb58417624631b2617acee9a0024d
parentf4b2e66967bc4869cbc039a5417be4d8ad7ad1b4
drm/panel: ilitek-ili9881c: 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 ILI9881C based panels.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20211020153432.383845-4-john@metanate.com
drivers/gpu/drm/panel/panel-ilitek-ili9881c.c