Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4529989rdb; Tue, 12 Dec 2023 02:03:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IG/u8vsLjGA1GDXp9CR7WuVqAmtmFzyAZMqhmTnZCA7UUJpCnihgI3WAZS1AB8Swp0mhJaf X-Received: by 2002:a17:906:a850:b0:a19:a19b:78c8 with SMTP id dx16-20020a170906a85000b00a19a19b78c8mr2892801ejb.139.1702375410409; Tue, 12 Dec 2023 02:03:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702375410; cv=none; d=google.com; s=arc-20160816; b=CcLr9cs1YMMrZHpfeh3hMPrYs6YSwG8JQmP/K4pUcY94vCQ0Dw9mMjG3njz3YBPY5U EXJ4CKlhQia88UcGhguS75sR1whNBIKQiU6mk/HJe5FOE9OVJ2z5s+sWtV739WtQ1/1g Y06pX8AEYhgqcwYp8kbSP0qYsCqDuta4PtNEOc6m5Oypgi2sb49Wsn+jFLe6xapjTx9d k5pAmPFt3/euLOxKoaYuwLuk8yyuyPimMRvn3NP3b1s9Gc5tg87iZ01CRHvpTvqlDW9E jZUmLyZBbPkBawac4XWiNLbD9A8c40VF7hNieT+Hd3TTf16MVCXh4zmjCwpAVWFU+xQd l8sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=8jwK3VIZKTtyh6l8Imn5ROjr3boxbaMYwliA7fT7XUg=; fh=22E6Kn8Q3DM0zhvZWC4LqGrRYeufbrZVLRpFpQYOIL0=; b=kET6RpB/wucR2cKrUHUV/8t1bgCYT+UemUhJzgGxXBIBiJLwtGWgZ0HqvQpbWceJcs MCPB1eKoK43f/t/azUaldMXnMfOntNynfmtYB5DATicJVIgAERAZkJCI/997qMLwBjKV tjnc8XugiKP2fTeeGWCJD3pmGH+QZSjIQvhP5V/JP0Gkrj7lxE/K4LQV3vqbAtGhkkY5 DaVuM4qM0vRE26UYJwqyu4P2RJb5AwwhbTwRo4Nd8CwZCvz6nUnmOY9GMcNkG2tqCvN6 EwidhmV0NunO/tO8IyTyT2bAiszEH6Z7xcTEtrAuGymln/IeSHExt4Zr6aa1CJbQU8N6 3j2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kb9Q4bAS; spf=pass (google.com: domain of linux-crypto+bounces-745-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-745-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id k23-20020a1709061c1700b00a1f88760e31si2866723ejg.400.2023.12.12.02.03.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 02:03:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto+bounces-745-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Kb9Q4bAS; spf=pass (google.com: domain of linux-crypto+bounces-745-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-crypto+bounces-745-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 2E8741F213B5 for ; Tue, 12 Dec 2023 10:03:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0FD159176; Tue, 12 Dec 2023 10:03:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Kb9Q4bAS" X-Original-To: linux-crypto@vger.kernel.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 832C7A6 for ; Tue, 12 Dec 2023 02:03:19 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-40c0fc1cf3dso56854795e9.0 for ; Tue, 12 Dec 2023 02:03:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702375398; x=1702980198; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8jwK3VIZKTtyh6l8Imn5ROjr3boxbaMYwliA7fT7XUg=; b=Kb9Q4bASHhAtVZ3oJa7Bo95WSwW2OBpnYei/4/snZB77Vfgutx40FC72S3ptfEHENo cOIdhnexPubItsY/82lgHIGP1j4zUjB/nMMrZv80RWA3vOIzo/CBFNOd+0Odcev6A5AI LC/v0/W1JUm+Ho59c6B+ZrWStrLqJpRJAKeNdJRJzzAT+/mF5EMCc4HTOkMOPTGCKmkw hfr2mcEm67mK81yuaZld58wTgXYELRpSTeLoa8qUzqY3BDXO5GxjOMqXv2dRtUMAxPQy hrEazq5jO3ORA3O38lQFyHnMhU0jvw0IcGsBrXAjsnFa4mqOZx9w0DWusDhf4ZfSaPvD O1XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702375398; x=1702980198; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8jwK3VIZKTtyh6l8Imn5ROjr3boxbaMYwliA7fT7XUg=; b=OwiX3Ahy+XCR8o5g/Q0FTsIJW4wgaLPcnCRb2vWD/y+wteHTNKzfw6PWg+yGIP5hQD C9QVyCoRRl2ukn7TbH/IFplc4zZAj01ysHPmgXBxLuTa/7NCI3d1T1T31narUC+nQ31Q yEqIdZz19D+htyHFiIeojnx05mA2WUSLv+w0ucC0z6HijDAWDwY0Bpqo1X644Z/G8JeH HrvoFzDDClweGHd2kCry8YiG1rinWt5bxZ1TQvC+eu2I+4rJ4bmYE6d/FDCNMZ3Z7xVJ 6apc1y3srVu1k4jT/J/uzTv/2zJt6Tsdi0MWvnGZ8EpMfNGFl1GWqs7eMzpMbbwbLrt4 +2zg== X-Gm-Message-State: AOJu0Yy6zHrg+7CrP0Ne+l9ZGTDAxiF89ETu8/Sa2/bjp2ePnjIVgv0r IernC7wueeXzjMPji4crO73AdQ== X-Received: by 2002:a05:600c:458c:b0:40b:5e21:d355 with SMTP id r12-20020a05600c458c00b0040b5e21d355mr3028323wmo.94.1702375397938; Tue, 12 Dec 2023 02:03:17 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id m24-20020a05600c3b1800b00405c33a9a12sm406183wms.0.2023.12.12.02.03.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Dec 2023 02:03:17 -0800 (PST) Message-ID: <5cfc4564-fd36-45a3-9293-9757ffbc7e96@linaro.org> Date: Tue, 12 Dec 2023 11:03:15 +0100 Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V1 2/2] arm64: dts: qcom: sc7280: add QCrypto nodes Content-Language: en-US To: Om Prakash Singh Cc: neil.armstrong@linaro.org, konrad.dybcio@linaro.org, agross@kernel.org, andersson@kernel.org, conor+dt@kernel.org, davem@davemloft.net, devicetree@vger.kernel.org, herbert@gondor.apana.org.au, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, marijn.suijten@somainline.org, robh+dt@kernel.org, vkoul@kernel.org, cros-qcom-dts-watchers@chromium.org References: <20231212085454.1238896-1-quic_omprsing@quicinc.com> <20231212085454.1238896-3-quic_omprsing@quicinc.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5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KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231212085454.1238896-3-quic_omprsing@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 12/12/2023 09:54, Om Prakash Singh wrote: > Add the QCE and Crypto BAM DMA nodes. > > Signed-off-by: Om Prakash Singh > --- > arch/arm64/boot/dts/qcom/sc7280.dtsi | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 66f1eb83cca7..7b705df21f4e 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -2272,6 +2272,28 @@ ipa: ipa@1e40000 { > status = "disabled"; > }; > > + cryptobam: dma-controller@1dc4000 { Are you sure you placed it in correct place? 1e4 looks higher than 1dc. > + compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0"; > + reg = <0x0 0x01dc4000 0x0 0x28000>; > + interrupts = ; > + #dma-cells = <1>; > + qcom,ee = <0>; > + qcom,controlled-remotely; These two properties go to the end (vendor properties are after generic ones). > + iommus = <&apps_smmu 0x4E4 0x0011>, > + <&apps_smmu 0x4E6 0x0011>; Lowercase hex > + }; > + > + crypto: crypto@1dfa000 { > + compatible = "qcom,sc7280-qce", "qcom,sm8150-qce", "qcom,qce"; > + reg = <0x0 0x01dfa000 0x0 0x6000>; > + dmas = <&cryptobam 4>, <&cryptobam 5>; > + dma-names = "rx", "tx"; > + iommus = <&apps_smmu 0x4E4 0x0011>, > + <&apps_smmu 0x4E4 0x0011>; Lowercase hex > + interconnects = <&aggre2_noc MASTER_CRYPTO 0 &mc_virt SLAVE_EBI1 0>; > + interconnect-names = "memory"; > + }; Best regards, Krzysztof