From patchwork Wed Dec 11 08:41:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 11284423 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 11CEB14E3 for ; Wed, 11 Dec 2019 08:41:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DF58C214AF for ; Wed, 11 Dec 2019 08:41:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="LmSCzEKl" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726983AbfLKIlo (ORCPT ); Wed, 11 Dec 2019 03:41:44 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:38536 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725973AbfLKIlo (ORCPT ); Wed, 11 Dec 2019 03:41:44 -0500 Received: by mail-pg1-f193.google.com with SMTP id a33so10210398pgm.5; Wed, 11 Dec 2019 00:41:43 -0800 (PST) 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=NsX+54XryMi2VELIlseSEX982HiAeN+ixQnkqnlA7YM=; b=LmSCzEKlLF9GA2NDPubkojoLRS1e9leBh1jLX86uZVx6zzLug+HCFJqv78bTvWeQ+g jKeqADdNLjCPNYb78KIB8IolMywHdHzgFDuqdtrTXlnwQMQ/r0xW54gkzlRpFwEQbYqZ stjB6Lp32jDGktWCXe42LqB9lE+Cg2BizkCyAFox+NMheVEt+/XJDUEA+TOs1xP2a9tn t3JJP8WRF/l48UiXw1RcvV650X2ryFnvl9Vstmk+BqjhdaMWyexnopBPg7lGbCNZLG7c SNp5xDwmmklLOIYTQNOHUBGJ51KL2d2H6JpMM2hz1kGtNDbPB8bH+Pft+0Vq6CEwiQ04 T35g== 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=NsX+54XryMi2VELIlseSEX982HiAeN+ixQnkqnlA7YM=; b=lMNUY5wdY559lBdYlXyFjFdqQMEHWb5/rr5fQVJgXOSdajZKY2Zy50th554BsSJFRL enGLzQdX6E9BJ20gqKwSbhrx+CD0A8XPm1EcZEZyoXv4fNOYDXyd9B51xsd9W2WDpmSb ezkLbRMVn23vjndSTo+xEKWecfiOfUcmkRsfNNLZNg8/QF2E0kYud1uE4SUEDr4WVvh3 lRRubNzVNqJZdfvuJ0Nwi95qsIE4MyJaYVHVVIFtxA4CqfFJiJplZxtb+kcI++x0w6Z/ bKWEMg/DoNEqbqi/8jgwfe4pKv6YiIKs0a8UwmTNQVbfv7F2MR4ow92KVrsOdwfR1moG aOyw== X-Gm-Message-State: APjAAAUXKiEk7OxCNLMxfUrK8fMFFd6dbOP40yoFRf7qZBX9tA6Rx23z 0z0rHC/Y/kYb2VLsSLaC1Oo= X-Google-Smtp-Source: APXvYqzJMVswmGLym+pZbQ6L9I2M3QaOEA5y6ogXLZGiNgCt//erJUC4U3w+uiICKuF3gfbZKbVHcA== X-Received: by 2002:a63:d406:: with SMTP id a6mr2888017pgh.264.1576053703526; Wed, 11 Dec 2019 00:41:43 -0800 (PST) Received: from localhost.localdomain ([103.51.73.137]) by smtp.gmail.com with ESMTPSA id e16sm1806233pgk.77.2019.12.11.00.41.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 00:41:43 -0800 (PST) From: Anand Moon To: Rob Herring , Mark Rutland , Corentin Labbe , Kevin Hilman , Martin Blumenstingl , Neil Armstrong , Herbert Xu , "David S . Miller" Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org Subject: [PATCHv1 1/3] arm64: dts: amlogic: adds crypto hardware node for GXBB SoCs Date: Wed, 11 Dec 2019 08:41:10 +0000 Message-Id: <20191211084112.971-2-linux.amoon@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191211084112.971-1-linux.amoon@gmail.com> References: <20191211084112.971-1-linux.amoon@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 This patch adds the crypto hardware node for all GXBB SoCs. Cc: Corentin Labbe Cc: Martin Blumenstingl Cc: Neil Armstrong Signed-off-by: Anand Moon --- Tested on Odroid C2 GXBB --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 0cb40326b0d3..bac8fbfd4f01 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi @@ -14,6 +14,16 @@ / { compatible = "amlogic,meson-gxbb"; soc { + crypto: crypto@c883e000 { + compatible = "amlogic,gxbb-crypto"; + reg = <0x0 0xc883e000 0x0 0x36>; + interrupts = , + ; + clocks = <&clkc CLKID_BLKMV>; + clock-names = "blkmv"; + status = "okay"; + }; + usb0_phy: phy@c0000000 { compatible = "amlogic,meson-gxbb-usb2-phy"; #phy-cells = <0>; From patchwork Wed Dec 11 08:41:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 11284427 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 48D1A14B7 for ; Wed, 11 Dec 2019 08:41:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 231D621D7D for ; Wed, 11 Dec 2019 08:41:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="sypZYZzi" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728370AbfLKIls (ORCPT ); Wed, 11 Dec 2019 03:41:48 -0500 Received: from mail-pg1-f193.google.com ([209.85.215.193]:41036 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728300AbfLKIls (ORCPT ); Wed, 11 Dec 2019 03:41:48 -0500 Received: by mail-pg1-f193.google.com with SMTP id x8so10426026pgk.8; Wed, 11 Dec 2019 00:41:47 -0800 (PST) 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=wSnofsroC3q0Bz8ZT6LbzRALYay3vg5tkKr0icagGfk=; b=sypZYZziLS/YcWob4MchGqcycarvQZxMn1mSMGNavUXnuWQI15mU3JGLc0COr8rNfa S+x47EZAWcs5BUYfMPqdssiYJVBOrvSDUCVXCTBPRXVATsss+XcCggIYD5ExhI6C23sP IpjDo8WjUaAVIwOkJsbOzF323dESHRNZanM0WrgrlnnkT0EaG9InnfNmbuJHMwiXZPHd DajBDlkcloEhOJdhq1l/qHuRKBvS2gtLH2+IkvgUTugKnpUwUq2sCFG6/o8J4B0wX5/M QII848BqsJJfF5pRqejJVwKftsk7ZCosaHKbVD7MWdFn5qOH9ahs+DEYPluSnUFViw5P KuQg== 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=wSnofsroC3q0Bz8ZT6LbzRALYay3vg5tkKr0icagGfk=; b=SUL/a58sKEaYW1CAyBRm00Y5b6VJAdB6JqtcquBuxpB6B4ZXztEL5xLneWy/7omfCy gzij/EVYDABljSifXLfTkn1o3d7H5QfRlXQFuV+P4RMKSMNyH9LMXnCQhU1A8PkzHEKm 9c6HtbLmRaGPqpsjtg1Tv075o15tp2GHuHhg1GfKDibWmAAvFOUoUu1Jr5lmsViqapC7 moer6r1GteVu2RAPPfytTvXFnVRVQzPXMu8NkKjsMiJi5I5Fxs/X7tZzS4JXSGPlkBUq GuY8PsfdV66yNlElFlq2qjr5br0i//DZUcRTE6KfD0JZIsVc5FoCur4ofPIyd2FopE2C KINw== X-Gm-Message-State: APjAAAXoY/HcjXrvkPARuglBKu6MOaR9gwL0mA0mW6cvmVLsvOrUB+J6 DkT9yQkL6dwNrt5ZlGYVeJE= X-Google-Smtp-Source: APXvYqxLtckOJJeAP+OJm1gWfjjRej8ZWHqTmg1NF79cWSx/7GSvheeLLtEy9ENMm0+iJkCsWsKRfQ== X-Received: by 2002:a62:ee0c:: with SMTP id e12mr2595374pfi.38.1576053707552; Wed, 11 Dec 2019 00:41:47 -0800 (PST) Received: from localhost.localdomain ([103.51.73.137]) by smtp.gmail.com with ESMTPSA id e16sm1806233pgk.77.2019.12.11.00.41.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 00:41:47 -0800 (PST) From: Anand Moon To: Rob Herring , Mark Rutland , Corentin Labbe , Kevin Hilman , Martin Blumenstingl , Neil Armstrong , Herbert Xu , "David S . Miller" Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org Subject: [PATCHv1 2/3] dt-bindings: crypto: Add compatible string for amlogic GXBB SoC Date: Wed, 11 Dec 2019 08:41:11 +0000 Message-Id: <20191211084112.971-3-linux.amoon@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191211084112.971-1-linux.amoon@gmail.com> References: <20191211084112.971-1-linux.amoon@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 Add a compatible string to support cryto controller for Amlogic GXBB SoC. Cc: Corentin Labbe Cc: Martin Blumenstingl Cc: Neil Armstrong Signed-off-by: Anand Moon --- Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml index 5becc60a0e28..be0c3f73a9cd 100644 --- a/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml +++ b/Documentation/devicetree/bindings/crypto/amlogic,gxl-crypto.yaml @@ -12,6 +12,7 @@ maintainers: properties: compatible: items: + - const: amlogic,gxbb-crypto - const: amlogic,gxl-crypto reg: From patchwork Wed Dec 11 08:41:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Moon X-Patchwork-Id: 11284429 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6171714B7 for ; Wed, 11 Dec 2019 08:41:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3BE5B2173E for ; Wed, 11 Dec 2019 08:41:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MHUO4Uku" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728383AbfLKIlx (ORCPT ); Wed, 11 Dec 2019 03:41:53 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:34376 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728300AbfLKIlw (ORCPT ); Wed, 11 Dec 2019 03:41:52 -0500 Received: by mail-pg1-f195.google.com with SMTP id r11so10442185pgf.1; Wed, 11 Dec 2019 00:41:51 -0800 (PST) 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=ZX5iKFff+zirWsLntEazM/Rbpxnzs9FOJJrz4dQumzc=; b=MHUO4UkuzYpZA3AHVcHQwjQ3qiK8LGCGbQkoMcg3lJKv3tAaP6BMTBg2Ib/qK37dA+ c5L/hXucjHUBEbtVwOTLq2DQQa2FHXO/lLHOBXi2jFqtXNji3CbRH5LR06+kRCcZKoPb GUgDODlN0gIhiXK6mD4bUE3SSJC0TO6NI3a0MtgQO7kizMf3g7EC9QXW6eoQSU5/GdYi hMvTTgzME/upt+wwKZFcGXQBixnooyz3ez9ipRTbX5T0OX43dsafvRPYbeKrg3GKvDHO hL/fLVDdRs1/KxdVK8O537Rzi0mWV21RQX9bTUJiHBNg9/dj1AGb73qQB6PPnUDTGxIC XJig== 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=ZX5iKFff+zirWsLntEazM/Rbpxnzs9FOJJrz4dQumzc=; b=bz+6QP7XDAmwqrj795Ui45oAT4JKofupzvXYe7RXCwR1hA1kgb5ynzccA2004WdKnC a6fwfkjaSghW++iMv7S3cz7YFKc34oYqh8KX4UwumoBNoyOSg+AvFvhLj3LEkQ8p8Ccw 54o5+95HJkiPZi22NVMaCHHNw4IcfX76MRuucfB/hff2i6YdH2+P9dzUspVTbKcYezGF 4gvX2N0Dizy/MZU0NO5KIV7J2BdImoDeNgXLYPAxGbdhkUr7cusgMmowcQAEgdEirgf7 CXtvcSWbnax5n+jZ7vvtFj5CvKU16oN68hWNHTYScsoMmMEl9duPq3UdwuTD8tZtASJr E9kw== X-Gm-Message-State: APjAAAXtRe0c4Llnal+GOPpBIMSOI8zAOjjtc3ZWUn/E71IgTvbNIEJV I/w0S2B9eISKJqERbTmjkm56xjvN X-Google-Smtp-Source: APXvYqzO1zopMC7CKJPCqQkkW+wGdyMfN7a2pPRNe/6FbBn7+WTgfsNCmI+0BrTqx7nTq9HCJuuNtQ== X-Received: by 2002:a62:b402:: with SMTP id h2mr2447717pfn.55.1576053711611; Wed, 11 Dec 2019 00:41:51 -0800 (PST) Received: from localhost.localdomain ([103.51.73.137]) by smtp.gmail.com with ESMTPSA id e16sm1806233pgk.77.2019.12.11.00.41.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Dec 2019 00:41:51 -0800 (PST) From: Anand Moon To: Rob Herring , Mark Rutland , Corentin Labbe , Kevin Hilman , Martin Blumenstingl , Neil Armstrong , Herbert Xu , "David S . Miller" Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org Subject: [PATCHv1 3/3] crypto: amlogic: Add new compatible string for amlogic GXBB SoC Date: Wed, 11 Dec 2019 08:41:12 +0000 Message-Id: <20191211084112.971-4-linux.amoon@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191211084112.971-1-linux.amoon@gmail.com> References: <20191211084112.971-1-linux.amoon@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 Add new compatible string to support the cryto controller for Amlogic GXBB SoC. Cc: Corentin Labbe Cc: Martin Blumenstingl Cc: Neil Armstrong Signed-off-by: Anand Moon --- drivers/crypto/amlogic/amlogic-gxl-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/amlogic/amlogic-gxl-core.c b/drivers/crypto/amlogic/amlogic-gxl-core.c index fa05fce1c0de..9859ab023e23 100644 --- a/drivers/crypto/amlogic/amlogic-gxl-core.c +++ b/drivers/crypto/amlogic/amlogic-gxl-core.c @@ -311,6 +311,7 @@ static int meson_crypto_remove(struct platform_device *pdev) } static const struct of_device_id meson_crypto_of_match_table[] = { + { .compatible = "amlogic,gxbb-crypto", }, { .compatible = "amlogic,gxl-crypto", }, {} };