From: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
To: linux-media@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, devel@driverdev.osuosl.org
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Maxime Ripard <maxime.ripard@bootlin.com>,
Chen-Yu Tsai <wens@csie.org>,
Paul Kocialkowski <paul.kocialkowski@bootlin.com>,
Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
linux-sunxi@googlegroups.com, Hans Verkuil <hverkuil@xs4all.nl>,
Sakari Ailus <sakari.ailus@linux.intel.com>
Subject: [PATCH v2 00/15] Cedrus H5 and A64 support with A33 and H3 updates
Date: Wed, 5 Dec 2018 10:24:29 +0100 [thread overview]
Message-ID: <20181205092444.29497-1-paul.kocialkowski@bootlin.com> (raw)
This series adds support for the Allwinner H5 and A64 platforms to the
cedrus stateless video codec driver, with minor updates to the A33 and
H3 platforms.
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.
The reserved memory nodes for the A33 and H3 are also removed in this
series, since they are not actually necessary.
Changes since v1:
* Removed the reserved-memory nodes for the A64 and H5;
* Removed the reserved-memory nodes for the A33 and H3;
* Corrected the SRAM bases and sizes to the best of our knowledge;
* Dropped cosmetic dt changes already included in the sunxi tree.
Paul Kocialkowski (15):
ARM: dts: sun8i: h3: Fix the system-control register range
ARM: dts: sun8i: a33: Remove unnecessary reserved memory node
ARM: dts: sun8i: h3: Remove unnecessary reserved memory node
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 node
arm64: dts: allwinner: a64: Add Video Engine node
.../devicetree/bindings/media/cedrus.txt | 2 ++
.../devicetree/bindings/sram/sunxi-sram.txt | 5 +++
arch/arm/boot/dts/sun8i-a33.dtsi | 15 ---------
arch/arm/boot/dts/sun8i-h3.dtsi | 18 ++--------
arch/arm/boot/dts/sunxi-h3-h5.dtsi | 6 ----
arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 25 ++++++++++++++
arch/arm64/boot/dts/allwinner/sun50i-h5.dtsi | 33 +++++++++++++++++++
drivers/soc/sunxi/sunxi_sram.c | 10 +++++-
drivers/staging/media/sunxi/cedrus/cedrus.c | 16 +++++++++
9 files changed, 92 insertions(+), 38 deletions(-)
--
2.19.2
next reply other threads:[~2018-12-05 9:24 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-05 9:24 Paul Kocialkowski [this message]
2018-12-05 9:24 ` [PATCH v2 01/15] ARM: dts: sun8i: h3: Fix the system-control register range Paul Kocialkowski
2018-12-05 9:24 ` [PATCH v2 05/15] dt-bindings: sram: sunxi: Add bindings for the H5 with SRAM C1 Paul Kocialkowski
2018-12-05 9:24 ` [PATCH v2 08/15] ARM/arm64: sunxi: Move H3/H5 syscon label over to soc-specific nodes Paul Kocialkowski
2018-12-05 9:24 ` [PATCH v2 09/15] dt-bindings: sram: sunxi: Add compatible for the A64 SRAM C1 Paul Kocialkowski
2018-12-05 9:24 ` [PATCH v2 13/15] media: cedrus: Add device-tree compatible and variant for A64 support Paul Kocialkowski
[not found] ` <20181205092444.29497-14-paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
2018-12-05 11:01 ` Maxime Ripard
[not found] ` <20181205092444.29497-1-paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
2018-12-05 9:24 ` [PATCH v2 02/15] ARM: dts: sun8i: a33: Remove unnecessary reserved memory node Paul Kocialkowski
2018-12-05 9:24 ` [PATCH v2 03/15] ARM: dts: sun8i: h3: " Paul Kocialkowski
2018-12-05 9:24 ` [PATCH v2 04/15] soc: sunxi: sram: Enable EMAC clock access for H3 variant Paul Kocialkowski
2018-12-05 9:24 ` [PATCH v2 06/15] soc: sunxi: sram: Add support for the H5 SoC system control Paul Kocialkowski
2018-12-05 9:24 ` [PATCH v2 07/15] arm64: dts: allwinner: h5: Add system-control node with SRAM C1 Paul Kocialkowski
[not found] ` <20181205092444.29497-8-paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
2018-12-05 9:45 ` Chen-Yu Tsai
[not found] ` <CAGb2v66JwZ_RkEdk6sz-0Z7EJx7ieG3zBT6yr-95X6guxUkKTg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-12-05 9:48 ` Paul Kocialkowski
2018-12-05 9:49 ` Chen-Yu Tsai
[not found] ` <CAGb2v67tgp_tD_Pkx1Qkc=d__saZUMwwmE44uCCeLgVM2HWmUQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-12-05 9:53 ` Paul Kocialkowski
2018-12-05 9:24 ` [PATCH v2 10/15] arm64: dts: allwinner: a64: Add support for the SRAM C1 section Paul Kocialkowski
2018-12-05 9:24 ` [PATCH v2 11/15] dt-bindings: media: cedrus: Add compatibles for the A64 and H5 Paul Kocialkowski
[not found] ` <20181205092444.29497-12-paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
2018-12-05 11:00 ` Maxime Ripard
2018-12-05 9:24 ` [PATCH v2 12/15] media: cedrus: Add device-tree compatible and variant for H5 support Paul Kocialkowski
[not found] ` <20181205092444.29497-13-paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
2018-12-05 11:00 ` Maxime Ripard
2018-12-05 9:24 ` [PATCH v2 14/15] arm64: dts: allwinner: h5: Add Video Engine node Paul Kocialkowski
2018-12-05 9:24 ` [PATCH v2 15/15] arm64: dts: allwinner: a64: " Paul Kocialkowski
[not found] ` <20181205092444.29497-16-paul.kocialkowski-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>
2018-12-07 21:22 ` Jernej Škrabec
2018-12-10 9:00 ` Paul Kocialkowski
2018-12-05 9:48 ` [PATCH v2 00/15] Cedrus H5 and A64 support with A33 and H3 updates Chen-Yu Tsai
[not found] ` <CAGb2v64fjKbxET61S7NzTaPGJc7-XUG=Zb87_BOah9xWr5zpvg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-12-05 11:07 ` Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181205092444.29497-1-paul.kocialkowski@bootlin.com \
--to=paul.kocialkowski@bootlin.com \
--cc=devel@driverdev.osuosl.org \
--cc=devicetree@vger.kernel.org \
--cc=hverkuil@xs4all.nl \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=mark.rutland@arm.com \
--cc=maxime.ripard@bootlin.com \
--cc=mchehab@kernel.org \
--cc=robh+dt@kernel.org \
--cc=sakari.ailus@linux.intel.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).