|
|
Subscribe / Log in / New account

Add support for AM62L DSS

From:  Devarsh Thakkar <devarsht-AT-ti.com>
To:  <jyri.sarha-AT-iki.fi>, <tomi.valkeinen-AT-ideasonboard.com>, <airlied-AT-gmail.com>, <maarten.lankhorst-AT-linux.intel.com>, <mripard-AT-kernel.org>, <tzimmermann-AT-suse.de>, <dri-devel-AT-lists.freedesktop.org>, <simona-AT-ffwll.ch>, <linux-kernel-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org>, <robh-AT-kernel.org>, <krzk+dt-AT-kernel.org>, <conor+dt-AT-kernel.org>
Subject:  [PATCH v5 0/3] Add support for AM62L DSS
Date:  Tue, 29 Apr 2025 20:06:53 +0530
Message-ID:  <20250429143656.3252877-1-devarsht@ti.com>
Cc:  <praneeth-AT-ti.com>, <vigneshr-AT-ti.com>, <aradhya.bhatia-AT-linux.dev>, <s-jain1-AT-ti.com>, <r-donadkar-AT-ti.com>, <j-choudhary-AT-ti.com>, <h-shenoy-AT-ti.com>, <devarsht-AT-ti.com>
Archive-link:  Article

This adds support for DSS subsystem present in TI's AM62L SoC
which supports single display pipeline with DPI output which
is also routed to DSI Tx controller within the SoC.

Change Log:
V5:
- Use hw_id instead of index for places where it was missed
  so that we pick correct base address for vid region

V4:
- Update vid_info struct to keep hw_id and instantiate
  only for actually existing pipes

V3:
- Make generic infra to support truncated K3 DSS IP's
- Remove AM62A updates from AM62L DT binding updates

V2:
- Fix incorrect format of compatible string (comma instead of
  hyphen) for AM62L SoC
- Use separate register space and helper functions for AM62L
  due to minor differences in register offset/bit position differences
  for first plane

Rangediff:
V4->V5:
- https://gist.github.com/devarsht/a0e6aa7b1c19f47facd00589...

V3->V4:
- https://gist.github.com/devarsht/1e75c9e1ac0cdfc01703a077...

V2->V3:
- https://gist.github.com/devarsht/24fa8dd2986861efa431352d...

V1->V2
- https://gist.github.com/devarsht/11d47f25ca9fea6976e62843...

Links to previous versions:
V4: https://lore.kernel.org/all/20250326145736.3659670-1-deva...
V3: https://lore.kernel.org/all/20250306132914.1469387-1-deva...
V2: https://lore.kernel.org/all/20250204061552.3720261-1-deva...
V1: https://lore.kernel.org/all/20241231090432.3649158-1-deva...

Test logs:
https://gist.github.com/devarsht/82505ca69f0bd5d9788bfc24...

Devarsh Thakkar (3):
  dt-bindings: display: ti,am65x-dss: Add support for AM62L DSS
  drm/tidss: Update infrastructure to support K3 DSS cut-down versions
  drm/tidss: Add support for AM62L display subsystem

 .../bindings/display/ti/ti,am65x-dss.yaml     |  21 +-
 drivers/gpu/drm/tidss/tidss_crtc.c            |  11 +-
 drivers/gpu/drm/tidss/tidss_dispc.c           | 193 ++++++++++++++----
 drivers/gpu/drm/tidss/tidss_dispc.h           |  13 +-
 drivers/gpu/drm/tidss/tidss_drv.c             |   1 +
 drivers/gpu/drm/tidss/tidss_kms.c             |   2 +-
 drivers/gpu/drm/tidss/tidss_plane.c           |   2 +-
 7 files changed, 195 insertions(+), 48 deletions(-)

-- 
2.39.1




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds