Skip to content

arm64: dts: allwinner: h616: add LCD timing controller and display engine support

Ryan Walklin dri-devel linux-arm-kernel linux-devicetree linux-sunxi 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 4 repliesIn review
  2. v18 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12dt-bindings: allwinner: Add TCON_TOP_LCD clock definesinclude/dt-bindings/clock/sun8i-tcon-top.h+2 -01 reply
2/12dt-bindings: allwinner: add H616 DE33 bus bindingDocumentation/devicetree/bindings/bus/allwinner,sun50i-a64-de2.yaml+3 -41 reply
3/12dt-bindings: display: sun4i: Add compatible strings for H616 DEDocumentation/devicetree/bindings/display/allwinner,sun4i-a10-display-engine.yaml+1 -00 replies
4/12dt-bindings: display: sun4i: Add compatible strings for H616 TCON TOPDocumentation/devicetree/bindings/display/allwinner,sun8i-r40-tcon-top.yaml+9 -41 reply
5/12dt-bindings: display: sun4i: add allwinner R40 and H616 tcon compatible stringsDocumentation/devicetree/bindings/display/allwinner,sun4i-a10-tcon.yaml+10 -00 replies
6/12dt-bindings: sram: sunxi-sram: Add H616 SRAM C compatibleDocumentation/devicetree/bindings/sram/allwinner,sun4i-a10-system-control.yaml+3 -11 reply
7/12drm/sun4i: tcon: add support for R40drivers/gpu/drm/sun4i/sun4i_tcon.c+9 -00 replies
8/12drm: sun4i: add compatible for h616 display enginedrivers/gpu/drm/sun4i/sun4i_drv.c+1 -00 replies
9/12arm64: dts: allwinner: h616: add display engine, bus and mixer nodesarch/arm64/boot/dts/allwinner/sun50i-h616.dtsi+58 -00 replies
10/12arm64: dts: allwinner: h616: Add LCD timing controller nodesarch/arm64/boot/dts/allwinner/sun50i-h616.dtsi+141 -00 replies
11/12arm64: dts: allwinner: h616: add LCD and LVDS pinsarch/arm64/boot/dts/allwinner/sun50i-h616.dtsi+26 -00 replies
12/12arm64: dts: allwinner: rg35xx: Enable LCD outputarch/arm64/boot/dts/allwinner/sun50i-h700-anbernic-rg35xx-2024.dts+55 -00 replies

Reviews trailers per patch

3 of 12 patches have a Reviewed-by or Acked-by.

PatchRob Herring (Arm)Philippe SimonsKrzysztof Kozlowski
1/12A-b
2/12
3/12
4/12A-b
5/12
6/12A-b
7/12
8/12
9/12
10/12
11/12
12/12T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 00/12] arm64: dts: allwinner: h616: add LCD timing controller and display engine support

Hi All,

V2 of this patch adding display engine and timing controller support for the H616 and related SoCs, and enabling LCD output for the RG35XX series of handheld gaming devices using this SoC. V2 updates with feedback and Acks from the previous v1, with changes largely improving consistency of DT compatible and fallback strings, and removing the temporary GPIO switched backlight from v1 in favour of waiting for proper PWM support.

Regards,

Ryan

Original blurb below:

The H616 series of SoCs has an LCD timing controller as part of its display pipeline, capable of outputting to an LCD display, as well as HDMI and (depending on the SoC) composite TV signals. The pins are not exposed on all die variants, but the H700 variant is exposes RGB and LVDS pins. Building on the DE33 display engine patches on the list (https://lore.kernel.org/linux-sunxi/[email protected]), this patch series:

- adds the required device tree configuration for the display pipeline to the H616 (bus, display engine, mixer and timing controller)
- adds a quirk to the sun4i TCON driver for the Allwinner R40 (compatible with the H616/H618/H700/T507)
- describes the H616 RGB and LVDS GPIO pins
- adds the required pipeline endpoints to the device tree for the Anbernic RG35XX devices featuring this SoC
- adds LCD panel description, and required power supply configuration for the panel, backlight and GPIO pins for the RG35XX

Thanks to Jernej Skrabec for the initial out-of-tree patch for the T507.

Regards,

Ryan

Chris Morgan (1):
dt-bindings: allwinner: add H616 DE33 bus binding

Jernej Skrabec (1):
drm/sun4i: tcon: add support for R40

Ryan Walklin (10):
dt-bindings: allwinner: Add TCON_TOP_LCD clock defines
dt-bindings: display: sun4i: Add compatible strings for H616 DE
dt-bindings: display: sun4i: Add compatible strings for H616 TCON TOP
dt-bindings: display: sun4i: add allwinner R40 and H616 tcon
compatible strings
dt-bindings: sram: sunxi-sram: Add H616 SRAM C compatible
drm: sun4i: add compatible for h616 display engine
arm64: dts: allwinner: h616: add display engine, bus and mixer nodes
arm64: dts: allwinner: h616: Add LCD timing controller nodes
arm64: dts: allwinner: h616: add LCD and LVDS pins
arm64: dts: allwinner: rg35xx: Enable LCD output

 .../bus/allwinner,sun50i-a64-de2.yaml         |   7 +-
 .../allwinner,sun4i-a10-display-engine.yaml   |   1 +
 .../display/allwinner,sun4i-a10-tcon.yaml     |  10 +
 .../display/allwinner,sun8i-r40-tcon-top.yaml |  13 +-
 .../allwinner,sun4i-a10-system-control.yaml   |   4 +-
 .../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 225 ++++++++++++++++++
 .../sun50i-h700-anbernic-rg35xx-2024.dts      |  56 +++++
 drivers/gpu/drm/sun4i/sun4i_drv.c             |   1 +
 drivers/gpu/drm/sun4i/sun4i_tcon.c            |   9 +
 include/dt-bindings/clock/sun8i-tcon-top.h    |   2 +
 10 files changed, 319 insertions(+), 9 deletions(-)
Signature · 1 line
2.50.1