Skip to content

Cedrus support for the Allwinner H5 and A64 platforms

Paul Kocialkowski linux-arm-kernel linux-devicetree linux-media lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15ARM: dts: sun8i-a33: Remove heading 0 in video-codec unit addressarch/arm/boot/dts/sun8i-a33.dtsi+1 -13 replies
2/15ARM: dts: sun8i-h3: Remove heading 0 in video-codec unit addressarch/arm/boot/dts/sun8i-h3.dtsi+1 -11 reply
3/15ARM: dts: sun8i-h3: Fix the system-control register rangearch/arm/boot/dts/sun8i-h3.dtsi+1 -11 reply
4/15soc: sunxi: sram: Enable EMAC clock access for H3 variantdrivers/soc/sunxi/sunxi_sram.c+5 -11 reply
5/15dt-bindings: sram: sunxi: Add bindings for the H5 with SRAM C1Documentation/devicetree/bindings/sram/sunxi-sram.txt+4 -01 reply
6/15soc: sunxi: sram: Add support for the H5 SoC system controldrivers/soc/sunxi/sunxi_sram.c+4 -00 replies
7/15arm64: dts: allwinner: h5: Add system-control node with SRAM C1arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi+22 -03 replies
8/15ARM/arm64: sunxi: Move H3/H5 syscon label over to soc-specific nodesarch/arm/boot/dts/sun8i-h3.dtsi arch/arm/boot/dts/sunxi-h3-h5.dtsi arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi+2 -84 replies
9/15dt-bindings: sram: sunxi: Add compatible for the A64 SRAM C1Documentation/devicetree/bindings/sram/sunxi-sram.txt+1 -01 reply
10/15arm64: dts: allwinner: a64: Add support for the SRAM C1 sectionarch/arm64/boot/dts/allwinner/sun50i-a64.dtsi+14 -01 reply
11/15dt-bindings: media: cedrus: Add compatibles for the A64 and H5Documentation/devicetree/bindings/media/cedrus.txt+2 -01 reply
12/15media: cedrus: Add device-tree compatible and variant for H5 supportdrivers/staging/media/sunxi/cedrus/cedrus.c+8 -00 replies
13/15media: cedrus: Add device-tree compatible and variant for A64 supportdrivers/staging/media/sunxi/cedrus/cedrus.c+8 -00 replies
14/15arm64: dts: allwinner: h5: Add Video Engine and reserved memory nodearch/arm64/boot/dts/allwinner/sun50i-h5.dtsi+25 -02 replies
15/15arm64: dts: allwinner: a64: Add Video Engine and reserved memory nodearch/arm64/boot/dts/allwinner/sun50i-a64.dtsi+25 -01 reply

Reviews trailers per patch

7 of 15 patches have a Reviewed-by or Acked-by.

PatchChen-Yu TsaiRob Herring
1/15A-b
2/15A-b
3/15A-b
4/15R-b
5/15R-b
6/15
7/15
8/15
9/15R-b
10/15
11/15R-b
12/15
13/15
14/15
15/15

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/15] Cedrus support for the Allwinner H5 and A64 platforms

This series adds support for the Allwinner H5 and A64 platforms to the cedrus stateless video codec driver, with minor fixes to H3 support.

It requires changes to the SRAM driver bindings and driver, to properly support the H5 and the A64 C1 SRAM section. Because a H5-specific system-control node is introduced, the dummy syscon node that was shared between the H3 and H5 is removed in favor of each platform-specific node. A few fixes are included to ensure that the EMAC clock configuration register is still accessible through the sunxi SRAM driver (instead of the dummy syscon node, that was there for this purpose) on the H3 and H5.

Some minor cosmetic fixes are also included regarding the video-codec addresses in the device-tree.

Paul Kocialkowski (15):
ARM: dts: sun8i-a33: Remove heading 0 in video-codec unit address
ARM: dts: sun8i-h3: Remove heading 0 in video-codec unit address
ARM: dts: sun8i-h3: Fix the system-control register range
soc: sunxi: sram: Enable EMAC clock access for H3 variant
dt-bindings: sram: sunxi: Add bindings for the H5 with SRAM C1
soc: sunxi: sram: Add support for the H5 SoC system control
arm64: dts: allwinner: h5: Add system-control node with SRAM C1 ARM/arm64: sunxi: Move H3/H5 syscon label over to soc-specific nodes
dt-bindings: sram: sunxi: Add compatible for the A64 SRAM C1
arm64: dts: allwinner: a64: Add support for the SRAM C1 section
dt-bindings: media: cedrus: Add compatibles for the A64 and H5
media: cedrus: Add device-tree compatible and variant for H5 support
media: cedrus: Add device-tree compatible and variant for A64 support
arm64: dts: allwinner: h5: Add Video Engine and reserved memory node
arm64: dts: allwinner: a64: Add Video Engine and reserved memory node

 .../devicetree/bindings/media/cedrus.txt      |  2 +
 .../devicetree/bindings/sram/sunxi-sram.txt   |  5 ++
 arch/arm/boot/dts/sun8i-a33.dtsi              |  2 +-
 arch/arm/boot/dts/sun8i-h3.dtsi               |  6 +--
 arch/arm/boot/dts/sunxi-h3-h5.dtsi            |  6 ---
 arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 39 +++++++++++++++
 arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi  | 47 +++++++++++++++++++
 drivers/soc/sunxi/sunxi_sram.c                | 10 +++-
 drivers/staging/media/sunxi/cedrus/cedrus.c   | 16 +++++++
 9 files changed, 122 insertions(+), 11 deletions(-)
Signature · 1 line
2.19.1