From: Aleksander Jan Bajkowski <olek2@wp.pl>
To: Christian Marangi <ansuelsmth@gmail.com>
Cc: herbert@gondor.apana.org.au, davem@davemloft.net,
matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com,
robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
lorenzo@kernel.org, linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, linux-crypto@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: airoha: en7581: add crypto offload support
Date: Wed, 4 Mar 2026 21:05:24 +0100 [thread overview]
Message-ID: <5df659ba-4850-4c04-8153-9fb55af81bd0@wp.pl> (raw)
In-Reply-To: <69a73dcd.7b0a0220.1ac46b.9bfc@mx.google.com>
Hi Christian,
On 3/3/26 21:00, Christian Marangi wrote:
> On Tue, Mar 03, 2026 at 08:39:18PM +0100, Aleksander Jan Bajkowski wrote:
>> Add support for the built-in cryptographic accelerator. This accelerator
>> supports 3DES, AES (128/192/256 bit), ARC4, MD5, SHA1, SHA224, and SHA256.
>> It also supports full IPSEC, SRTP and TLS offload.
>>
>> Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
>> ---
>> arch/arm64/boot/dts/airoha/en7581.dtsi | 12 ++++++++++++
>> 1 file changed, 12 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/airoha/en7581.dtsi b/arch/arm64/boot/dts/airoha/en7581.dtsi
>> index ff6908a76e8e..4931b704235a 100644
>> --- a/arch/arm64/boot/dts/airoha/en7581.dtsi
>> +++ b/arch/arm64/boot/dts/airoha/en7581.dtsi
>> @@ -300,6 +300,18 @@ rng@1faa1000 {
>> interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
>> };
>>
>> + crypto@1e004000 {
>> + compatible = "airoha,en7581-eip93",
>> + "inside-secure,safexcel-eip93ies";
>> + reg = <0x0 0x1fb70000 0x0 0x1000>;
>> +
>> + clocks = <&scuclk EN7523_CLK_CRYPTO>;
>> +
>> + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
>> +
>> + resets = <&scuclk EN7581_CRYPTO_RST>;
> I guess you can drop the extra new line between clocks interrupts and resets.
It makes sense.
>
> Does the driver supports these property tho? For example the clock is just
> enabled or tweaked to a specific frequency? Same question for resets.
As far as I know, the driver doesn't use these properties. They may be used
in the future.
>
>> + };
>> +
>> system-controller@1fbf0200 {
>> compatible = "airoha,en7581-gpio-sysctl", "syscon",
>> "simple-mfd";
>> --
>> 2.47.3
>>
next prev parent reply other threads:[~2026-03-04 20:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-03 19:39 [PATCH 1/2] dt-bindings: crypto: eip93: add clock gate and reset line Aleksander Jan Bajkowski
2026-03-03 19:39 ` [PATCH 2/2] arm64: dts: airoha: en7581: add crypto offload support Aleksander Jan Bajkowski
2026-03-03 20:00 ` Christian Marangi
2026-03-04 20:05 ` Aleksander Jan Bajkowski [this message]
2026-03-04 19:08 ` [PATCH 1/2] dt-bindings: crypto: eip93: add clock gate and reset line Conor Dooley
2026-03-04 21:46 ` Aleksander Jan Bajkowski
2026-03-04 22:29 ` Conor Dooley
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=5df659ba-4850-4c04-8153-9fb55af81bd0@wp.pl \
--to=olek2@wp.pl \
--cc=angelogioacchino.delregno@collabora.com \
--cc=ansuelsmth@gmail.com \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=herbert@gondor.apana.org.au \
--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-mediatek@lists.infradead.org \
--cc=lorenzo@kernel.org \
--cc=matthias.bgg@gmail.com \
--cc=robh@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