From: Alastair D'Silva <alastair@d-silva.org>
To: Herbert Xu <herbert@gondor.apana.org.au>,
"David S . Miller" <davem@davemloft.net>,
Olivia Mackall <olivia@selenic.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Chen-Yu Tsai <wens@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>
Cc: Andre Przywara <andre.przywara@arm.com>,
linux-crypto@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
Alastair D'Silva <alastair@d-silva.org>
Subject: [PATCH v2 1/4] dt-bindings: crypto: Add Allwinner A523/A733 Crypto Engine
Date: Mon, 30 Nov 2026 13:02:49 +1100 [thread overview]
Message-ID: <20261130020253.3574516-2-alastair@d-silva.org> (raw)
In-Reply-To: <20261130020253.3574516-1-alastair@d-silva.org>
Document the Allwinner Crypto Engine v5 on A523 and A733 SoCs.
The A733 block is register-compatible with A523 and adds an optional
low-power/entropy control register. The separate CE_SYS clock and reset
belong to the secure TEE instance and do not apply to this node.
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
---
.../crypto/allwinner,sun55i-a523-crypto.yaml | 68 +++++++++++++++++++
MAINTAINERS | 6 ++
2 files changed, 74 insertions(+)
create mode 100644 Documentation/devicetree/bindings/crypto/allwinner,sun55i-a523-crypto.yaml
diff --git a/Documentation/devicetree/bindings/crypto/allwinner,sun55i-a523-crypto.yaml b/Documentation/devicetree/bindings/crypto/allwinner,sun55i-a523-crypto.yaml
new file mode 100644
index 000000000000..cf422a0e5896
--- /dev/null
+++ b/Documentation/devicetree/bindings/crypto/allwinner,sun55i-a523-crypto.yaml
@@ -0,0 +1,68 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/crypto/allwinner,sun55i-a523-crypto.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Allwinner Crypto Engine v5
+
+maintainers:
+ - Alastair D'Silva <alastair@d-silva.org>
+
+properties:
+ compatible:
+ oneOf:
+ - const: allwinner,sun55i-a523-crypto
+ - items:
+ - const: allwinner,sun60i-a733-crypto
+ - const: allwinner,sun55i-a523-crypto
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clocks:
+ items:
+ - description: Bus clock
+ - description: Module clock
+ - description: MBus clock
+ - description: TRNG clock
+
+ clock-names:
+ items:
+ - const: bus
+ - const: mod
+ - const: ram
+ - const: trng
+
+ resets:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - clock-names
+ - resets
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/allwinner,sun60i-a733-ccu.h>
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+ #include <dt-bindings/reset/allwinner,sun60i-a733-ccu.h>
+
+ crypto@4603000 {
+ compatible = "allwinner,sun60i-a733-crypto",
+ "allwinner,sun55i-a523-crypto";
+ reg = <0x04603000 0x1000>;
+ interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>,
+ <&ccu CLK_MBUS_CE>, <&hosc>;
+ clock-names = "bus", "mod", "ram", "trng";
+ resets = <&ccu RST_BUS_CE>;
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index 64f8b6153b87..88848bb2c23d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -942,6 +942,12 @@ T: git git://linuxtv.org/media.git
F: Documentation/devicetree/bindings/media/allwinner,sun6i-a31-mipi-csi2.yaml
F: drivers/media/platform/sunxi/sun6i-mipi-csi2/
+ALLWINNER CE V5 TRNG DRIVER
+M: Alastair D'Silva <alastair@d-silva.org>
+L: linux-crypto@vger.kernel.org
+S: Maintained
+F: Documentation/devicetree/bindings/crypto/allwinner,sun55i-a523-crypto.yaml
+
ALLWINNER CPUFREQ DRIVER
M: Yangtao Li <tiny.windzz@gmail.com>
L: linux-pm@vger.kernel.org
--
2.53.0
next prev parent reply other threads:[~2026-11-30 2:03 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 2:02 [PATCH v2 0/4] crypto: sun55i-ce: Add Allwinner A733 CE v5 TRNG support Alastair D'Silva
2026-11-30 2:02 ` Alastair D'Silva [this message]
2026-11-30 2:02 ` [PATCH v2 2/4] crypto: sun55i-ce - Add Allwinner CE v5 TRNG driver Alastair D'Silva
2026-11-30 2:02 ` [PATCH v2 3/4] arm64: dts: allwinner: sun60i-a733: Add Crypto Engine node Alastair D'Silva
2026-11-30 2:02 ` [PATCH v2 4/4] arm64: dts: allwinner: sun60i-a733: Enable Crypto Engine on boards Alastair D'Silva
2026-11-30 2:02 ` [PATCH v2 4/4] arm64: dts: allwinner: sun60i-a733-orangepi-4-pro: Enable Crypto Engine Alastair D'Silva
2026-11-30 2:06 ` Alastair D'Silva
2026-11-30 3:21 ` [PATCH v2 0/4] crypto: sun55i-ce: Add Allwinner A733 CE v5 TRNG support Chen-Yu Tsai
2026-12-02 11:17 ` Andre Przywara
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=20261130020253.3574516-2-alastair@d-silva.org \
--to=alastair@d-silva.org \
--cc=andre.przywara@arm.com \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=jernej.skrabec@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=olivia@selenic.com \
--cc=robh@kernel.org \
--cc=samuel@sholland.org \
--cc=wens@kernel.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
all inboxes | Powered by JetHome®