Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3118989imw; Mon, 11 Jul 2022 02:08:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1skN+DPg+oFH1UizAvzEYyIFy0wYJoUSFIspriBwPEAriXVBa0RMJM/H9Dik4yjDXvVjIp9 X-Received: by 2002:a17:906:98c8:b0:72b:3a31:6cc3 with SMTP id zd8-20020a17090698c800b0072b3a316cc3mr10808567ejb.597.1657530503492; Mon, 11 Jul 2022 02:08:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657530503; cv=none; d=google.com; s=arc-20160816; b=jfYGgrMooduqgMiKDpNMMN6/ar7SPljw/PlN0P0ZHJfCUK6XixrwGkgyhM/EIcHbP1 XIHrkMqLQMzDvsiiN6YHWFioWmb96ZIfGxVN+G2dS1jxQVkPi7zy67MqG2BSTMRZMKNI HJCmz0Ntk+7cHIOkjoQxz/F2ZrjizgRNf8QpzyezNIUQOxY3fyvdOEnIUMmBcwP6e0Ma 8Gdj2k2G0GUz2fAER/gMjKlhz1LULpVTDGeJ5eL/pGPI7lQy/eolGoJbGpKJLgPzz5kn dle6yMWKm4pbeeegYO1CgRb1NXDUkrXObbhofY7kM7lOBnMon5QqClXV23aniYlANdA0 W9YQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=Gf71kfs0ZGj50JnkmWY81zhi/XKMCfnOddDWZhEm994=; b=WDRBDP+fLuOoSNy5obfzZJrdNSM3m094bJXFy/FZum9sthVXGCt6ZVbHiHqzCxsB32 ZnN4EQz7eYO8V/NIfx1/v71LF+jvkEP+HC243Md5G53JItoSkz81deT+V53tIEJ6tdzA FKN9C3/VLiONbtYyeEOR1vQohqvSNKstoQuH7Sq23zxI0zT/RotL45w+w77CfRbvtOJI lGHJ/upni78Px+ik4bkr97o+/bHquaVph81SedSJwAzII+f/R4eKXvHTOCdMSWWeSrj7 DgEf/wQ4vRiB1EDHiZWOvCbrOlNaiaE03CRx63OycLw7KzaW4Edi71UcqdTGX09K3zxo H71g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pfSZmeoh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f15-20020a056402068f00b004356e6cf5aesi8958499edy.363.2022.07.11.02.07.58; Mon, 11 Jul 2022 02:08:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=pfSZmeoh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229817AbiGKIyI (ORCPT + 99 others); Mon, 11 Jul 2022 04:54:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229526AbiGKIyG (ORCPT ); Mon, 11 Jul 2022 04:54:06 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD827B1E1; Mon, 11 Jul 2022 01:54:04 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 26B8rnFN012479; Mon, 11 Jul 2022 03:53:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1657529629; bh=Gf71kfs0ZGj50JnkmWY81zhi/XKMCfnOddDWZhEm994=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=pfSZmeoh+yKDgwWt+uh/mCpV8Oh7kfvTSBrgEqYlCk93mX2tNHVfmY/VKSokjGjE0 FfvJMDcmKM/WsnPb5fejimOOkQaoj28pwToBMVzNv3RGv2a8kBh2DhtMsXSZ+Jo9oH sXTRCy2uKc/ZAYsEZZwzdHfRvVuBL65E/D3d/Upk= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 26B8rnk3066579 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 11 Jul 2022 03:53:49 -0500 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Mon, 11 Jul 2022 03:53:49 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Mon, 11 Jul 2022 03:53:49 -0500 Received: from [172.24.145.60] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 26B8rkgP119473; Mon, 11 Jul 2022 03:53:46 -0500 Subject: Re: [PATCH 2/2] arm64: dts: ti: k3-am64-main: Enable crypto accelerator To: Nishanth Menon CC: , , , , , , References: <20220708112755.105642-1-j-choudhary@ti.com> <20220708112755.105642-3-j-choudhary@ti.com> <20220708220816.rwyr54ahzjvh7ad5@awhile> From: Jayesh Choudhary Message-ID: <8a3285cd-d057-eaa0-ebe3-3032abd64d49@ti.com> Date: Mon, 11 Jul 2022 14:23:45 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20220708220816.rwyr54ahzjvh7ad5@awhile> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/07/22 3:38 am, Nishanth Menon wrote: > On 16:57-20220708, Jayesh Choudhary wrote: >> From: Peter Ujfalusi >> >> Add the node for SA2UL. >> >> Signed-off-by: Peter Ujfalusi >> [s-anna@ti.com: drop label, minor cleanups] >> Signed-off-by: Suman Anna >> [j-choudhary@ti.com: drop rng-node, change flag to shared] > > > See thread: https://lore.kernel.org/all/1d6d171f-3c91-530a-27a5-c93153cb2378@ti.com/ > > lets be consistent as to having the RNG node with disable and logic for > doing the same. Okay. Will send a v2 patch. > >> Signed-off-by: Jayesh Choudhary >> --- >> arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 12 ++++++++++++ >> 1 file changed, 12 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi >> index ada00575f0f2..dd2848cd0740 100644 >> --- a/arch/arm64/boot/dts/ti/k3-am64-main.dtsi >> +++ b/arch/arm64/boot/dts/ti/k3-am64-main.dtsi >> @@ -1308,4 +1308,16 @@ >> interrupt-names = "int0", "int1"; >> bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; >> }; >> + >> + crypto: crypto@40900000 { >> + compatible = "ti,am64-sa2ul"; >> + reg = <0x00 0x40900000 0x00 0x1200>; >> + power-domains = <&k3_pds 133 TI_SCI_PD_SHARED>; >> + #address-cells = <2>; >> + #size-cells = <2>; >> + ranges = <0x00 0x40900000 0x00 0x40900000 0x00 0x30000>; >> + dmas = <&main_pktdma 0xc001 0>, <&main_pktdma 0x4002 0>, >> + <&main_pktdma 0x4003 0>; >> + dma-names = "tx", "rx1", "rx2"; >> + }; >> }; >> -- >> 2.17.1 >> >