Skip to content

drm: nuvoton: Add MA35D1 display controller support

Joey Lu dri-devel linux-arm-kernel linux-devicetree lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 13 repliesIn review
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

Driver changes:
- Drop custom CRTC and plane properties and switch to core-supported ones
- Switch to memory-safe DRM-managed allocation helpers
- Fix several minor logic
- Fix W=1 build failure on non-ARM architectures

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: display: nuvoton: add MA35D1 DCU bindingDocumentation/devicetree/bindings/display/nuvoton,ma35d1-dcu.yaml+73 -02 replies
2/3arm64: dts: nuvoton: ma35d1: add display controller supportarch/arm64/boot/dts/nuvoton/ma35d1-som-256m.dts arch/arm64/boot/dts/nuvoton/ma35d1.dtsi+70 -04 replies
3/3drm/nuvoton: add MA35D1 display controller driverdrivers/gpu/drm/Kconfig drivers/gpu/drm/Makefile drivers/gpu/drm/nuvoton/Kconfig +10 more+1917 -07 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] drm: nuvoton: Add MA35D1 display controller support

This is v2 of the Nuvoton MA35D1 DCU DRM driver series.

v2:
Driver changes:
- Drop custom CRTC and plane properties and switch to core-supported ones
- Switch to memory-safe DRM-managed allocation helpers
- Fix several minor logic
- Fix W=1 build failure on non-ARM architectures

Device tree / bindings:
- Fix dt_binding_check errors in the YAML schema
- Update DTS/DTSI files to follow proper hierarchy and port modeling

Thanks for the review.

Best regards,
Joey Lu

Joey Lu (3):
dt-bindings: display: nuvoton: add MA35D1 DCU binding
arm64: dts: nuvoton: ma35d1: add display controller support drm/nuvoton: add MA35D1 display controller driver

 .../bindings/display/nuvoton,ma35d1-dcu.yaml  |  73 +++
 .../boot/dts/nuvoton/ma35d1-som-256m.dts      |  56 ++
 arch/arm64/boot/dts/nuvoton/ma35d1.dtsi       |  14 +
 drivers/gpu/drm/Kconfig                       |   1 +
 drivers/gpu/drm/Makefile                      |   1 +
 drivers/gpu/drm/nuvoton/Kconfig               |  21 +
 drivers/gpu/drm/nuvoton/Makefile              |   7 +
 drivers/gpu/drm/nuvoton/ma35_crtc.c           | 372 +++++++++++
 drivers/gpu/drm/nuvoton/ma35_crtc.h           |  67 ++
 drivers/gpu/drm/nuvoton/ma35_drm.c            | 371 +++++++++++
 drivers/gpu/drm/nuvoton/ma35_drm.h            |  48 ++
 drivers/gpu/drm/nuvoton/ma35_interface.c      | 193 ++++++
 drivers/gpu/drm/nuvoton/ma35_interface.h      |  30 +
 drivers/gpu/drm/nuvoton/ma35_plane.c          | 603 ++++++++++++++++++
 drivers/gpu/drm/nuvoton/ma35_plane.h          | 115 ++++
 drivers/gpu/drm/nuvoton/ma35_regs.h           |  88 +++
 16 files changed, 2060 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/nuvoton,ma35d1-dcu.yaml
 create mode 100644 drivers/gpu/drm/nuvoton/Kconfig
 create mode 100644 drivers/gpu/drm/nuvoton/Makefile
 create mode 100644 drivers/gpu/drm/nuvoton/ma35_crtc.c
 create mode 100644 drivers/gpu/drm/nuvoton/ma35_crtc.h
 create mode 100644 drivers/gpu/drm/nuvoton/ma35_drm.c
 create mode 100644 drivers/gpu/drm/nuvoton/ma35_drm.h
 create mode 100644 drivers/gpu/drm/nuvoton/ma35_interface.c
 create mode 100644 drivers/gpu/drm/nuvoton/ma35_interface.h
 create mode 100644 drivers/gpu/drm/nuvoton/ma35_plane.c
 create mode 100644 drivers/gpu/drm/nuvoton/ma35_plane.h
 create mode 100644 drivers/gpu/drm/nuvoton/ma35_regs.h
Signature · 1 line
2.43.0