[PATCH v6 4/4] drm/tidss: Add OLDI bridge support

Sverdlin, Alexander alexander.sverdlin at siemens.com
Tue Mar 25 19:05:21 UTC 2025


Thank you for your work Aradhya!

On Wed, 2025-02-26 at 23:43 +0530, Aradhya Bhatia wrote:
> From: Aradhya Bhatia <a-bhatia1 at ti.com>
> 
> The AM62x and AM62Px SoCs feature 2 OLDI TXes each, which makes it
> possible to connect them in dual-link or cloned single-link OLDI display
> modes. The current OLDI support in tidss_dispc.c can only support for
> a single OLDI TX, connected to a VP and doesn't really support
> configuration of OLDIs in the other modes. The current OLDI support in
> tidss_dispc.c also works on the principle that the OLDI output can only
> be served by one, and only one, DSS video-port. This isn't the case in
> the AM62Px SoC, where there are 2 DSS controllers present that share the
> OLDI TXes.
> 
> Having their own devicetree and their own bridge entity will help
> support the various display modes and sharing possiblilities of the OLDI
> hardware.
> 
> For all these reasons, add support for the OLDI TXes as DRM bridges.
> 
> Reviewed-by: Tomi Valkeinen <tomi.valkeinen at ideasonboard.com>
> Signed-off-by: Aradhya Bhatia <a-bhatia1 at ti.com>
> Signed-off-by: Aradhya Bhatia <aradhya.bhatia at linux.dev>

I've applied the series onto next-20250320 (+ required DT changes from
the TI tree + the parts required to wire the particular panel) and tested
with single channel AUO 800x480 LVDS panel on OLDI0. LGTM!

Tested-by: Alexander Sverdlin <alexander.sverdlin at siemens.com>

> ---
>  drivers/gpu/drm/tidss/Makefile           |   3 +-
>  drivers/gpu/drm/tidss/tidss_dispc.c      |  24 +-
>  drivers/gpu/drm/tidss/tidss_dispc.h      |   5 +
>  drivers/gpu/drm/tidss/tidss_dispc_regs.h |  14 +
>  drivers/gpu/drm/tidss/tidss_drv.c        |   9 +
>  drivers/gpu/drm/tidss/tidss_drv.h        |   5 +
>  drivers/gpu/drm/tidss/tidss_oldi.c       | 568 +++++++++++++++++++++++
>  drivers/gpu/drm/tidss/tidss_oldi.h       |  42 ++
>  8 files changed, 668 insertions(+), 2 deletions(-)
>  create mode 100644 drivers/gpu/drm/tidss/tidss_oldi.c
>  create mode 100644 drivers/gpu/drm/tidss/tidss_oldi.h
> 

-- 
Alexander Sverdlin
Siemens AG
www.siemens.com


More information about the dri-devel mailing list