Message ID | 20240301132936.621238-19-avromanov@salutedevices.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-88485-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp1080063dyb; Fri, 1 Mar 2024 05:35:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXvv6/883Ny9HcjfkX+1mLoByJIbJ5c9UFa911b0UurW5Wg4WW5ybBHkD4d+VI2v+tkLDsSP8LqeOvpZkbKEyLvSrgL4w== X-Google-Smtp-Source: AGHT+IGfPitBe3W/8dwrarLKgSt+GGdjY7RtuE8i5Ln2oEJBjhAEPT0WZNiiRbfx5oWEIRpyyOt8 X-Received: by 2002:a17:906:46ca:b0:a44:1008:a015 with SMTP id k10-20020a17090646ca00b00a441008a015mr1452862ejs.31.1709300155693; Fri, 01 Mar 2024 05:35:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709300155; cv=pass; d=google.com; s=arc-20160816; b=b1vFSPdtux1dfVVIkZTLQQrEr5jUscZCfDY+ZYR+ixFyYUwImeyPv6vBC3spx5M1wS jQWfOQLtCqt6frqW51put5etCW6rViL3OV+x6myA2HX3WHwquTJ0C/fa7Z3T9PXtbDcb tFe7APshQvAOWB4aBrMp3L0NXdQxFwkOhONb/opQhxzSt8iireuyRTs2ZDRcIwafk9Bu yfk/ZByxbgtu9ud4kvzuWsSmCWUDksAiEVccLmfpPPtNTySSGkWGU2aihmF643ayYaOG Drdwc+WZ0uOWwybepjdAAcB6evf2JLXc0AEBflaAR8zL7WCAc5XTO3C63jYIt4YGbu6E UEmQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=Suu3M8yZ3iQK1BgAjDId2N0FtfrKgiBllmAvXu1xcB0=; fh=7+QqR+U+m0B5ryyywou1kgMZVOfT/GgVHz0ZH2Lvlxg=; b=BANdp+YJ23dhac9HrZZGJ8kprYzJKx9og3WNJNDhGgt7M84EGCmGSAkMoiLD7xnCOj eipc/AGcAh+0UjYEo9kOz0arDTSmS6eI6dgrrjAdPDs42m4asV44QTK53m3Y4HFLP6S6 EuspYQYD+G1OFIl0eKzm8WbEsXuWDUygUAZiwhW9wZvijBzF271AnZDK1aKb0qY4iCAH qCw1v1+gJthE2XPKnroylHW52lcuv6YJiKLRF+bQEImRjpZVaD+zMNsgf2JogC/wHyWt ziLqZnpg8UOVJCuPjA9wSE4q3LdAbKE/Chr44OSqIi1fD6c/h3rqjMXa8zqRgIye/qJx dzkQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=ae0GviuA; arc=pass (i=1 spf=pass spfdomain=salutedevices.com dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-kernel+bounces-88485-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88485-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=salutedevices.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id xo16-20020a170907bb9000b00a443e6c9213si1342335ejc.655.2024.03.01.05.35.55 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 05:35:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88485-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=ae0GviuA; arc=pass (i=1 spf=pass spfdomain=salutedevices.com dkim=pass dkdomain=salutedevices.com dmarc=pass fromdomain=salutedevices.com); spf=pass (google.com: domain of linux-kernel+bounces-88485-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88485-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=salutedevices.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 53ABF1F22EF6 for <ouuuleilei@gmail.com>; Fri, 1 Mar 2024 13:35:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E69D97690F; Fri, 1 Mar 2024 13:30:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b="ae0GviuA" Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2FB70763E4; Fri, 1 Mar 2024 13:30:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.89.224.132 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709299829; cv=none; b=nrAzF9Kd+ggVMqxx2pKoABvomrEpmRt/5IlIZh5nWwETPQhHVW4QHdIttHmB99uNeDqEbiSFT2DFN7tE4jiKK4eh1KX7VOT0z1c7eqYLAp0pspqPk6oX/kUjnnwsMLqqLMrLjxekzADv9yvJyJ0rTy9VLBhvK1yGsiB3sGHRRtc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709299829; c=relaxed/simple; bh=9V8uJQtsEA//xLdXsxXFSPvAvLQWNJZAzbrMxb2xIFw=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JBIGqUU9qWZ6wOs85LyRaOPELBuz9vIluPCHM+pEzcWadz81WPP1u5eAYWvUSuY39rfrofR0kLNS3lX3f+CcdTBR3ljU5+PVxUbrpFXk11u+Vhb4egbB57XC0WSxa7/7koacEwJFPEV2PAezi+X7PwXFGmtFp/44Wpbs17iqaXE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com; spf=pass smtp.mailfrom=salutedevices.com; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b=ae0GviuA; arc=none smtp.client-ip=45.89.224.132 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=salutedevices.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=salutedevices.com Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id B1C181200F0; Fri, 1 Mar 2024 16:30:25 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru B1C181200F0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1709299825; bh=Suu3M8yZ3iQK1BgAjDId2N0FtfrKgiBllmAvXu1xcB0=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=ae0GviuAVrDV1IIuJ+1vrvDNsNpjHq6l6l6reu6Q9ul2KUksiVanO6XJx6GwMaPc/ VBD+IL0P+joms291JTTmpYfKwj0CMjDOFBv/YePsQ8NM1ghVhQGCpiNrTsdKacDqiR LDUkCF4T2fwfKdyS7pVoGlu0uIRuY6cGK7kuj3FL9WcieCrMHRknwFy4xa9M7s8Wbf dZDRW8a+i2BjLN2YdbSmXMRnqzM34ZLfWSW4erzk7x3VzDY7CxMl9WEgLOH1/xN4g8 iK0Sg5hMx2aLTj0nyxPn2Px2muofGBS7GrhBM2BG5i65xE0lip+WCNLaXNIt+xPuGq 8QrueZQKmOcAQ== Received: from smtp.sberdevices.ru (p-i-exch-sc-m01.sberdevices.ru [172.16.192.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Fri, 1 Mar 2024 16:30:25 +0300 (MSK) Received: from user-A520M-DS3H.sigma.sbrf.ru (100.64.160.123) by p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Fri, 1 Mar 2024 16:30:24 +0300 From: Alexey Romanov <avromanov@salutedevices.com> To: <neil.armstrong@linaro.org>, <clabbe@baylibre.com>, <herbert@gondor.apana.org.au>, <davem@davemloft.net>, <robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>, <conor+dt@kernel.org>, <khilman@baylibre.com>, <jbrunet@baylibre.com>, <martin.blumenstingl@googlemail.com>, <vadim.fedorenko@linux.dev> CC: <linux-crypto@vger.kernel.org>, <linux-amlogic@lists.infradead.org>, <linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <kernel@salutedevices.com>, Alexey Romanov <avromanov@salutedevices.com> Subject: [PATCH v5 18/21] arch: arm64: dts: meson: a1: add crypto node Date: Fri, 1 Mar 2024 16:29:33 +0300 Message-ID: <20240301132936.621238-19-avromanov@salutedevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240301132936.621238-1-avromanov@salutedevices.com> References: <20240301132936.621238-1-avromanov@salutedevices.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) To p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 183875 [Feb 29 2024] X-KSMG-AntiSpam-Version: 6.1.0.3 X-KSMG-AntiSpam-Envelope-From: avromanov@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 7 0.3.7 6d6bf5bd8eea7373134f756a2fd73e9456bb7d1a, {Tracking_from_domain_doesnt_match_to}, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean X-KSMG-LinksScanning: Clean X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/02/29 19:21:00 #23899999 X-KSMG-AntiVirus-Status: Clean, skipped X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792331119870003334 X-GMAIL-MSGID: 1792331119870003334 |
Series |
Support more Amlogic SoC families in crypto driver
|
|
Commit Message
Alexey Romanov
March 1, 2024, 1:29 p.m. UTC
This patch adds a crypto node declaration. With the
Amlogic crypto driver we can use HW implementation
of SHA1/224/256 and AES algo.
Signed-off-by: Alexey Romanov <avromanov@salutedevices.com>
---
arch/arm64/boot/dts/amlogic/meson-a1.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi index cf150f568335..516b914033ab 100644 --- a/arch/arm64/boot/dts/amlogic/meson-a1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-a1.dtsi @@ -653,6 +653,13 @@ sd_emmc: sd@10000 { power-domains = <&pwrc PWRC_SD_EMMC_ID>; status = "disabled"; }; + + crypto: crypto@6000 { + compatible = "amlogic,a1-crypto"; + reg = <0x0 0x6000 0x0 0x48>; + interrupts = <GIC_SPI 120 IRQ_TYPE_EDGE_RISING>; + power-domains = <&pwrc PWRC_DMA_ID>; + }; }; usb: usb@fe004400 {