[PATCH v5 0/2] Add lontium lt8713sx bridge driver

Vishnu Saini posted 2 patches 1 month ago
.../bindings/display/bridge/lontium,lt8713sx.yaml  | 113 ++++
drivers/gpu/drm/bridge/Kconfig                     |  10 +
drivers/gpu/drm/bridge/Makefile                    |   1 +
drivers/gpu/drm/bridge/lontium-lt8713sx.c          | 598 +++++++++++++++++++++
4 files changed, 722 insertions(+)
[PATCH v5 0/2] Add lontium lt8713sx bridge driver
Posted by Vishnu Saini 1 month ago
The lt8713sx is a Type-C/DP1.4 to Type-C/DP1.4/HDMI2.0 converter,
with three configurable DP1.4/HDMI2.0/DP++ output interfaces and
audio output interface.

This series provides bridge driver and dt bindings for lt8713sx.
The driver is required for firmware upgrade and enabling the bridge chip.

Signed-off-by: Vishnu Saini <vishnu.saini@oss.qualcomm.com>
---
Changes in v5:
- Commit msg changed a bit
- Added Author Maintainer after confirmation from Lontium
- Link to v4: https://lore.kernel.org/r/20260224-lt8713sx-bridge-driver-v4-0-b5603f5458d8@oss.qualcomm.com

Changes in v4:
- Improved crc calculation, calculated on padded buffer instead of bit
  by bit.
- Fixed brm bridge chain, using single drm_bridge as bridge chip itself will
  take care of providing all edp outputs from single input.
- Used guard mutex where needed.
- Link to v3: https://lore.kernel.org/r/20251228-lt8713sx-bridge-driver-v3-0-9169fbef0e5b@oss.qualcomm.com

Changes in v3:
- Used linux/sizes.h header for size definations.
- Used linux/crc8.h for CRC calculation
- Added Basic drm_bridge changes to support corresponding ports handeling in dt
- Ran coccinelle, smatch and sparse checkpatch.pl tools to improve code quality.
- Link to v2: https://lore.kernel.org/r/20251118-lt8713sx-bridge-driver-v2-0-25ad49280a11@oss.qualcomm.com

Changes in v2:
- Addressed review comments from V1, majorly:
- Fixed DCO chain.
- Added supply in bindings.
- Handeled deferred probe in lt8713sx driver probe.
- Link to v1: https://lore.kernel.org/r/20251115-lt8713sx-bridge-driver-v1-0-bd5a1c1c730a@oss.qualcomm.com

---
Vishnu Saini (2):
      dt-bindings: bridge: lt8713sx: Add bindings
      drm/bridge: add support for lontium lt8713sx bridge driver

 .../bindings/display/bridge/lontium,lt8713sx.yaml  | 113 ++++
 drivers/gpu/drm/bridge/Kconfig                     |  10 +
 drivers/gpu/drm/bridge/Makefile                    |   1 +
 drivers/gpu/drm/bridge/lontium-lt8713sx.c          | 598 +++++++++++++++++++++
 4 files changed, 722 insertions(+)
---
base-commit: de0d6e19d2ef33ba34be2467ffdf3595da5f5326
change-id: 20251115-lt8713sx-bridge-driver-32704455bc9a

Best regards,
-- 
Vishnu Saini <vishnu.saini@oss.qualcomm.com>
Re: [PATCH v5 0/2] Add lontium lt8713sx bridge driver
Posted by Dmitry Baryshkov 3 weeks, 5 days ago
On Tue, 03 Mar 2026 22:13:34 +0530, Vishnu Saini wrote:
> The lt8713sx is a Type-C/DP1.4 to Type-C/DP1.4/HDMI2.0 converter,
> with three configurable DP1.4/HDMI2.0/DP++ output interfaces and
> audio output interface.
> 
> This series provides bridge driver and dt bindings for lt8713sx.
> The driver is required for firmware upgrade and enabling the bridge chip.
> 
> [...]

Applied to drm-misc-next, thanks!

[1/2] dt-bindings: bridge: lt8713sx: Add bindings
      commit: 130daea1cb6217fb9b9ad51453e0a06e8111b3b2
[2/2] drm/bridge: add support for lontium lt8713sx bridge driver
      commit: 4037c6adc1f99843b9076e7ced85db0f233e9eeb

Best regards,
-- 
With best wishes
Dmitry
Re: [PATCH v5 0/2] Add lontium lt8713sx bridge driver
Posted by Dave Airlie 2 weeks, 1 day ago
Can we apply the two follow-up fixes to this from Arnd, this is broken
now in drm-next.

Dave.

On Sat, 14 Mar 2026 at 12:10, Dmitry Baryshkov
<dmitry.baryshkov@oss.qualcomm.com> wrote:
>
> On Tue, 03 Mar 2026 22:13:34 +0530, Vishnu Saini wrote:
> > The lt8713sx is a Type-C/DP1.4 to Type-C/DP1.4/HDMI2.0 converter,
> > with three configurable DP1.4/HDMI2.0/DP++ output interfaces and
> > audio output interface.
> >
> > This series provides bridge driver and dt bindings for lt8713sx.
> > The driver is required for firmware upgrade and enabling the bridge chip.
> >
> > [...]
>
> Applied to drm-misc-next, thanks!
>
> [1/2] dt-bindings: bridge: lt8713sx: Add bindings
>       commit: 130daea1cb6217fb9b9ad51453e0a06e8111b3b2
> [2/2] drm/bridge: add support for lontium lt8713sx bridge driver
>       commit: 4037c6adc1f99843b9076e7ced85db0f233e9eeb
>
> Best regards,
> --
> With best wishes
> Dmitry
>
>
Re: [PATCH v5 0/2] Add lontium lt8713sx bridge driver
Posted by Dmitry Baryshkov 2 weeks, 1 day ago
On Wed, 25 Mar 2026 at 01:59, Dave Airlie <airlied@gmail.com> wrote:
>
> Can we apply the two follow-up fixes to this from Arnd, this is broken
> now in drm-next.

Done, sorry for the inconvenience.

-- 
With best wishes
Dmitry