Message ID | 20240205155521.1795552-20-avromanov@salutedevices.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-52979-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp969833dyb; Mon, 5 Feb 2024 08:02:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFlg1V1kETwTOUthfIXjnCwiiYX1UHSEJOQqhfb+958e9mDGu2mNCcUy6COZ8mdcb/rk9sL X-Received: by 2002:ac8:520c:0:b0:42b:fefd:6d95 with SMTP id r12-20020ac8520c000000b0042bfefd6d95mr6555296qtn.58.1707148968988; Mon, 05 Feb 2024 08:02:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707148968; cv=pass; d=google.com; s=arc-20160816; b=ShxhhW7Mf04g3ieYfT1WvTYIm8+3sIFQ15+Z/N1z3kUw7e1d/bzbvFwub8BgxiV7f9 2fGC5JmUllQCAbFxcnsDy6qbreZXRTOEzI8eTPOTt6syFJy65go/QCXMlFrivxCg1ifU GsQbgTOlNwmO51svBZ7uQr4kA0ZtPZxB8XHGxI7NJvmYxBpuWcmah+NBTJDtagy/wob4 g82VPecTQSr/rS/01BbuDqRkeH1eJI9A+3soPto7F6yBzDgkqoleX/TIHIufnljM23Ze dnsU0mBiyD0rgzNFsfOgRaatN1k1h9AfSlrAosECJfdTNlc5rr2E6zNbh3FOnUZKdD7O y9MQ== 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=L0Kr6PSaW/CeJjCIRN2fyh6XpKkpUR7UXWLxlaNtQ1s=; fh=W9kqN1RYGacpXROmeaSWH2J9G2oPcioPj9TAFOKDiL8=; b=gSfOck5ZXQ8FEJN+GjXaim1tNHTQgjk+MUTrFfjeZNa6G6KxgQPVm61hiHypIbSMtE PMdGY6muj1xIPDrPxgmxL9tQCy01q71XtwHC/31njvL93Ekri1WrgYdx5dZgWQLGo9an 0SnqlrOxMhfxm43UxSJ8HFVpWYV+5BAtldZ+3lSgIDcTzDgThawjNOG8qQ19O/A7VTPH zsi1bc3NPmEdpoUNDC+8mIHTKhc7W2yTFprD+zeWIbsKIbiA0a7r3Qoxxg2Tz+5n2DFM m7Yu9NeQenzGnDi67TBpXabiZuao+OwIBeAKzNDB9WMmlExik1NlMGnqXH6LA8Rz4HGe uecg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=r6jmlzM4; 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-52979-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52979-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com X-Forwarded-Encrypted: i=1; AJvYcCWr5lN54AxK2ff7o1Au6qMeE3b9iqgUA8xEyij5U3BrX2+NJ+79MxeCE0B+manBU0Airbr0ZGOEm3e53tybTQyekp+leg== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i12-20020ac85e4c000000b0042c2812fda8si117430qtx.697.2024.02.05.08.02.48 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 08:02:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52979-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=r6jmlzM4; 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-52979-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52979-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7B6581C24E3A for <ouuuleilei@gmail.com>; Mon, 5 Feb 2024 16:01:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0AFEB50278; Mon, 5 Feb 2024 15:56:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=salutedevices.com header.i=@salutedevices.com header.b="r6jmlzM4" 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 B44C948CFF; Mon, 5 Feb 2024 15:56:00 +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=1707148562; cv=none; b=eVZKzm0ELYHSYDEMGd80hAbSFvOI/s8U9GoMlOsk0di/gd+tLHN5w4AsyNqY62Zx5f6M9zeLVw90ljUQ2gk4uetPXCkWfMEf70tdjGa1iUpCXN7PgVweMmFLUZSwT+N0fwG9hqJxVVUt6QASWukDSjhFGne8qg3eoX6lgKErszo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707148562; c=relaxed/simple; bh=p75gyEKuZUMyzfXndu7/DaPEMCaTLTrP+tiFaL/zmyk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XMtqeei0FD4GSQ/nNAnmx3UIrqvLmXJg6gfWXYP0qLY9iAYGhJJnZVOtmk5SnnNivnwb8/ONj1MXr/fVqZOOBl62jRtJ+uht+vehTvsTP/HQJhjEE0MHRDW7hZJ/LvMyPQDm7/tDt3071yRClMumF+WFgNDWn/uVu3ueT9Bn7Lc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=r6jmlzM4; arc=none smtp.client-ip=45.89.224.132 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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 CB5CA120011; Mon, 5 Feb 2024 18:55:57 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru CB5CA120011 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1707148557; bh=L0Kr6PSaW/CeJjCIRN2fyh6XpKkpUR7UXWLxlaNtQ1s=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=r6jmlzM4GokfKLDUlNVfkVGywygbseiVDsx6uprVoJjhk7gkW0UAp9PKW20Yq77RS FemX0+Ys/MLLsXmWr2SpJk6H/KyCRMXl7rx/5oGQKgRdqg+DatetWhW6YipMV0iRtZ i9t86YfldIJo0UcAEk003g/4DnJ1o72UExWk4WgL4MUVc7ZoHWgqrHBzg6c9OJUZy8 gdOR29KBvY0qCqU8QMcUMtHN/9bwmJWZeEU4PVzpwq578Ms9ebXN8UmOTN82IdU2j/ TJDSyNOF7gxsLQix++7uibq1IcsYOCMo/QZJLZUnB6RZnNH6+b2OI9qG9XhnfMETSq 0hiFJ4kD5dNUg== 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; Mon, 5 Feb 2024 18:55:57 +0300 (MSK) Received: from user-A520M-DS3H.sberdevices.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; Mon, 5 Feb 2024 18:55:57 +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> 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 v3 19/20] arch: arm64: dts: meson: g12: add crypto node Date: Mon, 5 Feb 2024 18:55:20 +0300 Message-ID: <20240205155521.1795552-20-avromanov@salutedevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240205155521.1795552-1-avromanov@salutedevices.com> References: <20240205155521.1795552-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-m02.sberdevices.ru (172.16.192.103) 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: 183204 [Feb 05 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}, d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;100.64.160.123:7.1.2;127.0.0.199:7.1.2;salutedevices.com:7.1.1;smtp.sberdevices.ru:7.1.1,5.0.1, 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/05 10:19:00 #23362212 X-KSMG-AntiVirus-Status: Clean, skipped X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790075437364528073 X-GMAIL-MSGID: 1790075437364528073 |
Series |
Support more Amlogic SoC families in crypto driver
|
|
Commit Message
Alexey Romanov
Feb. 5, 2024, 3:55 p.m. UTC
This patch adds a crypto node declaration for Amlogic G12-series.
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-g12-common.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi index ff68b911b729..f6d7047a579c 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi @@ -1709,6 +1709,12 @@ internal_ephy: ethernet-phy@8 { }; }; }; + + crypto: crypto@3e000 { + compatible = "amlogic,g12a-crypto"; + reg = <0x0 0x3e000 0x0 0x48>; + interrupts = <GIC_SPI 180 IRQ_TYPE_EDGE_RISING>; + }; }; aobus: bus@ff800000 {