* [PATCH v3 0/2] ARM: dts: sun8i: v3s: Enable crypto engine
@ 2020-09-07 16:24 Martin Cerveny
2020-09-07 16:24 ` [PATCH v3 1/2] dt-bindings: crypto: Add compatible for V3s Martin Cerveny
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Martin Cerveny @ 2020-09-07 16:24 UTC (permalink / raw)
To: Maxime Ripard
Cc: Martin Cerveny, David S. Miller, devicetree, Herbert Xu,
linux-arm-kernel, linux-crypto, linux-kernel, Rob Herring
Add support for crypto engine (sun4i-ss) for Allwinner V3s.
Functionality like A33 so add only compatible and enable
in device tree.
Regards.
Changes since v2:
- reduced to device tree only with A33 compatibility
Changes since v1:
- splitting to patch series
martin Cerveny (2):
dt-bindings: crypto: Add compatible for V3s
ARM: dts: sun8i: v3s: Enable crypto engine
.../bindings/crypto/allwinner,sun4i-a10-crypto.yaml | 3 +++
arch/arm/boot/dts/sun8i-v3s.dtsi | 11 +++++++++++
2 files changed, 14 insertions(+)
--
2.17.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v3 1/2] dt-bindings: crypto: Add compatible for V3s
2020-09-07 16:24 [PATCH v3 0/2] ARM: dts: sun8i: v3s: Enable crypto engine Martin Cerveny
@ 2020-09-07 16:24 ` Martin Cerveny
2020-09-07 16:24 ` [PATCH v3 2/2] ARM: dts: sun8i: v3s: Enable crypto engine Martin Cerveny
2020-09-08 6:20 ` [PATCH v3 0/2] " Maxime Ripard
2 siblings, 0 replies; 4+ messages in thread
From: Martin Cerveny @ 2020-09-07 16:24 UTC (permalink / raw)
To: Maxime Ripard
Cc: Martin Cerveny, David S. Miller, devicetree, Herbert Xu,
linux-arm-kernel, linux-crypto, linux-kernel, Rob Herring
Allwinner V3s has crypto engine similar to that in A33.
So add compatible.
Signed-off-by: Martin Cerveny <m.cerveny@computer.org>
---
.../devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml b/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml
index fc823572bcff..d7d64335120c 100644
--- a/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml
+++ b/Documentation/devicetree/bindings/crypto/allwinner,sun4i-a10-crypto.yaml
@@ -25,6 +25,9 @@ properties:
- const: allwinner,sun4i-a10-crypto
- items:
- const: allwinner,sun8i-a33-crypto
+ - items:
+ - const: allwinner,sun8i-v3s-crypto
+ - const: allwinner,sun8i-a33-crypto
reg:
maxItems: 1
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH v3 2/2] ARM: dts: sun8i: v3s: Enable crypto engine
2020-09-07 16:24 [PATCH v3 0/2] ARM: dts: sun8i: v3s: Enable crypto engine Martin Cerveny
2020-09-07 16:24 ` [PATCH v3 1/2] dt-bindings: crypto: Add compatible for V3s Martin Cerveny
@ 2020-09-07 16:24 ` Martin Cerveny
2020-09-08 6:20 ` [PATCH v3 0/2] " Maxime Ripard
2 siblings, 0 replies; 4+ messages in thread
From: Martin Cerveny @ 2020-09-07 16:24 UTC (permalink / raw)
To: Maxime Ripard
Cc: Martin Cerveny, David S. Miller, devicetree, Herbert Xu,
linux-arm-kernel, linux-crypto, linux-kernel, Rob Herring
V3s contains crypto engine that is compatible with A33.
Add device tree node.
Signed-off-by: Martin Cerveny <m.cerveny@computer.org>
---
arch/arm/boot/dts/sun8i-v3s.dtsi | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi
index e5312869c0d2..6eb9c39aa93f 100644
--- a/arch/arm/boot/dts/sun8i-v3s.dtsi
+++ b/arch/arm/boot/dts/sun8i-v3s.dtsi
@@ -234,6 +234,17 @@
#size-cells = <0>;
};
+ crypto@1c15000 {
+ compatible = "allwinner,sun8i-v3s-crypto",
+ "allwinner,sun8i-a33-crypto";
+ reg = <0x01c15000 0x1000>;
+ interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>;
+ clock-names = "ahb", "mod";
+ resets = <&ccu RST_BUS_CE>;
+ reset-names = "ahb";
+ };
+
usb_otg: usb@1c19000 {
compatible = "allwinner,sun8i-h3-musb";
reg = <0x01c19000 0x0400>;
--
2.17.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v3 0/2] ARM: dts: sun8i: v3s: Enable crypto engine
2020-09-07 16:24 [PATCH v3 0/2] ARM: dts: sun8i: v3s: Enable crypto engine Martin Cerveny
2020-09-07 16:24 ` [PATCH v3 1/2] dt-bindings: crypto: Add compatible for V3s Martin Cerveny
2020-09-07 16:24 ` [PATCH v3 2/2] ARM: dts: sun8i: v3s: Enable crypto engine Martin Cerveny
@ 2020-09-08 6:20 ` Maxime Ripard
2 siblings, 0 replies; 4+ messages in thread
From: Maxime Ripard @ 2020-09-08 6:20 UTC (permalink / raw)
To: Martin Cerveny
Cc: David S. Miller, devicetree, Herbert Xu, linux-arm-kernel,
linux-crypto, linux-kernel, Rob Herring
[-- Attachment #1: Type: text/plain, Size: 250 bytes --]
On Mon, Sep 07, 2020 at 06:24:56PM +0200, Martin Cerveny wrote:
> Add support for crypto engine (sun4i-ss) for Allwinner V3s.
> Functionality like A33 so add only compatible and enable
> in device tree.
>
> Regards.
Applied, thanks
Maxime
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-09-08 6:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-07 16:24 [PATCH v3 0/2] ARM: dts: sun8i: v3s: Enable crypto engine Martin Cerveny
2020-09-07 16:24 ` [PATCH v3 1/2] dt-bindings: crypto: Add compatible for V3s Martin Cerveny
2020-09-07 16:24 ` [PATCH v3 2/2] ARM: dts: sun8i: v3s: Enable crypto engine Martin Cerveny
2020-09-08 6:20 ` [PATCH v3 0/2] " Maxime Ripard
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).