From patchwork Wed May 19 14:36:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 442445 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1385807jac; Wed, 19 May 2021 07:38:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxFcd7WTaKsNv4brTSUaTIuG7+VGvlGoq1sEazNPsUqOu/TzHa3NnLB8bq6q2uj4p6qNwNd X-Received: by 2002:a05:6e02:156d:: with SMTP id k13mr10765867ilu.149.1621435092938; Wed, 19 May 2021 07:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621435092; cv=none; d=google.com; s=arc-20160816; b=F4zK2gp89CnM16kXyrkjxyE089y6wBEaSu6V6lSgU/6YKb8KsM/tHQoO3mvl7WfL6J 5eZ047XvHghHFn2SMjCUyuPlIuvGWHNNop2gBnWidtkYZ/Cl9sDdsE6Qk7EQi+wB0+OS m7sPCz0YQM3fdGTzrL9szaX/sNoMGbL+gt1v+E8Qvv9OWqmtamNSpNl0muzHu8hwz1Sf krhK1M9ZtwK1CnM7PcNNkD3Wwml64tiRdyhDtUG2Mk2sbjYe24J+Bd/GXWQoqPo7NeuF 834RD2iCZPGeNFrvs31HSn7ozat1HUdriM5NjrjsjcpD1n7bBdDfz0TMpMz+Oda+rIVs VOGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=gLAnCBqQqsONCjJBDJE0yrv+GAq9KPhwa4QXZbYyuMc=; b=S0R6YiHq9rEwtXcNdjuIQa9OuRuZuxKTNc1qTkg2B/+JZccimtwq0C5RxWIN50OQFN 7WYDjQRDATzcLxIVoBDHw0QPPZn/Gqhg3AXc+RcL+lXjOdwRE9yHM8fu5XRQWi+o9bF0 xtlNlqXKh/K0QiHoPCJWYeDRNNKjKCn6eX07IAtAhnG+ZHnEYzpq/jMywzTMIv0lnjRa 1TEQLgR56VF4kP9HIvGSvGfr9zpjHzcI//BMmpSIqnwL3YnKL2uy3HnFSjBchJf1xzoa sOvVn2rfgANZgLPEgayCRgQZAbne/RWywpWfj0uQHSA086Eka+U1J4Y5KuoJD7ukzLm0 itdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=c9bg2n3a; 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 n4si23252560ion.59.2021.05.19.07.38.12; Wed, 19 May 2021 07:38:12 -0700 (PDT) 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=c9bg2n3a; 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 S1354286AbhESOj3 (ORCPT + 3 others); Wed, 19 May 2021 10:39:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354391AbhESOjS (ORCPT ); Wed, 19 May 2021 10:39:18 -0400 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FF24C061763 for ; Wed, 19 May 2021 07:37:58 -0700 (PDT) Received: by mail-pj1-x102d.google.com with SMTP id gb21-20020a17090b0615b029015d1a863a91so3620627pjb.2 for ; Wed, 19 May 2021 07:37:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gLAnCBqQqsONCjJBDJE0yrv+GAq9KPhwa4QXZbYyuMc=; b=c9bg2n3awUNosoxiqlWahS89fYJ+gyP54aVvYVGfNLcJPtw/1INOIfKLsyffRjjfBu TsbHHAXnsVT5Dky72Lnt2Nl6JBO4pQtt2P1TgmUXynMkgZEcbcAgcbT3bSiLCpu5YAC7 99A7JRffauR+Gd30PcQsD47/eiTs2P8anCAoLNTp5ms5/cCLTYD3rS1HwcyczXQw/YlU uV5h51GL4KrPnNBdOnbtPCCUn7VzlFZLrwq2PPqHWnPqmwciMgeQxlLvbF2nCKhY5zh9 hOUch6L1bcRqNl2VylFqMl5GDcUgqJh09qxe6ZxQAlyuXMV6AHXRQz4o7RhQHCTFw0qW EIBA== 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=gLAnCBqQqsONCjJBDJE0yrv+GAq9KPhwa4QXZbYyuMc=; b=KXw3IqrTOjGws/tDe1w+AFSkRsdjT50G3auA7Qdkg1xtSULNE5CXOem0Gq4LmyWCke ojdAcGeiWFrM1pwQk+8HtoHelgWu9cbziU598aP00b2gWeQy8PfOfmsyjfj49lhXvX2w OfilIvH+mNSaYVoss+zBuMpE/eU/MURrcAh89CXAbUc2IA77nlNMZ9S/V5bpmE2qWZpC Vs68O9VrCTzq8or37ojXZEuldKQlSP0gIEy46QjoDIs2/iIKNMf0F+ED2ZU+5hUolsvu ZVKZvXV1xkdVcNRyEEFVVplUrhGy4YDvXlZwesv+tLw5G/you8F8BclPhIKf+eakR7sS Mf5A== X-Gm-Message-State: AOAM532TJnNE8f+5VJJ7//y5/sK3/MTn+g72Trt5qjQjrqDFhRWFrnol eBLKOcyiRrd8NJPpp+Gy0g4mUQ== X-Received: by 2002:a17:90b:713:: with SMTP id s19mr12238075pjz.144.1621435077893; Wed, 19 May 2021 07:37:57 -0700 (PDT) Received: from localhost.localdomain.name ([122.177.135.250]) by smtp.gmail.com with ESMTPSA id o24sm9239515pgl.55.2021.05.19.07.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 07:37:57 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, Thara Gopinath , Bjorn Andersson , Rob Herring , Andy Gross , Herbert Xu , "David S . Miller" , Stephen Boyd , Michael Turquette , Vinod Koul , dmaengine@vger.kernel.org, linux-clk@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com Subject: [PATCH v3 05/17] dt-bindings: qcom-qce: Add 'interconnects' and move 'clocks' to optional properties Date: Wed, 19 May 2021 20:06:48 +0530 Message-Id: <20210519143700.27392-6-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210519143700.27392-1-bhupesh.sharma@linaro.org> References: <20210519143700.27392-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Add 'interconnects' and 'interconnect-names' to the device-tree binding documentation for qcom crypto IP. These properties describe the interconnect path between crypto and main memory and the interconnect type respectively. While at it also move 'clocks' to the optional properties sections, as crypto IPs on SoCs like sm8150, sm8250, sm8350 (and so on), don't require linux to setup the clocks (this is already done by the secure firmware running before linux). Cc: Thara Gopinath Cc: Bjorn Andersson Cc: Rob Herring Cc: Andy Gross Cc: Herbert Xu Cc: David S. Miller Cc: Stephen Boyd Cc: Michael Turquette Cc: Vinod Koul Cc: dmaengine@vger.kernel.org Cc: linux-clk@vger.kernel.org Cc: linux-crypto@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: bhupesh.linux@gmail.com Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) -- 2.31.1 diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index a691cd08f372..f8d3ea8b0d08 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -34,6 +34,14 @@ properties: - const: bus - const: core + interconnects: + maxItems: 1 + description: | + Interconnect path between qce crypto and main memory. + + interconnect-names: + const: memory + dmas: items: - description: DMA specifiers for tx dma channel. @@ -47,8 +55,6 @@ properties: required: - compatible - reg - - clocks - - clock-names - dmas - dma-names