From patchwork Wed May 19 14:36:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 442446 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1385829jac; Wed, 19 May 2021 07:38:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwveXIgQtgRVIS6GqupDCx2wCTu2cfNVE7ZDfl1pmeEJUPa63QP61ywnWpg+ucWLCu+3YhN X-Received: by 2002:a5d:84d5:: with SMTP id z21mr9818709ior.183.1621435093978; Wed, 19 May 2021 07:38:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621435093; cv=none; d=google.com; s=arc-20160816; b=IOz+IFNQiQwaxKNVoz6BpRYEcMmdBZf5gr8pYEGea0Sd5gIqcdD36NPnhi7AEUjmHo ecJQ9XK75RTZwE5wlFyDlz8GeYIdjVQKUJWfh7+VB57BInqCVYUdRnFQULa4zk9DtJ56 2XX/VBadufp26bqI3Hb7AAC0uJ4a16fowAXHzbMH8fLqbYLotelmd07dRXmC2knZjie1 o/Xo8JhF59dZvTwDQg234E/W1sIiMhNPTqRy7rxX77J1va6ETC/Vxsm1Xsees1y1odIh j6LQgL40kTpufBDfqEEA78E4EuIqC2ugpAZzzH0eCbktXiGVBD04rKLY7dTijo9iPRnJ Fedg== 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=R9Krb+n145fDfyPy6Q+6FikWTCuZ2x/Un3CW1NBeexc=; b=nAePHkbBHX19evckXS04/LSmRHia19rNTq0OplIIv5i8bO52fX1YeGmRhh+lJBCnfI WZ1amkeEOzhPZdhZEWUCXPTWNBG2X7r8X9XNVf2rrqiEU7CrsZFqJD3HqfEDlDE9Xzg3 hN7oXVvAHxG8+hR3femK/XV7/9AWsR9amd2piSN0rOukcVGuaIgjSr6h8wFJ4chyXHPo cfOUXgZM+wXtfV+IsnPkkuZ2Un3dj6ZqGnDhJLbhva1eiQVvFAfsalhpFg7fXIW1mIfl nSObloyTlfBgbwO20PGHVCv4/VhTK6Uan2gOb0MWmls3f3JOKoSOUlAQ2NA30Qh4r9BP Ev9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZHUwdEfG; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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.13; Wed, 19 May 2021 07:38:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-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=ZHUwdEfG; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S242768AbhESOjb (ORCPT + 17 others); Wed, 19 May 2021 10:39:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242905AbhESOj0 (ORCPT ); Wed, 19 May 2021 10:39:26 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92B82C0613ED for ; Wed, 19 May 2021 07:38:05 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id e15so517548plh.1 for ; Wed, 19 May 2021 07:38:05 -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=R9Krb+n145fDfyPy6Q+6FikWTCuZ2x/Un3CW1NBeexc=; b=ZHUwdEfGjfzjF+1Xzy03WJG6lceLujT8ZApwtXutEA+cikysCCmrDPAXbDR6owzLvB TprktMT8fF7xDML9mbIYolmJBoiyzxgnLBWkDLzQk99IxBeCFBzw4mGdQ3dkdhdZ7dIc dnAfaukxJ+hZW0/F1m1rYrqI0ITrWXWcaaqAywwmok80BF4KYIBJ0d74MrVHdeNm6oY5 eEh1x5KH/MuRK8MBEBbXHeX7h8Sm0cW2mJgV77v12S9lFs6bHNP7dEEBEoz9cPFY7DUb a7DmY1jaFJKTTpLy4543cdiDupl5HZ9XMYMf2Ukn5g0cAwVXlVHDS76sAdhcv2AMPhMa yzPQ== 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=R9Krb+n145fDfyPy6Q+6FikWTCuZ2x/Un3CW1NBeexc=; b=QkzHoHNLk1+OruWRJEM7uCu2NC4Ws7wJm1UV+QJZPXPSOfqF9LqwiAgyczJ7NwWp+B h0KTABJO/XOUFGmc1qn1qxfU8HKHKHZ4xSgcDv9rf4qQS3LOMr4u2WmKPQa7tzLnO18Y RwZAIPvAXuAVnn09WJpBoJHOyndWY/lzukJYilN+HD+XPYAS53YvMbZJSvt9F5WIs6Uv uhgd4Ys7NvSEABIOVGWm5uIIa/z8etMHSBTqBVnUUBIFj03zQawBN+1m5AUXEUbwKlQr IBwiIIcvQ4QiAChjm+lEO32rGwVodxYQHnxkfmQP3w7zr35ksGaZ2jElrezbuz0NjKNM fLZg== X-Gm-Message-State: AOAM532zXflGQKAwdkhT2dTs21ruJMyY7REzfMwYV6PVgxIne52rmGSE 07eN2q2v+VV+uwPJnP4cXF1bZ8FabSuEwA== X-Received: by 2002:a17:90a:a087:: with SMTP id r7mr11679403pjp.84.1621435084870; Wed, 19 May 2021 07:38:04 -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.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 07:38:04 -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 06/17] dt-bindings: qcom-qce: Add 'iommus' to required properties Date: Wed, 19 May 2021 20:06:49 +0530 Message-Id: <20210519143700.27392-7-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-arm-msm@vger.kernel.org Add the missing required property - 'iommus' to the device-tree binding documentation for qcom-qce crypto IP. This property describes the phandle(s) to apps_smmu node with sid mask. 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 --- .../devicetree/bindings/crypto/qcom-qce.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) -- 2.31.1 diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index f8d3ea8b0d08..4be9ce697123 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -34,6 +34,12 @@ properties: - const: bus - const: core + iommus: + minItems: 1 + maxItems: 8 + description: | + phandle to apps_smmu node with sid mask. + interconnects: maxItems: 1 description: | @@ -57,6 +63,7 @@ required: - reg - dmas - dma-names + - iommus additionalProperties: false @@ -72,4 +79,9 @@ examples: clock-names = "iface", "bus", "core"; dmas = <&cryptobam 2>, <&cryptobam 3>; dma-names = "rx", "tx"; + iommus = <&apps_smmu 0x584 0x0011>, + <&apps_smmu 0x586 0x0011>, + <&apps_smmu 0x594 0x0011>, + <&apps_smmu 0x596 0x0011>; + };