Skip to content

ARM: sun8i: a23: Enable display pipeline

Chen-Yu Tsai dri-devel linux-arm-kernel linux-clk linux-devicetree lkml 1 version Applied

Status from this message: Applied all, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/11clk: sunxi-ng: sun8i-a23: Enable PLL-MIPI LDOs when ungating itdrivers/clk/sunxi-ng/ccu-sun8i-a23.c+1 -11 reply
2/11dt-bindings: display: sun4i-drm: Add compatible strings for A23 displayDocumentation/devicetree/bindings/display/sunxi/sun4i-drm.txt+5 -00 replies
3/11drm/sun4i: backend: Remove BGRX8888 from list of supported formatsdrivers/gpu/drm/sun4i/sun4i_backend.c+0 -10 replies
4/11drm/sun4i: layer: Assign backend pointer before calling DRM helpersdrivers/gpu/drm/sun4i/sun4i_layer.c+2 -10 replies
5/11drm/sun4i: layer: support just backend formats when frontend is unavailabledrivers/gpu/drm/sun4i/sun4i_layer.c+31 -30 replies
6/11drm/sun4i: Add support for A23 display pipelinedrivers/gpu/drm/sun4i/sun4i_backend.c drivers/gpu/drm/sun4i/sun4i_drv.c drivers/gpu/drm/sun4i/sun4i_frontend.c +2 more+12 -00 replies
7/11ARM: dts: sun8i-a23-a33: Move NAND controller device node to sort by addressarch/arm/boot/dts/sun8i-a23-a33.dtsi+13 -150 replies
8/11ARM: dts: sun8i-a33: Move display pipeline nodes to a23/a33 common dtsiarch/arm/boot/dts/sun8i-a23-a33.dtsi arch/arm/boot/dts/sun8i-a33.dtsi+185 -1560 replies
9/11ARM: dts: sun8i-a23: Add compatible strings to display pipeline device nodesarch/arm/boot/dts/sun8i-a23.dtsi+20 -00 replies
10/11ARM: dts: sun8i-q8-common: Enable display pipeline with RGB LCD panelarch/arm/boot/dts/sun8i-q8-common.dtsi+37 -00 replies
11/11ARM: dts: sun8i-a23-q8: Set compatible string for LCD panelarch/arm/boot/dts/sun8i-a23-q8-tablet.dts+4 -00 replies

Reviews trailers per patch

1 of 11 patches has a Reviewed-by or Acked-by.

PatchJagan Teki
1/11R-b
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] ARM: sun8i: a23: Enable display pipeline

Hi everyone,

This series enables the display pipeline on the Allwinner A23 SoC. A few fixes are included for corner cases when the frontend isn't enabled.

The A23 display pipeline is very much the same as the A33, except that the A23 does not have the SAT IP block embedded within the display backend.

MIPI DSI is not covered as I do not have a device that uses it.

Patch 1 fixes the pll-mipi clock on the A23.

Patch 2 adds compatible strings for the various hardware blocks of the A23 display pipeline.

Patch 3 through 5 fix some issues in our DRM plane support, namely declaring support for formats when we shouldn't.

Patch 6 adds support for the A23 display pipeline to the driver.

Patch 7 is a small cleanup before moving the display pipeline device nodes.

Patch 8 moves the display nodes from the A33-specific dtsi file to the A23-A33 shared dtsi file. Note that the MIPI DSI device nodes are not moved.

Patch 9 adds compatible strings to the display nodes in the A23-specific dtsi file.

Patch 10 enables the display pipeline for the shared A23/A33 Q8 tablet dtsi file. The compatible string should be filled in by the tablet dts files.

Patch 11 fills in the compatible string for the standard A23 Q8 tablet. Note the compatible string is not for the specific model used in the tablet, as it varies between production runs. Rather it is just one that works.

Please have a look. Patch 3 might be worth applying as a fix, but might not be worth the trouble. It could just as easily be applied for -next and then backported.

Also, the fixes tags are no longer line wrapped, unlike patches I've sent in the past.

Regards
ChenYu

Chen-Yu Tsai (11):
clk: sunxi-ng: sun8i-a23: Enable PLL-MIPI LDOs when ungating it
dt-bindings: display: sun4i-drm: Add compatible strings for A23
display
drm/sun4i: backend: Remove BGRX8888 from list of supported formats drm/sun4i: layer: Assign backend pointer before calling DRM helpers drm/sun4i: layer: support just backend formats when frontend is
unavailable
drm/sun4i: Add support for A23 display pipeline
ARM: dts: sun8i-a23-a33: Move NAND controller device node to sort by
address
ARM: dts: sun8i-a33: Move display pipeline nodes to a23/a33 common
dtsi
ARM: dts: sun8i-a23: Add compatible strings to display pipeline device
nodes
ARM: dts: sun8i-q8-common: Enable display pipeline with RGB LCD panel
ARM: dts: sun8i-a23-q8: Set compatible string for LCD panel

 .../bindings/display/sunxi/sun4i-drm.txt      |   5 +
 arch/arm/boot/dts/sun8i-a23-a33.dtsi          | 175 ++++++++++++++--
 arch/arm/boot/dts/sun8i-a23-q8-tablet.dts     |   4 +
 arch/arm/boot/dts/sun8i-a23.dtsi              |  20 ++
 arch/arm/boot/dts/sun8i-a33.dtsi              | 194 ++++--------------
 arch/arm/boot/dts/sun8i-q8-common.dtsi        |  37 ++++
 drivers/clk/sunxi-ng/ccu-sun8i-a23.c          |   2 +-
 drivers/gpu/drm/sun4i/sun4i_backend.c         |   5 +-
 drivers/gpu/drm/sun4i/sun4i_drv.c             |   2 +
 drivers/gpu/drm/sun4i/sun4i_frontend.c        |   4 +
 drivers/gpu/drm/sun4i/sun4i_layer.c           |  37 +++-
 drivers/gpu/drm/sun4i/sun4i_tcon.c            |   1 +
 drivers/gpu/drm/sun4i/sun6i_drc.c             |   1 +
 13 files changed, 310 insertions(+), 177 deletions(-)
Signature · 1 line
2.20.1