]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2c80285ed595cbdefb0c37afaa5336108f2a77ce
treeacdc73c6b0b8b42f7aaa07590ea8c26e7c7ac9d1
parentb1f9c0b3e9a70c2c90ccd5c024b10aeb6cc849ce
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