Re: [PATCH v2 1/2] drm/mipi-dbi: Lock SPI bus before setting D/C GPIO

2023-07-23 Thread Noralf Trønnes
On 7/20/23 12:26, Otto Pflüger wrote: > Multiple displays may be connected to the same bus and share a D/C GPIO, > so the display driver needs exclusive access to the bus to ensure that > it can control the D/C GPIO safely. > > Signed-off-by: Otto Pflüger > --- > drivers/gpu/drm/drm_mipi_dbi.

Re: [PATCH v2 1/2] drm/mipi-dbi: Lock SPI bus before setting D/C GPIO

2023-07-23 Thread Noralf Trønnes
On 7/20/23 12:26, Otto Pflüger wrote: > Multiple displays may be connected to the same bus and share a D/C GPIO, > so the display driver needs exclusive access to the bus to ensure that > it can control the D/C GPIO safely. > > Signed-off-by: Otto Pflüger > --- Reviewed-by: Noralf Trønnes

[PATCH v2 1/2] drm/mipi-dbi: Lock SPI bus before setting D/C GPIO

2023-07-20 Thread Otto Pflüger
Multiple displays may be connected to the same bus and share a D/C GPIO, so the display driver needs exclusive access to the bus to ensure that it can control the D/C GPIO safely. Signed-off-by: Otto Pflüger --- drivers/gpu/drm/drm_mipi_dbi.c | 17 + drivers/gpu/drm/tiny/ili9225.