[PATCH v3 0/2] drm/mipi-dbi: Allow using same the D/C GPIO for multiple displays
Noralf Trønnes
noralf at tronnes.org
Wed Aug 2 11:26:28 UTC 2023
On 7/24/23 08:56, Otto Pflüger wrote:
> When multiple displays are connected to the same SPI bus, the data/command
> switch is sometimes considered part of the bus and is shared among the
> displays.
>
> This series adds the GPIO_FLAGS_BIT_NONEXCLUSIVE flag for this GPIO and
> SPI bus locking to the panel-mipi-dbi/drm_mipi_dbi drivers to support
> this hardware setup.
>
> ---
Thanks, applied to drm-misc-next.
Noralf.
> Changes in v3:
> - add comment and remove unnecessary line break as suggested by Noralf
> Changes in v2:
> - fix uses of mipi_dbi_spi_transfer outside drm_mipi_dbi.c (errors
> reported by kernel test robot)
> - remove the is_locked argument introduced in v1 which was always set to
> true
>
> Otto Pflüger (2):
> drm/mipi-dbi: Lock SPI bus before setting D/C GPIO
> drm/tiny: panel-mipi-dbi: Allow sharing the D/C GPIO
>
> drivers/gpu/drm/drm_mipi_dbi.c | 17 +++++++++++++----
> drivers/gpu/drm/tiny/ili9225.c | 7 ++++++-
> drivers/gpu/drm/tiny/ili9486.c | 4 ++++
> drivers/gpu/drm/tiny/panel-mipi-dbi.c | 3 ++-
> 4 files changed, 25 insertions(+), 6 deletions(-)
>
>
> base-commit: ae867bc97b713121b2a7f5fcac68378a0774739b
More information about the dri-devel
mailing list