drm/panel: sitronix-st7789v: Use 9 bits per spi word by default
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 14 Jul 2023 01:37:53 +0000 (03:37 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Tue, 1 Aug 2023 08:29:58 +0000 (10:29 +0200)
commit6b00e72e4bee08048379a6365251b195b8a946d1
tree68b504f8720ca7a014c8ad7eccc4a97ce41f3547
parent9943981aa3ab7841186827fce2177279c766b6df
drm/panel: sitronix-st7789v: Use 9 bits per spi word by default

The Sitronix controller expects 9-bit words, provide this as default at
probe time rather than specifying this in each and every access.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
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-17-sre@kernel.org
drivers/gpu/drm/panel/panel-sitronix-st7789v.c