dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/mipi-dbi: Allow using same the D/C GPIO for multiple displays
@ 2023-07-19  9:53 Otto Pflüger
  2023-07-19  9:53 ` [PATCH 1/2] drm/mipi-dbi: Lock SPI bus before setting D/C GPIO Otto Pflüger
  2023-07-19  9:53 ` [PATCH 2/2] drm/tiny: panel-mipi-dbi: Allow sharing the " Otto Pflüger
  0 siblings, 2 replies; 5+ messages in thread
From: Otto Pflüger @ 2023-07-19  9:53 UTC (permalink / raw)
  To: dri-devel
  Cc: Thomas Zimmermann, Maxime Ripard, Noralf Trønnes,
	Otto Pflüger

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.

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        | 22 +++++++++++++++++-----
 drivers/gpu/drm/tiny/panel-mipi-dbi.c |  3 ++-
 include/drm/drm_mipi_dbi.h            |  2 +-
 3 files changed, 20 insertions(+), 7 deletions(-)

-- 
2.39.1

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-07-19 20:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-19  9:53 [PATCH 0/2] drm/mipi-dbi: Allow using same the D/C GPIO for multiple displays Otto Pflüger
2023-07-19  9:53 ` [PATCH 1/2] drm/mipi-dbi: Lock SPI bus before setting D/C GPIO Otto Pflüger
2023-07-19 14:55   ` kernel test robot
2023-07-19 20:37   ` kernel test robot
2023-07-19  9:53 ` [PATCH 2/2] drm/tiny: panel-mipi-dbi: Allow sharing the " Otto Pflüger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox