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 <[email protected]>
> Reviewed-by: Roger Shimizu <[email protected]>
> ---
>  drivers/gpu/drm/bridge/lontium-lt9611.c | 46 
> +++++++++++++++++++++++----------
>  1 file changed, 32 insertions(+), 14 deletions(-)
> 

Reviewed-by: Dmitry Baryshkov <[email protected]>


-- 
With best wishes
Dmitry

Reply via email to