public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Add DSI Port B input support for LT9611 HDMI bridge
@ 2026-01-28 11:15 Hongyang Zhao
  2026-01-28 11:15 ` [PATCH v2 1/3] dt-bindings: display: lt9611: Support single Port B input Hongyang Zhao
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Hongyang Zhao @ 2026-01-28 11:15 UTC (permalink / raw)
  To: Andrzej Hajda, Neil Armstrong, Robert Foss, Laurent Pinchart,
	Jonas Karlman, Jernej Skrabec, David Airlie, Simona Vetter,
	Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Vinod Koul, Bjorn Andersson,
	Konrad Dybcio
  Cc: dri-devel, devicetree, linux-kernel, linux-arm-msm, Hongyang Zhao,
	Roger Shimizu

The LT9611 HDMI bridge has two DSI input ports (Port A and Port B).
The current driver only supports Port A or dual-port (A+B) mode, but
some boards like RubikPi3 connect DSI to Port B only.

This series adds support for using DSI Port B as the input source by
utilizing the existing ports mechanism in devicetree:

- port@0 corresponds to LT9611 DSI Port A input
- port@1 corresponds to LT9611 DSI Port B input

The driver detects which ports are populated and configures the hardware
accordingly. When only port@1 is present, it configures port swap
(register 0x8303 bit 6) and byte_clk source (register 0x8250 bit 3:2)
for Port B operation.

Signed-off-by: Hongyang Zhao <hongyang.zhao@thundersoft.com>
---
Changes in v2:
- Use ports mechanism instead of boolean property
- port@0 corresponds to LT9611 Port A, port@1 to Port B
- Driver detects which port is populated and configures accordingly
- Link to v1: https://lore.kernel.org/r/20260127-rubikpi-next-20260116-v1-0-0286c75150c5@thundersoft.com

---
Hongyang Zhao (3):
      dt-bindings: display: lt9611: Support single Port B input
      drm/bridge: lt9611: Add support for single Port B input
      arm64: dts: qcom: qcs6490-rubikpi3: Use lt9611 DSI Port B

 .../bindings/display/bridge/lontium,lt9611.yaml    | 15 +++++--
 .../boot/dts/qcom/qcs6490-thundercomm-rubikpi3.dts |  8 ++--
 drivers/gpu/drm/bridge/lontium-lt9611.c            | 46 +++++++++++++++-------
 3 files changed, 47 insertions(+), 22 deletions(-)
---
base-commit: 46fe65a2c28ecf5df1a7475aba1f08ccf4c0ac1b
change-id: 20260127-rubikpi-next-20260116-99c1dbea50e4

Best regards,
-- 
Hongyang Zhao <hongyang.zhao@thundersoft.com>


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2026-02-07 10:40 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-28 11:15 [PATCH v2 0/3] Add DSI Port B input support for LT9611 HDMI bridge Hongyang Zhao
2026-01-28 11:15 ` [PATCH v2 1/3] dt-bindings: display: lt9611: Support single Port B input Hongyang Zhao
2026-01-29  8:35   ` Neil Armstrong
2026-02-05 13:07   ` Krzysztof Kozlowski
2026-02-05 20:31     ` Roger Shimizu
2026-02-06  7:08       ` Krzysztof Kozlowski
2026-02-06  9:49         ` Roger Shimizu
2026-02-06 10:55           ` Krzysztof Kozlowski
2026-02-07  5:22             ` Roger Shimizu
2026-02-07  9:35               ` Krzysztof Kozlowski
2026-02-07 10:35                 ` Roger Shimizu
2026-01-28 11:15 ` [PATCH v2 2/3] drm/bridge: lt9611: Add support for " Hongyang Zhao
2026-01-29  0:47   ` Dmitry Baryshkov
2026-01-28 11:15 ` [PATCH v2 3/3] arm64: dts: qcom: qcs6490-rubikpi3: Use lt9611 DSI Port B Hongyang Zhao
2026-01-28 11:26   ` Konrad Dybcio
2026-02-05 13:09   ` Krzysztof Kozlowski
2026-02-05 19:36     ` Roger Shimizu
2026-02-06  7:08       ` Krzysztof Kozlowski
2026-02-07  5:24         ` Roger Shimizu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox