* [PATCH v2 1/2] dt-bindings: crypto: inside-secure,safexcel: add compatible for MT7981
@ 2026-03-02 23:00 Aleksander Jan Bajkowski
2026-03-02 23:00 ` [PATCH v2 2/2] arm64: dts: mediatek: add crypto offload support on MT7981 Aleksander Jan Bajkowski
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Aleksander Jan Bajkowski @ 2026-03-02 23:00 UTC (permalink / raw)
To: herbert, davem, robh, krzk+dt, conor+dt, matthias.bgg,
angelogioacchino.delregno, atenart, linux-crypto, devicetree,
linux-kernel, linux-arm-kernel, linux-mediatek
Cc: Aleksander Jan Bajkowski
The MT7981 as well as the MT7986 have a built-in EIP-97 crypto accelerator.
This commit adds a compatible string for MT7981.
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
---
v2:
- just add compatible strings
---
.../devicetree/bindings/crypto/inside-secure,safexcel.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/crypto/inside-secure,safexcel.yaml b/Documentation/devicetree/bindings/crypto/inside-secure,safexcel.yaml
index 3dc6c5f89d32..6c797b7ce603 100644
--- a/Documentation/devicetree/bindings/crypto/inside-secure,safexcel.yaml
+++ b/Documentation/devicetree/bindings/crypto/inside-secure,safexcel.yaml
@@ -18,6 +18,7 @@ properties:
- items:
- enum:
- marvell,armada-3700-crypto
+ - mediatek,mt7981-crypto
- mediatek,mt7986-crypto
- const: inside-secure,safexcel-eip97ies
- const: inside-secure,safexcel-eip197b
@@ -80,7 +81,10 @@ allOf:
compatible:
not:
contains:
- const: mediatek,mt7986-crypto
+ oneOf:
+ - enum:
+ - mediatek,mt7981-crypto
+ - mediatek,mt7986-crypto
then:
properties:
interrupts:
--
2.47.3
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 2/2] arm64: dts: mediatek: add crypto offload support on MT7981
2026-03-02 23:00 [PATCH v2 1/2] dt-bindings: crypto: inside-secure,safexcel: add compatible for MT7981 Aleksander Jan Bajkowski
@ 2026-03-02 23:00 ` Aleksander Jan Bajkowski
2026-03-03 14:11 ` AngeloGioacchino Del Regno
2026-03-03 6:44 ` [PATCH v2 1/2] dt-bindings: crypto: inside-secure,safexcel: add compatible for MT7981 Krzysztof Kozlowski
2026-03-03 14:11 ` AngeloGioacchino Del Regno
2 siblings, 1 reply; 5+ messages in thread
From: Aleksander Jan Bajkowski @ 2026-03-02 23:00 UTC (permalink / raw)
To: herbert, davem, robh, krzk+dt, conor+dt, matthias.bgg,
angelogioacchino.delregno, atenart, linux-crypto, devicetree,
linux-kernel, linux-arm-kernel, linux-mediatek
Cc: Aleksander Jan Bajkowski
The MT7981 as well as the MT7986 have a built-in EIP-97 crypto accelerator.
This commit adds the missing entry in the dts.
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
---
arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
index 4084f4dfa3e5..94c7bf0050fc 100644
--- a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi
@@ -150,6 +150,21 @@ sgmiisys1: syscon@10070000 {
#clock-cells = <1>;
};
+ crypto@10320000 {
+ compatible = "mediatek,mt7981-crypto",
+ "inside-secure,safexcel-eip97ies";
+ reg = <0 0x10320000 0 0x40000>;
+ interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
+ <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>;
+ interrupt-names = "ring0", "ring1", "ring2", "ring3";
+ clocks = <&topckgen CLK_TOP_EIP97B>;
+ clock-names = "core";
+ assigned-clocks = <&topckgen CLK_TOP_EIP97B_SEL>;
+ assigned-clock-parents = <&topckgen CLK_TOP_CB_NET1_D5>;
+ };
+
uart0: serial@11002000 {
compatible = "mediatek,mt7981-uart", "mediatek,mt6577-uart";
reg = <0 0x11002000 0 0x100>;
--
2.47.3
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: crypto: inside-secure,safexcel: add compatible for MT7981
2026-03-02 23:00 [PATCH v2 1/2] dt-bindings: crypto: inside-secure,safexcel: add compatible for MT7981 Aleksander Jan Bajkowski
2026-03-02 23:00 ` [PATCH v2 2/2] arm64: dts: mediatek: add crypto offload support on MT7981 Aleksander Jan Bajkowski
@ 2026-03-03 6:44 ` Krzysztof Kozlowski
2026-03-03 14:11 ` AngeloGioacchino Del Regno
2 siblings, 0 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2026-03-03 6:44 UTC (permalink / raw)
To: Aleksander Jan Bajkowski
Cc: herbert, davem, robh, krzk+dt, conor+dt, matthias.bgg,
angelogioacchino.delregno, atenart, linux-crypto, devicetree,
linux-kernel, linux-arm-kernel, linux-mediatek
On Tue, Mar 03, 2026 at 12:00:38AM +0100, Aleksander Jan Bajkowski wrote:
> The MT7981 as well as the MT7986 have a built-in EIP-97 crypto accelerator.
> This commit adds a compatible string for MT7981.
>
> Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
> ---
> v2:
> - just add compatible strings
> ---
> .../devicetree/bindings/crypto/inside-secure,safexcel.yaml | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/crypto/inside-secure,safexcel.yaml b/Documentation/devicetree/bindings/crypto/inside-secure,safexcel.yaml
> index 3dc6c5f89d32..6c797b7ce603 100644
> --- a/Documentation/devicetree/bindings/crypto/inside-secure,safexcel.yaml
> +++ b/Documentation/devicetree/bindings/crypto/inside-secure,safexcel.yaml
> @@ -18,6 +18,7 @@ properties:
> - items:
> - enum:
> - marvell,armada-3700-crypto
> + - mediatek,mt7981-crypto
> - mediatek,mt7986-crypto
> - const: inside-secure,safexcel-eip97ies
> - const: inside-secure,safexcel-eip197b
> @@ -80,7 +81,10 @@ allOf:
> compatible:
> not:
> contains:
> - const: mediatek,mt7986-crypto
> + oneOf:
Drop oneOf, you have only one enum there. This is just enum directly.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 2/2] arm64: dts: mediatek: add crypto offload support on MT7981
2026-03-02 23:00 ` [PATCH v2 2/2] arm64: dts: mediatek: add crypto offload support on MT7981 Aleksander Jan Bajkowski
@ 2026-03-03 14:11 ` AngeloGioacchino Del Regno
0 siblings, 0 replies; 5+ messages in thread
From: AngeloGioacchino Del Regno @ 2026-03-03 14:11 UTC (permalink / raw)
To: Aleksander Jan Bajkowski, herbert, davem, robh, krzk+dt,
conor+dt, matthias.bgg, atenart, linux-crypto, devicetree,
linux-kernel, linux-arm-kernel, linux-mediatek
Il 03/03/26 00:00, Aleksander Jan Bajkowski ha scritto:
> The MT7981 as well as the MT7986 have a built-in EIP-97 crypto accelerator.
> This commit adds the missing entry in the dts.
>
> Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: crypto: inside-secure,safexcel: add compatible for MT7981
2026-03-02 23:00 [PATCH v2 1/2] dt-bindings: crypto: inside-secure,safexcel: add compatible for MT7981 Aleksander Jan Bajkowski
2026-03-02 23:00 ` [PATCH v2 2/2] arm64: dts: mediatek: add crypto offload support on MT7981 Aleksander Jan Bajkowski
2026-03-03 6:44 ` [PATCH v2 1/2] dt-bindings: crypto: inside-secure,safexcel: add compatible for MT7981 Krzysztof Kozlowski
@ 2026-03-03 14:11 ` AngeloGioacchino Del Regno
2 siblings, 0 replies; 5+ messages in thread
From: AngeloGioacchino Del Regno @ 2026-03-03 14:11 UTC (permalink / raw)
To: Aleksander Jan Bajkowski, herbert, davem, robh, krzk+dt,
conor+dt, matthias.bgg, atenart, linux-crypto, devicetree,
linux-kernel, linux-arm-kernel, linux-mediatek
Il 03/03/26 00:00, Aleksander Jan Bajkowski ha scritto:
> The MT7981 as well as the MT7986 have a built-in EIP-97 crypto accelerator.
> This commit adds a compatible string for MT7981.
>
> Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-03-03 14:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-02 23:00 [PATCH v2 1/2] dt-bindings: crypto: inside-secure,safexcel: add compatible for MT7981 Aleksander Jan Bajkowski
2026-03-02 23:00 ` [PATCH v2 2/2] arm64: dts: mediatek: add crypto offload support on MT7981 Aleksander Jan Bajkowski
2026-03-03 14:11 ` AngeloGioacchino Del Regno
2026-03-03 6:44 ` [PATCH v2 1/2] dt-bindings: crypto: inside-secure,safexcel: add compatible for MT7981 Krzysztof Kozlowski
2026-03-03 14:11 ` AngeloGioacchino Del Regno
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®