]> git.baikalelectronics.ru Git - kernel.git/commit
drm/dbi: Support DBI typec1 read operations
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Jun 2021 18:11:34 +0000 (20:11 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Jun 2021 20:20:35 +0000 (22:20 +0200)
commitdd22fa6bb975370fed7e59ddeb28c84f1df2ab77
treed7740a81b911a91f6124bbf4bd497a7c55140f62
parent59a35cf8cfe7e24a3d7bf0caca984f51ec5c8e05
drm/dbi: Support DBI typec1 read operations

Implement SPI reads for typec1, for SPI controllers that
can support 9bpw in addition to 8bpw (such as GPIO bit-banged
SPI).

9bpw emulation is not supported but we have to start with
something.

This is used by s6e63m0 to read display MTP information
which is used by the driver for backlight control.

Reviewed-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20210614181135.1124445-1-linus.walleij@linaro.org
drivers/gpu/drm/drm_mipi_dbi.c