From patchwork Fri Sep 6 18:45:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 173272 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp1106299ilq; Fri, 6 Sep 2019 11:46:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqy30F5/kLw//q/1ZXQ31se48WMvGcZN8AdAG9KLZj4ZAKVS5gFuI8J/8vKXeiZ9l8tCt3yb X-Received: by 2002:aa7:84d2:: with SMTP id x18mr12401878pfn.250.1567795570038; Fri, 06 Sep 2019 11:46:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567795569; cv=none; d=google.com; s=arc-20160816; b=L+loi5S2gQC047NWgAEDIXvSKwrvhNtDQO1pmXYlvdgQVvwSOXme8D4NMUQ1oZn3k1 o8vwEYPfPAXxVqEL9FUYFN5b9K310aGGRLiZ2M1RUcyczsD/MdY1v2nn0yNzB7oYJ6lv nxUIAW30hjaguUPaVQfM3wYRz/ko1n6DRllCjnu+9+y7yr0Dn6EdtH6HRdvm3jpecwu4 dBI840QQfWx71PcriyAxvhPWGg8QcjJ4lLvWOSA7uD5UKFJ35T3EheEa7PqCWJyqM0RP LPr9O2B74/wiJkzqjtR0BnItVUx9EJZMj8ESSSqxYgZyvTubJ7zF+pLUAYfamQFir4x8 Ch4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UVVsUJ3cqxC7B0N9mD/oVG/ysz/2hMqLEdaltl6/SKo=; b=KarD0ipNOKXX78WUOj8O62R+2gBYLXT0qP8CaeMGpkwjNh4zTRH+0AsbLzaA0fVg56 T6XToEvd1j2E9jIE+Cq1eelyCGQiQCjNRD2VhhrdJ6/oyKPsI2Uzbdv0E7avKi3HJdny J2R7ZymanA0HCMobmHvFMcfGCylUOSvvSpLhMm45p2guov3YME0N9vqAfxLAO8za2EjC gcifcmRTtt8QYNdUfWe2F8caHtyN8HDkTSEI91h5/5UmZRClZD1afr9fOm5odZQj9/Rp utwsbrsFLFgnuE4GGOOz4qTj7TpWF++YVDRNuq+xGW+Ghoh9+dZzEuE6bbUdoi7mtjRW q3uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VliEAdMq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si5303715plr.314.2019.09.06.11.46.09; Fri, 06 Sep 2019 11:46:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VliEAdMq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2395373AbfIFSqJ (ORCPT + 28 others); Fri, 6 Sep 2019 14:46:09 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:53010 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390567AbfIFSqG (ORCPT ); Fri, 6 Sep 2019 14:46:06 -0400 Received: by mail-wm1-f67.google.com with SMTP id t17so7513944wmi.2; Fri, 06 Sep 2019 11:46:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UVVsUJ3cqxC7B0N9mD/oVG/ysz/2hMqLEdaltl6/SKo=; b=VliEAdMqXCZEuavCqjEh6OTr7ebBnxrMGNbDl2ershs4s/Nu3eg5EQbTh3IHq1RrYU 6sjfvjcrb8dH+OW8JTbCr0hZ4zVdMvWooEFD5JQBPoi3B5+8FyIkdGspxnf2/Y34eaJe wnT6Qj4WdcFJN1CKgrGjZQBghzuxkv/M5kPlNttWstId/gDVxTWjGtCwY2Pqjyi0fro4 1BtmmF4req7lbyPrLe/cjkdWNBaqTNUl/rTZZPIOX0vx/ssFR7CtsDgbN42TRjuKCqXH Msieu8Zh8UulkL+6NTZhiqPzAyauh7tIEkHGb4EeOOH2pw/3hIxzEjH823o38S/Psu4M jd8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UVVsUJ3cqxC7B0N9mD/oVG/ysz/2hMqLEdaltl6/SKo=; b=TZ1VCnOpOyUhT2bBEONwZGKBmiRFFShuIPNO25YTFhlEDyjwvPblsGW43AEMT85fU9 Ffnz+KIb86lojLKLysJWd4kGOo3mUMbZf+FPPD9liS4d3I9hKE2TppCNNIZZ1FcLfj3e 2w4b62T6OGaBm4flL+kihL7MlxTgKM6AOM1jzSYyhXDnAgl1YtoUkj+icvQWntd7DXMV jh3m/wIEz10r9xGnTiSjwdJBywGTDvSFutyLrKFGgkh2RfK9Ze+Dx8qJ5GgoQ6O2U38H mDDRgB8CKlKSQ0SDcCVK7d5MK85c1QsA9S3cH7Sj10ScR/GvFuf8YQTnU11Z9vRU3ZcI yNGA== X-Gm-Message-State: APjAAAVauUCZJAXoEYIxAvCZ9pdY2/hzqQK/qISV1szYxrYFuyaO7lEl gSoP8PUXuZB6PNaQwTIye0E= X-Received: by 2002:a1c:9a46:: with SMTP id c67mr8434773wme.115.1567795564198; Fri, 06 Sep 2019 11:46:04 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id j1sm8677577wrg.24.2019.09.06.11.46.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Sep 2019 11:46:03 -0700 (PDT) From: Corentin Labbe To: davem@davemloft.net, herbert@gondor.apana.org.au, linux@armlinux.org.uk, mark.rutland@arm.com, mripard@kernel.org, robh+dt@kernel.org, wens@csie.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe Subject: [PATCH 1/9] crypto: Add allwinner subdirectory Date: Fri, 6 Sep 2019 20:45:43 +0200 Message-Id: <20190906184551.17858-2-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190906184551.17858-1-clabbe.montjoie@gmail.com> References: <20190906184551.17858-1-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since a second Allwinner crypto driver will be added, it is better to create a dedicated subdirectory. Signed-off-by: Corentin Labbe --- MAINTAINERS | 6 ++++++ drivers/crypto/Kconfig | 2 ++ drivers/crypto/Makefile | 1 + drivers/crypto/allwinner/Kconfig | 6 ++++++ 4 files changed, 15 insertions(+) create mode 100644 drivers/crypto/allwinner/Kconfig -- 2.21.0 diff --git a/MAINTAINERS b/MAINTAINERS index ee4e873c0f9a..d62ddf8ff262 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -681,6 +681,12 @@ L: linux-crypto@vger.kernel.org S: Maintained F: drivers/crypto/sunxi-ss/ +ALLWINNER CRYPTO ENGINE +M: Corentin Labbe +L: linux-crypto@vger.kernel.org +S: Maintained +F: drivers/crypto/allwinner/ + ALLWINNER VPU DRIVER M: Maxime Ripard M: Paul Kocialkowski diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 83271d944a96..fe90dd74797c 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -11,6 +11,8 @@ menuconfig CRYPTO_HW if CRYPTO_HW +source "drivers/crypto/allwinner/Kconfig" + config CRYPTO_DEV_PADLOCK tristate "Support for VIA PadLock ACE" depends on X86 && !UML diff --git a/drivers/crypto/Makefile b/drivers/crypto/Makefile index afc4753b5d28..90d60eff5ecc 100644 --- a/drivers/crypto/Makefile +++ b/drivers/crypto/Makefile @@ -1,4 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_CRYPTO_DEV_ALLWINNER) += allwinner/ obj-$(CONFIG_CRYPTO_DEV_ATMEL_AES) += atmel-aes.o obj-$(CONFIG_CRYPTO_DEV_ATMEL_SHA) += atmel-sha.o obj-$(CONFIG_CRYPTO_DEV_ATMEL_TDES) += atmel-tdes.o diff --git a/drivers/crypto/allwinner/Kconfig b/drivers/crypto/allwinner/Kconfig new file mode 100644 index 000000000000..0c8a99f7959d --- /dev/null +++ b/drivers/crypto/allwinner/Kconfig @@ -0,0 +1,6 @@ +config CRYPTO_DEV_ALLWINNER + bool "Support for Allwinner cryptographic offloader" + depends on ARCH_SUNXI || COMPILE_TEST + default y if ARCH_SUNXI + help + Say Y here to get to see options for Allwinner hardware crypto devices From patchwork Fri Sep 6 18:45:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 173274 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp1106397ilq; Fri, 6 Sep 2019 11:46:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3mKLz6Pras0VbHosW8JT994ciQzZA4MtscTDbmaAuVga/YKWDZBM4uyOEXOr+xQITDccL X-Received: by 2002:a17:90a:b305:: with SMTP id d5mr11521936pjr.5.1567795575958; Fri, 06 Sep 2019 11:46:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567795575; cv=none; d=google.com; s=arc-20160816; b=PUPg+D7puPsPdrLX3ppwQrDcOiPIp9O1N1t7YxXONBV/NErToZlcrYn+9f1gVmeuOI MaLoqNcAW2xHZnk3K+jEX+NWdXUsnSCU0Yla5hIiuJzvTBOWL7wq6IRgCttCAwmMa+/U ZypQBHNITu6hyO0BJnxxq6yOpRiTlXaAcA0kV513hSAPiqbgpcQ4kEAtGIhWv2d76DuG LHZz4QtotZ5BM3dXoHup6itGB/VWVW+IbnInKmhr1CmeE2BKbCPBZugoUrMJ1csCTi4N /iRAwkCde2oULmLqZHs4r5JSjQ7y0D9bSoybSfu0IlNNxvpp9ZDok+5Lmd0XkDgU4kA0 Y0OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6gfPZRpIljPhV4Y76bqDwXphABtlmbrLYPaesl3pjCI=; b=biKpVYfTNT9FfRn2IaGmK/KS8nIkGM95ITiD1J2cJ2e3r8wNxdWn2fMHpcLSEZ9L3d J2lNbWlTeYXbsKeqyfVnGjJ3eHZbHzXJNr6e++m/Pb5U7MvpILMJ1mfa4cvZvQ3FGwTN aduql8/7zDf0Bs+A+eYAcsSu4ZoOAxTE2yd5QuafAXahPvtNTQ9fh+MyyQf5+JW7u4Tl OPYGGnLy+aH0uOo9viaqb8mibnfBlGVMEDjHkCoO894L+yMyLasZGErBdZMpWj81FQcU pi1hs1iPsdHx4EH2j7VdzUoTPuwGQqZ6eH5nJ43YybnkCObEsfBtbAbYVtuF1pIEVEhw dU0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="ZhrFxoH/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g3si5620643pld.75.2019.09.06.11.46.15; Fri, 06 Sep 2019 11:46:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="ZhrFxoH/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2395399AbfIFSqO (ORCPT + 28 others); Fri, 6 Sep 2019 14:46:14 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:40341 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395376AbfIFSqM (ORCPT ); Fri, 6 Sep 2019 14:46:12 -0400 Received: by mail-wr1-f65.google.com with SMTP id w13so7597887wru.7; Fri, 06 Sep 2019 11:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6gfPZRpIljPhV4Y76bqDwXphABtlmbrLYPaesl3pjCI=; b=ZhrFxoH/Go/p9mDemMia8OkzNhnhOPc3pjz+NcsRC2j4y/b2FxlHEx4JI6pFQy0591 5dKC6539twpYGEEBLEixpHsXoY3A9qmMkHplxGPCYrps8CgvQNI0OwcF8f9GdHF72+HS 4yDE06GGnbURNVBeChjpzi5N+D6lFsH4LobskCrGZ2NTTEXsELEuxBBeGPI5Um6IWuc/ YCbM76t3XLK0cDZcGgRKd2h1JxU038SSQKQBuJAceVR+tTAAvsXVfkRIczqqGy5HptOu 7RaTRWVYWuewASFlg3+W/7rRkSmk2Y5TcmjmddP2D3iO3Cl+H0S+GLhQYHWHAdPtn9lD G4wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6gfPZRpIljPhV4Y76bqDwXphABtlmbrLYPaesl3pjCI=; b=msZj72w29CyeVmvABNQscxSJzsbXL2ZrS9DUR3jPiGtO4i/cDHljuimgntOJNsUcIj PIuJNW4XyNTWp+vkl04cqJ/IMHXZ6Tqvqg84Bemt5acw/dhz0qCdKhhb04ohBNAjzipa 9xQbb1FKgBBikwl+5rVGmX7Fcu6BcVd0VInik+Nbls46hcPa2boTCESOe9oQH60sbqIh 4B6B+w/DCT9HFoLK4oTXIIGOCfrmFmNnDv2f2mdf9PXp/NdamVBYxEFa/JvnOon1dGqX TR8D5OKFOm8BpiDyUbwAUNqNSaxdJ23/r8pQnr7wjY0/zTW4Xo4auQFJPHU6hs37himh eC1g== X-Gm-Message-State: APjAAAUXiRDC9zeNHm/suCRBvyRYg2qLeptvjl5x7k8m8gN10Gzui3Yi qsThtuWQc73GFMGc2gFu6P6G1Dr8 X-Received: by 2002:adf:e30e:: with SMTP id b14mr8399491wrj.168.1567795570676; Fri, 06 Sep 2019 11:46:10 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id j1sm8677577wrg.24.2019.09.06.11.46.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Sep 2019 11:46:10 -0700 (PDT) From: Corentin Labbe To: davem@davemloft.net, herbert@gondor.apana.org.au, linux@armlinux.org.uk, mark.rutland@arm.com, mripard@kernel.org, robh+dt@kernel.org, wens@csie.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe Subject: [PATCH 5/9] ARM: dts: sun8i: h3: Add Crypto Engine node Date: Fri, 6 Sep 2019 20:45:47 +0200 Message-Id: <20190906184551.17858-6-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190906184551.17858-1-clabbe.montjoie@gmail.com> References: <20190906184551.17858-1-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Crypto Engine is a hardware cryptographic accelerator that supports many algorithms. It could be found on most Allwinner SoCs. This patch enables the Crypto Engine on the Allwinner H3 SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.21.0 diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi index e37c30e811d3..873abe1b279b 100644 --- a/arch/arm/boot/dts/sun8i-h3.dtsi +++ b/arch/arm/boot/dts/sun8i-h3.dtsi @@ -153,6 +153,17 @@ allwinner,sram = <&ve_sram 1>; }; + crypto: crypto@1c15000 { + compatible = "allwinner,sun8i-h3-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = ; + interrupt-names = "ce_ns"; + resets = <&ccu RST_BUS_CE>; + reset-names = "ahb"; + clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; + clock-names = "ahb", "mod"; + }; + mali: gpu@1c40000 { compatible = "allwinner,sun8i-h3-mali", "arm,mali-400"; reg = <0x01c40000 0x10000>; From patchwork Fri Sep 6 18:45:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 173276 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp1106524ilq; Fri, 6 Sep 2019 11:46:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxlDBx3HzZPe/sd7ZcH/lg8SLevcEpFLIAXslQZKfjfVw2RHvnHXgwa4GSZX8bCZ74LFSBS X-Received: by 2002:aa7:9a97:: with SMTP id w23mr11853643pfi.148.1567795583403; Fri, 06 Sep 2019 11:46:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567795583; cv=none; d=google.com; s=arc-20160816; b=R2pY1rbWBVW2JA104V7tk6CQB/zbrnsgmM7raX5Zrlir9+NFQBcc0ZCBPxccVMJuyi ehhs7ygV8ZYJf9aS+R2DEYHgLHCrVMFeYkuwEspXN+HU+Nu6m1WtV3uupxRh7SbmD2X4 t57/B4wFbZXdskXKimRtbDIIh/rJDKqfYQuKTSXguAw8iWxJ7W6Z6GLdvoQjVayhFyB9 TG/u2XJe+Abg/XMJ0mzt6kGDk5VsI292ivm7DoCsYaLEop2mfUYxWHJm/K5TXxWZTXnq /1ntZG4jd9bl3qjnaGbASoXV+K9aluwzi/TTXAglt/VvPDko1k3g/SsdMtlTgCby+lLr Eu+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=H7B3pdgueaTQoEx/oPVjB5PBvNleh5XGxboZw228Zx0=; b=0yVFh2LPvKO1KG4AXYjEzyH8ZiACRMGCg/LVl0G9KOpkGYRMu72kCmeIEJsTTnqo9l pwN6Axnd4LHQk64XFDWXET3jSNbXcczZWx6O5SU5Q982qHkTzVqKYwU41C/I56uXrBHh yqCNBxKvmCJOsnvXGuRbt+gKcXWCdk/SKo1/PhvpLddHDYOqVXS5E85yxeRwQws/NKgG hXde0PkB2bHsVE2mvZg6+B/8oCuHB7tVT+z8qFyyKxyMM9ZltlgYI2ZwMgdwY3jX5zGY S5+c5qtbBk2j1txUAgMWAU5WMV3FtwvMZCH/h6el3/GPCR3+tBiEekAF2T3zl01fayRa BuXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="fXAj/oFn"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h91si5517185pld.3.2019.09.06.11.46.23; Fri, 06 Sep 2019 11:46:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="fXAj/oFn"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436594AbfIFSqS (ORCPT + 28 others); Fri, 6 Sep 2019 14:46:18 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:35130 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395384AbfIFSqN (ORCPT ); Fri, 6 Sep 2019 14:46:13 -0400 Received: by mail-wr1-f66.google.com with SMTP id g7so7639429wrx.2; Fri, 06 Sep 2019 11:46:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=H7B3pdgueaTQoEx/oPVjB5PBvNleh5XGxboZw228Zx0=; b=fXAj/oFnSdb6IabmspTKjVarmJg8RHtLu3Ax/i7LLanXPSfUnht0o0jIOlQIkQNPvi hnKTdLMkqBNr3Kc8/50ClePJkB/Mdfe7bfoEVM0zoUEGcgpVUe0qLuWslAw32wGZoFoi ssQBgtefefxHpKJ7YypkI4UU2OHlU6J4HCF4F6pwvy6Ckft/tS4BmY0fxXlbkVrngXGe faiadrmAN43x0lessYdYqObgKhb5QoYZEDdXCYhdSo29kRPVveu1UEZxCDmVE9YzzvvW KELGFrgDBHtl4TcZCZniYtJz6wQ99NCSKb93+szw6Jv3an9pNddMt2usjMcZJIOwlSCV imUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=H7B3pdgueaTQoEx/oPVjB5PBvNleh5XGxboZw228Zx0=; b=RX3M3KwzjNunmhsKf0Miq3VDdJ/RIsELfJfRMmduxj4Rzvi3I9nZ77/tIWUS2ABHE7 2gU+UoEII11mpdBICtqHpuxBgoe2ovM45Kw7SkOCQjcVRCJya4BAF6ERmgpaBK702sf3 rdU4P9QU+jUy7eflixlMOLO4l3zPjI1aFzee7O+hrs6WrVRuNzKr1k2jrLIHSYpGH7E1 vEl5hcrb+9Z0ZntlgEqV5WQUTwWV60BxapUhzmSlYicIMnYHnAHS3oXDup+v3rrEsi4r CBIRf6h94eDgF5LjU0WPJhztPyVYzwvlPRR10pv/RV8suv8P+CcHW3gK7MZGsfgn4GOa uphA== X-Gm-Message-State: APjAAAVt5YefglvRtYvag39BlNFkhc/5D65sPf/OAEYEt3IOX1ihkIlw 4HEA9kc6+NVqjtqJVxnMrIA= X-Received: by 2002:a5d:6504:: with SMTP id x4mr8443567wru.227.1567795572094; Fri, 06 Sep 2019 11:46:12 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id j1sm8677577wrg.24.2019.09.06.11.46.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Sep 2019 11:46:11 -0700 (PDT) From: Corentin Labbe To: davem@davemloft.net, herbert@gondor.apana.org.au, linux@armlinux.org.uk, mark.rutland@arm.com, mripard@kernel.org, robh+dt@kernel.org, wens@csie.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe Subject: [PATCH 6/9] ARM64: dts: allwinner: sun50i: Add Crypto Engine node on A64 Date: Fri, 6 Sep 2019 20:45:48 +0200 Message-Id: <20190906184551.17858-7-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190906184551.17858-1-clabbe.montjoie@gmail.com> References: <20190906184551.17858-1-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Crypto Engine is a hardware cryptographic accelerator that supports many algorithms. It could be found on most Allwinner SoCs. This patch enables the Crypto Engine on the Allwinner A64 SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.21.0 diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 69128a6dfc46..c9e30d462ab1 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -487,6 +487,17 @@ reg = <0x1c14000 0x400>; }; + crypto: crypto@1c15000 { + compatible = "allwinner,sun50i-a64-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = ; + interrupt-names = "ce_ns"; + resets = <&ccu RST_BUS_CE>; + reset-names = "ahb"; + clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; + clock-names = "ahb", "mod"; + }; + usb_otg: usb@1c19000 { compatible = "allwinner,sun8i-a33-musb"; reg = <0x01c19000 0x0400>; From patchwork Fri Sep 6 18:45:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 173278 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp1106861ilq; Fri, 6 Sep 2019 11:46:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHY29NMIQpq+CvCEhOc2Q/MU2HpmnMrfILKRJRqVNtVXPCObWgSKqBdP05S8TvisjYJmgi X-Received: by 2002:a17:90a:9905:: with SMTP id b5mr11350956pjp.117.1567795602130; Fri, 06 Sep 2019 11:46:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567795602; cv=none; d=google.com; s=arc-20160816; b=jutXAsxW63WenAVDjn1vIdMmw7M0XTHbZ8hcgDKFSk+b4a3E4B3cnRRHJFPlsiyHkN /4I1gYxaTOcWWcjhgNBLy++r7WMNMRQmXjvgaNp8IUBufYfrlqLTBvB/pMXiVQft/ISO bvCvkrEMb9sZuBfFAXgwZ3h/pZiEioVMZifhhMvBK9IvEa8+DI0jrUsAMGxcbt08JQJN 2gGiTavQhlkSM6Aq1odnzJBl9wo/yIQFdsuEYDXEi3+avIfp5Bp5iRusZNb3rkJ9qmww FAUd29k0oOJYbMK/jTsW254h3WM9H0Utx7ivX8vSty1Du+fiS6G/WCIMpXeS2ujCvGoT AFnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=f5t3zhoR3RfkeeCxhIwf2rf3xgfwu01/OJcOf9PrEec=; b=H8deKInCTTD7lAOQiAql/LKfHjLbfsQ3mixVpV1ZKgoMEAAQwJbHzRJUfaU91z7DP5 8xsakCQPLbP5W1mee2ulszKqTqnlfYIQMG7Ri47nZLOBQyXGsFFvQSflDOhcqgjIICdA lXrX6P0jBgEUpo16qIyhPzyzSGkpsTkpxmAmgV+MroLRSEEc6PI60EtcrBVtmBwP1JhE 9cX8xS1U76s2jHIA21uEhali3siV2Yb8vudAoi/eNxP+Z512cy6H37wIJfiUvdBmqsJI g/rEBadr30Y5TFt7BhLvCjUQE2g+JZ3h8TNcgM6kp4n9lBZqJfYrG/qRtNKb0gbheIes QVEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oqF++9+S; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6si5613761plr.69.2019.09.06.11.46.41; Fri, 06 Sep 2019 11:46:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oqF++9+S; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388289AbfIFSqk (ORCPT + 28 others); Fri, 6 Sep 2019 14:46:40 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:46701 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2395376AbfIFSqR (ORCPT ); Fri, 6 Sep 2019 14:46:17 -0400 Received: by mail-wr1-f67.google.com with SMTP id h7so7599990wrt.13; Fri, 06 Sep 2019 11:46:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=f5t3zhoR3RfkeeCxhIwf2rf3xgfwu01/OJcOf9PrEec=; b=oqF++9+SpbMo/KW24R+/jjUd2tj8D9lulEIyiUTjAaqRg9yH+SueSFntF23gdNjUeT CKRO/mKS4pkej7wwckSIO95TxZ71BMjA201QBlQFpIutN9WDYyRrdtSU1abY2rDEcSoa rpMmiggvRfxQcaG2tmvtxZJ9R4lbZsUFJqHUoH5CX0BR4gLTMKUh9qpo4wICvfPJdVd5 i5AfRQ58PxxuyiXuxq+WPpyMa688V5TbGoiNu1qwLj9AstCZGnNIDckKRTfJ7cIB62kG 33xPZ/sHi+NQ7Gn1EY6w5FzBwH1a2WmYJKohrVGuo8KFR6I8AduANY9gH8hfmG4myh3u 9A+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=f5t3zhoR3RfkeeCxhIwf2rf3xgfwu01/OJcOf9PrEec=; b=GiGUMG/4Fc7CF7C7QTSc9JQh/hE4oNc+Bg71URckJ6RbcJFEoNwFIJ090OCQxIaHTG FFiL0+Ma3hu5op+S2ZwLcDL287Y7M5k/wBf0FT2AM7D1QZ9BO///D9WiBLnc9+1T9Nbs Y7lDtxq/FEebyMCK29LgJ3h/Zo6CyTlMoGhv1jcuaVSLwujuiqZVn8AAXVn2fkBAH/fU 6wQ8y7FH1VGyMgm8/2vOvjMth3m0KuADOhbAoLDL3mvvkM+zq6CQ/TKNdxsNMBYo3Bpf lXPVoFnQGm3qDruSuHCEvTWWeiJ1GQldokJAcdI00hnPQNVBRuX+zQFJ576Q36Nkm31w naAw== X-Gm-Message-State: APjAAAXltZfBAU9GQbii3ALyYez2Y6Bwmh0BsLqaxdc3MP2nx/sQ98Hl jhOYOq1QK5PDP4Gcu1b/DyY= X-Received: by 2002:a5d:4408:: with SMTP id z8mr8252982wrq.106.1567795574866; Fri, 06 Sep 2019 11:46:14 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id j1sm8677577wrg.24.2019.09.06.11.46.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Sep 2019 11:46:14 -0700 (PDT) From: Corentin Labbe To: davem@davemloft.net, herbert@gondor.apana.org.au, linux@armlinux.org.uk, mark.rutland@arm.com, mripard@kernel.org, robh+dt@kernel.org, wens@csie.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe Subject: [PATCH 8/9] ARM64: dts: allwinner: sun50i: Add Crypto Engine node on H6 Date: Fri, 6 Sep 2019 20:45:50 +0200 Message-Id: <20190906184551.17858-9-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190906184551.17858-1-clabbe.montjoie@gmail.com> References: <20190906184551.17858-1-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Crypto Engine is a hardware cryptographic accelerator that supports many algorithms. This patch enables the Crypto Engine on the Allwinner H6 SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) -- 2.21.0 diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 0754f01fd731..51762499ed06 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -149,6 +149,16 @@ allwinner,sram = <&ve_sram 1>; }; + crypto: crypto@1904000 { + compatible = "allwinner,sun50i-h6-crypto"; + reg = <0x01904000 0x1000>; + clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>, <&ccu CLK_MBUS_CE>; + clock-names = "ahb", "mod", "mbus"; + resets = <&ccu RST_BUS_CE>; + reset-names = "ahb"; + interrupts = ; + }; + syscon: syscon@3000000 { compatible = "allwinner,sun50i-h6-system-control", "allwinner,sun50i-a64-system-control"; From patchwork Fri Sep 6 18:45:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 173277 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ce:0:0:0:0 with SMTP id r14csp1106565ilq; Fri, 6 Sep 2019 11:46:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXNfbZhc39XoEUhgqhBCbkX7WujwWyk+YwoC1UaqH+caA0aDlo0lUlyA7rsTTPRTpXv5t4 X-Received: by 2002:a17:902:6b4c:: with SMTP id g12mr10608384plt.118.1567795585874; Fri, 06 Sep 2019 11:46:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567795585; cv=none; d=google.com; s=arc-20160816; b=Ynzd0TplrHm2XGcnwAFyMsNfM7sfDSICTSpb7t23UMJucd6WqtI7rKgM5AnAuyLWQR Ww3n/36RZNFwzR4u7ZjdkhQa9Nl2SpSZqXMegroXDqh/wpP72Dni50ziJtnRtEpK9sE4 qxakpA+MLpojHtuXdLey3XZ0VpdDDDpGQg8XSMds6dVstRlvUjUJoemh8ZjNjy5CE1Yf VaBYX4DOrkyQmpIwCYgkWobgly9JZdRbZ+c7hAzg5BaVazULWk+bzyYh/UyMPzWIdE9W CVsfdogcA6Apout/1xc1VTOLqoa/Pny5KdCQtbb3cBD4L8ObAzdnNKlPeykHs72s0p7z pHyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=mk9iiyM0WHriMjrKTK53bNyVyznn052YfKhoDOFj8+M=; b=aB9gNplDbr63UrJhlIpS/+9thmBhsDzNo/F9t1qRoxOuhWdiJHgIJnlvyzLcoUO3+B tej98tIjsOhbNcG+QI78A51edSeBEcE0Xn9EoxFir4Vue8sWuP8NUWO/LwdcOlvQXtZM N0iVWmiMRV/a7r1peo9BPiddGgn8DLN1yK29Ljbmy5o2lBhnA2b4GG6tiPv+PkZLG5Ze sFcgGmAViHDZDS0sCFS/ZgTSL8JrAYPsSjkxQ8aJ9BlXGUzLzHUykc15A+JZglGnLyLo ebmx094S3dTsktNGziLQ2hRh5MAtMcLuN+I4c/VvnK0HlsQvSN59RYAPdnGABooq9OCB /93Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="ltWL/0NI"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d13si5440800pll.401.2019.09.06.11.46.25; Fri, 06 Sep 2019 11:46:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="ltWL/0NI"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2436618AbfIFSqY (ORCPT + 28 others); Fri, 6 Sep 2019 14:46:24 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42901 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436555AbfIFSqS (ORCPT ); Fri, 6 Sep 2019 14:46:18 -0400 Received: by mail-wr1-f67.google.com with SMTP id q14so7580052wrm.9; Fri, 06 Sep 2019 11:46:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mk9iiyM0WHriMjrKTK53bNyVyznn052YfKhoDOFj8+M=; b=ltWL/0NIoHGYNechlthfrItQ9BFEmloFHpTqEw3/M6HvdjFLXytt74OL7kTCA8j1Kt JHn+D+sUBJdHoDRjaVU1YaoFRb38IdxLNfKvEm3kAEKssc+XeChc/duhYWZT1SkRCORu m6U4l5HOC43ynNqIsNp6530iR3Pi9dAh4p9ZOTGjrk1YQE9D8dUsgEtiI3KiZ6wKdd4C M+uwyEpQ3Ouyt6jEaZwpOcoyqgAFr2rRSsungYDLbMAR5Zqe6lCfqZI7g4ZFDcCMhT5H JDNDLv/I8/CbVz6ePJWjHZDgJI6aVkrb2fJoz/1gnqpoLuKUNmpLfIpzNurmi1mCzdC/ vR9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mk9iiyM0WHriMjrKTK53bNyVyznn052YfKhoDOFj8+M=; b=mKlcAwernL6r051jN/nR40NP5PaisRxy7rxbiI0cOkNykzHVRrLLzRGiASlqyfM6gi IGPADMwG+4HICJ11wpzA14LjiFVjLx+MI7sMc+J5t4Rtjj/CYGjXDfktSCtF4HSxnf+g Dtn6U8kZs30L4EqDopAgJjQqUJ6eWwxhCi6uQeLT/LjcVMt/YfF6w4NPXJBlXn6htsHH YJYpAType+c+8jhf7RJRNe1NmLNfrC0kCYwYF/2RMCHN+/sgJ1P5ErqEomjt8cRC3/8u bES+RNY+p5JNIeM7th4WzbHqomcuYl1ZGPnBbdEbH6+xCdmue/unVpaMbOG3tkexVH6Q 8cYA== X-Gm-Message-State: APjAAAW5Va3n+V/KXJXInQOhOOxu8e1fQpAR9ZIApaFnr5AYS0cKK7OS nCIcF1Y027j8baG4IGRoWD0= X-Received: by 2002:adf:e392:: with SMTP id e18mr9008949wrm.87.1567795576314; Fri, 06 Sep 2019 11:46:16 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id j1sm8677577wrg.24.2019.09.06.11.46.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Sep 2019 11:46:15 -0700 (PDT) From: Corentin Labbe To: davem@davemloft.net, herbert@gondor.apana.org.au, linux@armlinux.org.uk, mark.rutland@arm.com, mripard@kernel.org, robh+dt@kernel.org, wens@csie.org Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, Corentin Labbe Subject: [PATCH 9/9] sunxi_defconfig: add new crypto options Date: Fri, 6 Sep 2019 20:45:51 +0200 Message-Id: <20190906184551.17858-10-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190906184551.17858-1-clabbe.montjoie@gmail.com> References: <20190906184551.17858-1-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds the new allwinner crypto configs to sunxi_defconfig Signed-off-by: Corentin Labbe --- arch/arm/configs/sunxi_defconfig | 2 ++ 1 file changed, 2 insertions(+) -- 2.21.0 diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index df433abfcb02..d0ab8ba7710a 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig @@ -150,4 +150,6 @@ CONFIG_NLS_CODEPAGE_437=y CONFIG_NLS_ISO8859_1=y CONFIG_PRINTK_TIME=y CONFIG_DEBUG_FS=y +CONFIG_CRYPTO_DEV_ALLWINNER=y +CONFIG_CRYPTO_DEV_SUN8I_CE=y CONFIG_CRYPTO_DEV_SUN4I_SS=y