All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/15] drm: sprd: Make the Unisoc DRM driver usable on UMS9230
@ 2025-07-22 14:41 Otto Pflüger
  2025-07-22 14:41 ` [PATCH v2 01/15] dt-bindings: display: sprd: adapt for UMS9230 support Otto Pflüger
                   ` (14 more replies)
  0 siblings, 15 replies; 24+ messages in thread
From: Otto Pflüger @ 2025-07-22 14:41 UTC (permalink / raw)
  To: David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
	Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Orson Zhai, Baolin Wang, Chunyan Zhang, Kevin Tang
  Cc: dri-devel, devicetree, linux-kernel, Otto Pflüger

Fix some existing bugs that prevent the driver from working properly
and adapt the platform-specific code to support the UMS9230 SoC.

Signed-off-by: Otto Pflüger <otto.pflueger@abscue.de>
---
Changes in v2:
- Fix device tree binding syntax
- Use more descriptive clock names
- Keep IOMMU handle in DPU node and make the driver handle this instead
  (otherwise the binding turns out to be incorrect for newer hardware)
- Remove all accesses to IOMMU registers from the DPU driver (after
  observing that sharkl3 can also use sprd_iommu, I concluded that they
  should not be needed at all)
- Fix container_of macros in sprd_dsi.h
- Link to v1: https://lore.kernel.org/r/20250719-ums9230-drm-v1-0-e4344a05eb3d@abscue.de

---
Otto Pflüger (15):
      dt-bindings: display: sprd: adapt for UMS9230 support
      dt-bindings: display: sprd: add memory-region property
      dt-bindings: display: sprd: allow attaching a DSI panel
      drm: of: try binding port parent node instead of the port itself
      drm: sprd: remove plane and crtc destroy callbacks
      drm: sprd: register a DSI bridge and move init code to pre_enable
      drm: sprd: add support for UMS9230 DSI PLL
      drm: sprd: fix DSI rate and PLL setup code
      drm: sprd: select REGMAP in Kconfig
      drm: sprd: add clock gating support
      drm: sprd: add support for newer DPU versions
      drm: sprd: always initialize DPU and DSI registers
      drm: sprd: do not access IOMMU registers
      drm: sprd: implement IOMMU-based buffer management
      drm: sprd: add fbdev support

 .../bindings/display/sprd/sprd,sharkl3-dpu.yaml    |  32 +-
 .../display/sprd/sprd,sharkl3-dsi-host.yaml        |  42 ++-
 drivers/gpu/drm/drm_of.c                           |   2 +-
 drivers/gpu/drm/sprd/Kconfig                       |   3 +
 drivers/gpu/drm/sprd/Makefile                      |   3 +-
 drivers/gpu/drm/sprd/megacores_pll.c               |  28 +-
 drivers/gpu/drm/sprd/sprd_dpu.c                    |  62 ++--
 drivers/gpu/drm/sprd/sprd_dpu.h                    |   1 +
 drivers/gpu/drm/sprd/sprd_drm.c                    |  57 +++-
 drivers/gpu/drm/sprd/sprd_drm.h                    |  10 +
 drivers/gpu/drm/sprd/sprd_dsi.c                    | 181 +++++++----
 drivers/gpu/drm/sprd/sprd_dsi.h                    |  19 +-
 drivers/gpu/drm/sprd/sprd_gem.c                    | 343 +++++++++++++++++++++
 drivers/gpu/drm/sprd/sprd_gem.h                    |  34 ++
 14 files changed, 697 insertions(+), 120 deletions(-)
---
base-commit: 05adbee3ad528100ab0285c15c91100e19e10138
change-id: 20250719-ums9230-drm-eb271289bfcd
prerequisite-message-id: <20250720123003.37662-3-krzysztof.kozlowski@linaro.org>
prerequisite-patch-id: da2f2d2034f4b3fd5ffea122a6d0df20cb68fb88
prerequisite-patch-id: 2ccbc6b30bb53f303470b2a8376df4356e8785a3

Best regards,
-- 
Otto Pflüger <otto.pflueger@abscue.de>

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

end of thread, other threads:[~2025-07-23 22:43 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-22 14:41 [PATCH v2 00/15] drm: sprd: Make the Unisoc DRM driver usable on UMS9230 Otto Pflüger
2025-07-22 14:41 ` [PATCH v2 01/15] dt-bindings: display: sprd: adapt for UMS9230 support Otto Pflüger
2025-07-23  7:50   ` Krzysztof Kozlowski
2025-07-22 14:41 ` [PATCH v2 02/15] dt-bindings: display: sprd: add memory-region property Otto Pflüger
2025-07-23  7:51   ` Krzysztof Kozlowski
2025-07-22 14:41 ` [PATCH v2 03/15] dt-bindings: display: sprd: allow attaching a DSI panel Otto Pflüger
2025-07-23  7:54   ` Krzysztof Kozlowski
2025-07-23  8:03     ` Krzysztof Kozlowski
2025-07-22 14:41 ` [PATCH v2 04/15] drm: of: try binding port parent node instead of the port itself Otto Pflüger
2025-07-23  7:02   ` Maxime Ripard
2025-07-22 14:41 ` [PATCH v2 05/15] drm: sprd: remove plane and crtc destroy callbacks Otto Pflüger
2025-07-22 14:41 ` [PATCH v2 06/15] drm: sprd: register a DSI bridge and move init code to pre_enable Otto Pflüger
2025-07-22 14:41 ` [PATCH v2 07/15] drm: sprd: add support for UMS9230 DSI PLL Otto Pflüger
2025-07-22 14:41 ` [PATCH v2 08/15] drm: sprd: fix DSI rate and PLL setup code Otto Pflüger
2025-07-22 14:41 ` [PATCH v2 09/15] drm: sprd: select REGMAP in Kconfig Otto Pflüger
2025-07-22 14:41 ` [PATCH v2 10/15] drm: sprd: add clock gating support Otto Pflüger
2025-07-23  7:00   ` Maxime Ripard
2025-07-23  8:32     ` Otto Pflüger
2025-07-22 14:41 ` [PATCH v2 11/15] drm: sprd: add support for newer DPU versions Otto Pflüger
2025-07-22 14:41 ` [PATCH v2 12/15] drm: sprd: always initialize DPU and DSI registers Otto Pflüger
2025-07-22 14:41 ` [PATCH v2 13/15] drm: sprd: do not access IOMMU registers Otto Pflüger
2025-07-22 14:41 ` [PATCH v2 14/15] drm: sprd: implement IOMMU-based buffer management Otto Pflüger
2025-07-23 22:43   ` kernel test robot
2025-07-22 14:41 ` [PATCH v2 15/15] drm: sprd: add fbdev support Otto Pflüger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.