drm/bridge: sii902x: Set input bus format based on bus-width
authorWadim Egorov <w.egorov@phytec.de>
Thu, 17 Oct 2024 08:55:56 +0000 (10:55 +0200)
committerNeil Armstrong <neil.armstrong@linaro.org>
Mon, 21 Oct 2024 12:49:41 +0000 (14:49 +0200)
commitd284ccd8588c9b87222ec666a1da57f197023e5f
treefd4a5c071143c808befb63c9fc6a8c1c22a27ed5
parent096d518c43341c5d8b80948f6fbc90e916ffc7f2
drm/bridge: sii902x: Set input bus format based on bus-width

Introduce a bus-width property to define the number of parallel RGB
input pins connected to the transmitter. The input bus formats are updated
accordingly. If the property is not specified, default to 24-bit bus-width.

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20241017085556.3045686-3-w.egorov@phytec.de
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241017085556.3045686-3-w.egorov@phytec.de
drivers/gpu/drm/bridge/sii902x.c