]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit413f52f146f148827dd7a61ca599143f60ae3e3c
treed7740a81b911a91f6124bbf4bd497a7c55140f62
parent440d0f12b52a920f4c78376b3ce7039ba59244c5
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