kernel_samsung_a53x/drivers/gpu/drm/bridge
Michael Walle 7d8a17729e drm/bridge: tc358775: fix support for jeida-18 and jeida-24
[ Upstream commit 30ea09a182cb37c4921b9d477ed18107befe6d78 ]

The bridge always uses 24bpp internally. Therefore, for jeida-18
mapping we need to discard the lowest two bits for each channel and thus
starting with LV_[RGB]2. jeida-24 has the same mapping but uses four
lanes instead of three, with the forth pair transmitting the lowest two
bits of each channel. Thus, the mapping between jeida-18 and jeida-24
is actually the same, except that one channel is turned off (by
selecting the RGB666 format in VPCTRL).

While at it, remove the bogus comment about the hardware default because
the default is overwritten in any case.

Tested with a jeida-18 display (Evervision VGG644804).

Fixes: b26975593b17 ("display/drm/bridge: TC358775 DSI/LVDS driver")
Signed-off-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Robert Foss <rfoss@kernel.org>
Signed-off-by: Robert Foss <rfoss@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240225062008.33191-5-tony@atomide.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:06 +01:00
..
adv7511 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
analogix Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cadence drm: bridge: cdns-mhdp8546: Fix possible null pointer dereference 2024-11-19 12:26:58 +01:00
synopsys Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cdns-dsi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
chrontel-ch7033.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
display-connector.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lontium-lt9611.c drm/bridge: lt9611: Don't log an error when DSI host can't be found 2024-11-19 12:26:58 +01:00
lvds-codec.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
megachips-stdpxxxx-ge-b850v3-fw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nwl-dsi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nwl-dsi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nxp-ptn3460.c drm/bridge: nxp-ptn3460: simplify some error checking 2024-11-18 12:13:03 +01:00
panel.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parade-ps8622.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
parade-ps8640.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sii902x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sii9234.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sil-sii8620.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sil-sii8620.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
simple-bridge.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tc358762.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tc358764.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tc358767.c drm/bridge: tc358767: Fix return value on error case 2024-11-18 12:12:40 +01:00
tc358768.c drm/bridge: tc358768: Fix bit updates 2024-11-18 11:42:55 +01:00
tc358775.c drm/bridge: tc358775: fix support for jeida-18 and jeida-24 2024-11-19 12:27:06 +01:00
thc63lvd1024.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti-sn65dsi86.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti-tfp410.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ti-tpd12s015.c drm/bridge: tpd12s015: Drop buggy __exit annotation for remove function 2024-11-18 12:12:39 +01:00