drm/panel/panel-sitronix-st7701: Adjust porch control bitfield name
authorMarek Vasut <marex@denx.de>
Sun, 10 Jul 2022 19:44:34 +0000 (21:44 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 19 Jul 2022 08:38:59 +0000 (10:38 +0200)
commit82f9cee25598a1cb06529df8e7e1f86f61e786e9
treeacdc73c6b0b8b42f7aaa07590ea8c26e7c7ac9d1
parent1ba85119afb5e45c699bf074dcdc894bfbf1c614
drm/panel/panel-sitronix-st7701: Adjust porch control bitfield name

Define DSI_CMD2_BK0_PORCTRL_VBP_MASK and DSI_CMD2_BK0_PORCTRL_VFP_MASK
and move the vertical back and front porch calculation from macros into
the st7701_init_sequence() function, so it is clear what this does.

No functional change.

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-6-marex@denx.de
drivers/gpu/drm/panel/panel-sitronix-st7701.c