From patchwork Wed Oct 16 15:01:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corentin Labbe X-Patchwork-Id: 176486 Delivered-To: patch@linaro.org Received: by 2002:ac9:3c86:0:0:0:0:0 with SMTP id w6csp7282278ocf; Wed, 16 Oct 2019 08:01:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyXEvOZlUGCI6Y6ma8PAcSez0UuQym7bCSFqwZ2tLEXYdUn2/xGN+uZDgw04V7mZVjld9fO X-Received: by 2002:a17:906:e2ce:: with SMTP id gr14mr39446533ejb.229.1571238105831; Wed, 16 Oct 2019 08:01:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571238105; cv=none; d=google.com; s=arc-20160816; b=GUsp6LGbCy9payvGO2KP2NpL75/m68dfO39l+erEKshw835kIojnRH6zgiTNj/0VE1 3+RPufevxmJbcPgFkEYNYcjul0/DmGJAr4gAcJ4I9OocJ4HNjswMwW2sIRS0aALzVx9U tqSdhlDiUZvVHBY134fyR99aTZDFYSPuAcMS2IHk8jn7e4GF5f2uZpvNMAB3du0Rg6eO zu6x7iH0gszESL0blGYrLzSg5N95zDwPtmewwTLugrjw5sQb6OkeJzGNHmAnFym1WxQj 3Qjgo/g0fReKzU/F7hxXZrtDXdPY5YxTKWvprmHRm60VeOEnNS8lLku6Ut1KofW6SdAM CssA== 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=GJDCD24q8FHHhxNDtUAkpzQYbJaDZYgAmYeaRlxpr/w=; b=R67aTyT3NoUzqL7qxeqzR+qcEVta/BOaJZ+kmvdmT3/ZNxHV/vK9Ans604hYY6oyJ0 zFlAJUaAXdM2lLvEYY2+3B/jC/AEgM/EOH35rUuoKQkSmmWEJBNVTKr80JCXr0fbyyFo VfZm1Y+71lgEITSsdT/Nxg0fF3gHHJ0iIqp79SSn8RzmFf0/plZ7LyDDqLysDNgrBki7 Z6r8uEYKnl9gqrZHL0xhQTRf43B8qEXCWg1yvbEu/VAqQYDGNY7FYKVPTToUCN3Frtt1 5MP9oed/vEgpJNIVLni5JI2PdjRa1BngxbuA44UlNFciIQVtR7Y9+aOccl7hS9BH1+R7 cqpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dO4olJtv; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 l8si15526466ejc.432.2019.10.16.08.01.45; Wed, 16 Oct 2019 08:01:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=dO4olJtv; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 S2392460AbfJPPBo (ORCPT + 3 others); Wed, 16 Oct 2019 11:01:44 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:39110 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392382AbfJPPBo (ORCPT ); Wed, 16 Oct 2019 11:01:44 -0400 Received: by mail-wr1-f68.google.com with SMTP id r3so28483194wrj.6; Wed, 16 Oct 2019 08:01:42 -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=GJDCD24q8FHHhxNDtUAkpzQYbJaDZYgAmYeaRlxpr/w=; b=dO4olJtvxy5WdTAk6CiGSGZ/doWOUCerRa2ngeO0GD37wFEQBYSjsutuPLDVbqT8mO Y6IMoGamFUFHX0sMTqJ4QBoJ56ZYmIPvod5t6RiUfjmLhmn+8xP19XUrKbPWKO6JCkT/ nHW5ii8489KCW+AgpKSIdQSVKlZlsV5JoibBzTOk8oIA98Q5ApEEh1nO47aFvAg9GLdl 2/KQBpSsJJ0OnjbxDkwEFoXlx2MhB3wzSpVAJJGKzPCJ7F05keQFXpB0ci03+puGuENc yvhd9mLDRE/0SZbaTCcPzjsABsHYIIotHozMjkDoM1UygnHvkRASDdbmA7FnpySj9QA9 +PHg== 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=GJDCD24q8FHHhxNDtUAkpzQYbJaDZYgAmYeaRlxpr/w=; b=ipwk3DATjJxV8Cry5r8wi2B5X2L8pSV04TPrEXC7b1J9YhypjydBKupxKAysvzcwsf kJnI2yya5OFaOXsCv3Q4Do1zPiN0fSPb8NkhNZvmMHyTEScSF0c1IHRXnpyMmj66DPzr PhhujBZFNhn1p2Dill32+n27zvHeitWkgwRobHYM/dmBaOcHJONDBFgT+4wqlCheCmuR V9H69RpR8dMN631ZbPuPsYwrulI7guFuRp9ZdGBtaeUEK5W8dUkmdGvrPYNNScLqJZSv SOdPFwsb4PAYPiUcE7yurKHTfbe78j3Xr2/Jb0IvVHPThyW/UeoE33k2J3mRyR70UE8Z C4DQ== X-Gm-Message-State: APjAAAX5PFPwyoR1rEzOiFfYS3bHUJIoA5V/MJWdQvZ8hxSNEcDMwP3M gEWaPlLT4SNEu/mXtk3Xnq8= X-Received: by 2002:a5d:4685:: with SMTP id u5mr3277509wrq.264.1571238101466; Wed, 16 Oct 2019 08:01:41 -0700 (PDT) Received: from Red.localdomain ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id r18sm3215437wme.48.2019.10.16.08.01.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 08:01:40 -0700 (PDT) From: Corentin Labbe To: catalin.marinas@arm.com, 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, will@kernel.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 v5 04/11] ARM: dts: sun8i: R40: add crypto engine node Date: Wed, 16 Oct 2019 17:01:24 +0200 Message-Id: <20191016150131.15430-5-clabbe.montjoie@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191016150131.15430-1-clabbe.montjoie@gmail.com> References: <20191016150131.15430-1-clabbe.montjoie@gmail.com> MIME-Version: 1.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The Crypto Engine is a hardware cryptographic offloader that supports many algorithms. It could be found on most Allwinner SoCs. This patch enables the Crypto Engine on the Allwinner R40 SoC Device-tree. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-r40.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.21.0 diff --git a/arch/arm/boot/dts/sun8i-r40.dtsi b/arch/arm/boot/dts/sun8i-r40.dtsi index c9c2688db66d..421dfbbfd7ee 100644 --- a/arch/arm/boot/dts/sun8i-r40.dtsi +++ b/arch/arm/boot/dts/sun8i-r40.dtsi @@ -266,6 +266,15 @@ #phy-cells = <1>; }; + crypto: crypto@1c15000 { + compatible = "allwinner,sun8i-r40-crypto"; + reg = <0x01c15000 0x1000>; + interrupts = ; + clocks = <&ccu CLK_BUS_CE>, <&ccu CLK_CE>; + clock-names = "bus", "mod"; + resets = <&ccu RST_BUS_CE>; + }; + ehci1: usb@1c19000 { compatible = "allwinner,sun8i-r40-ehci", "generic-ehci"; reg = <0x01c19000 0x100>;