Re: [PATCH v2 2/3] drm/bridge: lt9611: Add support for single Port B input
From: Dmitry Baryshkov
Date: Wed Jan 28 2026 - 19:49:08 EST
On Wed, Jan 28, 2026 at 07:15:46PM +0800, Hongyang Zhao wrote:
> The LT9611 has two DSI input ports. The driver currently assumes Port A
> is always used for single-port configurations. However, some boards
> connect DSI to Port B only.
>
> Update the driver to detect which ports are populated from devicetree
> and configure the hardware accordingly:
>
> - If only port@1 (Port B) is populated, configure port swap (0x8303
> bit 6) and byte_clk source (0x8250 bit 3:2) for Port B operation
> - If both ports are populated, use dual-port mode (Port A + B)
> - If only port@0 (Port A) is populated, use single Port A (existing
> behavior)
>
> Signed-off-by: Hongyang Zhao <hongyang.zhao@xxxxxxxxxxxxxxx>
> Reviewed-by: Roger Shimizu <rosh@xxxxxxxxxx>
> ---
> drivers/gpu/drm/bridge/lontium-lt9611.c | 46 +++++++++++++++++++++++----------
> 1 file changed, 32 insertions(+), 14 deletions(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx>
--
With best wishes
Dmitry