drm/panel: sitronix-st7789v: Clarify a definition
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 14 Jul 2023 01:37:54 +0000 (03:37 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 1 Aug 2023 08:29:59 +0000 (10:29 +0200)
commita368b40836e7fc4f24dbb0fcfb9dedcde1dcaa38
tree895c0ad20891390cd29e3a94cd249452f915279f
parent6b00e72e4bee08048379a6365251b195b8a946d1
drm/panel: sitronix-st7789v: Clarify a definition

The Sitronix datasheet explains BIT(1) of the RGBCTRL register as the
DOTCLK/PCLK edge used to sample the data lines:

    “0” The data is input on the positive edge of DOTCLK
    “1” The data is input on the negative edge of DOTCLK

IOW, this bit implies a falling edge and not a high state. Correct the
definition to ease the comparison with the datasheet.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Sebastian Reichel <sre@kernel.org>
Tested-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230714013756.1546769-18-sre@kernel.org
drivers/gpu/drm/panel/panel-sitronix-st7789v.c