drm/panel/panel-sitronix-st7701: Split GIP and init sequences
authorMarek Vasut <marex@denx.de>
Sun, 10 Jul 2022 19:44:37 +0000 (21:44 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 19 Jul 2022 08:39:02 +0000 (10:39 +0200)
commit42542c7904cf2e6fb795dc7ffd1903ab7d6e53fb
tree956642cbab0cae27282a50f31e05c82305252eee
parent83b7a8e7e88e7a201facc9c33833330485f5ec12
drm/panel/panel-sitronix-st7701: Split GIP and init sequences

The ST7701 initialization sequence is well parametrized, split the GIP
programming sequence, which is fully custom completely undocumented
TFT matrix specific magic register programming sequence into separate
callback so other TFT matrix definitions can add their own GIP sequence.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Guido Günther <agx@sigxcpu.org>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220710194437.289042-9-marex@denx.de
drivers/gpu/drm/panel/panel-sitronix-st7701.c