Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1928683pxu; Sun, 13 Dec 2020 07:53:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJxY6zG9OH0mxK00P62SCdm6j3Y1ar9OEYGpohB29OmUeynHbc26JhzuE7o4dOrIZry1AzVE X-Received: by 2002:a17:907:2506:: with SMTP id y6mr19080398ejl.53.1607874826916; Sun, 13 Dec 2020 07:53:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607874826; cv=none; d=google.com; s=arc-20160816; b=d/CuJ46Oefo84LdCz/IxmZCbbR3b5jGh5khTR6hdPorxLwls0kC19WPqt1D9MPFU9o td9Mqxp5/LpWC8mNBUFmOU9sF8G9RmrlnpGb1HKE1oNZiqwipWy7w9QdrLJjlH+/TxF6 cibkMY51gpnyHTow7vYhe8cHjY3XFGl/uERM7lYoqW5KUQYJ0rtbAxMLfoKbUcw3tpE3 9BqA76da+2VcWI8Vt+Qf94d/1xOVdxpyBNY/AqsDj5EnA5l1czXT27fWXQgci4AJUwc2 SX98YkcBtQNzOrlHNLuHj0FKKiESjn4gIKnS5v9LigFzgKasOVDm+xSiZcB3I2PhMdWk p6PQ== 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=Dd5IDMk6HdEREYAjvJvG5jiNGlnVzol4x0feAnkRhko=; b=kkqkYZD3OJ4qAOjLTwxB5olK44c3OnV8mkyi8xK6wyBoAVhhtV27uaNDzoQe+sKbPE i/I0/KfWMmazIysVdQn4QSJd2qjdp4tRUgil8+GBA00BmLhTtGlPTONgo4Uy7YdBV+ZT 0V/64CWtTzwtM6s435V1JpFAi3Fq0OTQhF5g1AyEk2dRD87+uXMq3xdcOLGnl9Z8W4Ex /La/YaO52NHR15wJCqqSsLadwKbjsRtwo1ItqN2bsTyeYt2VUT9aIOpWx3t4FefPA6mi 0XwxYOoePVVwrBEgxNMs5ZRSDOJ8vlztkKLgFL8BRV9U9Qjaru+fap9GytREbmfCvFkC 49FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KHc7AYqh; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gb36si6177732ejc.696.2020.12.13.07.53.14; Sun, 13 Dec 2020 07:53:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KHc7AYqh; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730371AbgLLPZ7 (ORCPT + 99 others); Sat, 12 Dec 2020 10:25:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728234AbgLLPZ7 (ORCPT ); Sat, 12 Dec 2020 10:25:59 -0500 Received: from mail-qt1-x843.google.com (mail-qt1-x843.google.com [IPv6:2607:f8b0:4864:20::843]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5D764C0613CF for ; Sat, 12 Dec 2020 07:25:19 -0800 (PST) Received: by mail-qt1-x843.google.com with SMTP id h19so8735427qtq.13 for ; Sat, 12 Dec 2020 07:25:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Dd5IDMk6HdEREYAjvJvG5jiNGlnVzol4x0feAnkRhko=; b=KHc7AYqhfFVLFwrn+eDW5521F5NUnXutf1Ope0Jsb1IBwZTIuBiIOQRFxjEP2TkSJt wLRhwVXNI6i/ylMShHXMJSp5N8YwROF6m/vLotUy/6PzCoVV1lzjg4L9ODgpbOzIBQgY Uvgn+t/c1+ZgjKHisaL+DkFa5APpmleSHPjAaIBQOjAdCLP1JxwtbNeW3TDVnQtMS7Ff Qc7nR/6t+We9nhAq3rFRnXQ8FX/64uJZITvq4hIiIVxtMhwTsiFtoxSbCArly5us+7wW lvYEhGynIEtS+/1qvajonUNnZx0p8YGDpjQ1J5cosU4LTxKO3Z8u08Bc8LQqxHEW/sMv OTmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Dd5IDMk6HdEREYAjvJvG5jiNGlnVzol4x0feAnkRhko=; b=YjqWM4gUxJ8kJu+9nfNWtz4tGyBvvEiZwLD6ERFna3RP7a5Dnmbbfe4NJkA2Itxlia OvUcxmYTJrBfAUB+sHgyrxbjQKKYqpXXOIpROFGAdPI/ZVymOhe94JDsqtUAADYgJ4nI nX59M1+/2wREi7mkx27p5R3Jp/oYGZXRS7nqH6xuQgxmQA0RcauAFFbyh6JEUUiuC5SY wKcVABDsw0fQRcBFvz+bpO3nsUX+Pb/CEnblnRJqXFN1TuYZmvGfcUxv/xBINp8MZ8VU Cv/IJUou+EEyf+TXGvhYUpEf4NPDilR4OUcn4FOENMiefGXF7JZqsSJ6z5bSi2crIqHx 5gig== X-Gm-Message-State: AOAM530828V3r2un0WT2tic3rE4a9mbpgu6+kKXNJkaZoYByPjymWiFk 1/CdpOYCP3U6xTX9CAmzJFi1WA== X-Received: by 2002:ac8:5286:: with SMTP id s6mr22799733qtn.22.1607786718459; Sat, 12 Dec 2020 07:25:18 -0800 (PST) Received: from [192.168.1.93] (pool-71-163-245-5.washdc.fios.verizon.net. [71.163.245.5]) by smtp.gmail.com with ESMTPSA id z10sm9925448qtm.54.2020.12.12.07.25.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 12 Dec 2020 07:25:17 -0800 (PST) Subject: Re: [Patch v2 6/6] dt-bindings: crypto: qcom-qce: Add v5.4 to binding To: Rob Herring Cc: agross@kernel.org, bjorn.andersson@linaro.org, herbert@gondor.apana.org.au, davem@davemloft.net, sboyd@kernel.org, mturquette@baylibre.com, linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org References: <20201119155233.3974286-1-thara.gopinath@linaro.org> <20201119155233.3974286-7-thara.gopinath@linaro.org> <20201207220909.GA918596@robh.at.kernel.org> From: Thara Gopinath Message-ID: Date: Sat, 12 Dec 2020 10:25:16 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201207220909.GA918596@robh.at.kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 12/7/20 5:09 PM, Rob Herring wrote: > On Thu, Nov 19, 2020 at 10:52:33AM -0500, Thara Gopinath wrote: >> Add compatible string to support v5.4 crypto engine. >> >> Signed-off-by: Thara Gopinath >> Reviewed-by: Bjorn Andersson >> --- >> Documentation/devicetree/bindings/crypto/qcom-qce.txt | 4 +++- >> 1 file changed, 3 insertions(+), 1 deletion(-) >> >> diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.txt b/Documentation/devicetree/bindings/crypto/qcom-qce.txt >> index fdd53b184ba8..ed1ede9c0acc 100644 >> --- a/Documentation/devicetree/bindings/crypto/qcom-qce.txt >> +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.txt >> @@ -2,7 +2,9 @@ Qualcomm crypto engine driver >> >> Required properties: >> >> -- compatible : should be "qcom,crypto-v5.1" >> +- compatible : should be >> + "qcom,crypto-v5.1" for ipq6018 >> + "qcom,crypto-v5.4" for sdm845 > > An outstanding example of why to use SoC specific compatibles rather > than versions. Keep v5.1, but use SoC compatibles going forward. Hi Rob, Thanks for the review. We have different Soc's using the same version of the ip. Is it okay to have "qcom,sdm845-crypto", "qcom,crypto-v5.4" amd have only "qcom,crypto-" in the driver ? > >> - reg : specifies base physical address and size of the registers map >> - clocks : phandle to clock-controller plus clock-specifier pair >> - clock-names : "iface" clocks register interface >> -- >> 2.25.1 >> -- Warm Regards Thara