From patchwork Wed May 19 14:36:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 442443 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1385740jac; Wed, 19 May 2021 07:38:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMr362+wCvXC+5pCVs8nwUmyOa/SjCr8eDKHqx0rdC3mMSWzU2vLxepkAPJipy7lyPeB2P X-Received: by 2002:a05:6e02:190f:: with SMTP id w15mr11032958ilu.13.1621435086926; Wed, 19 May 2021 07:38:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621435086; cv=none; d=google.com; s=arc-20160816; b=cuAJAAfrN+0+5eREjjXjD/PVix6Dumnfiqe59HoHmuNSYIJYe2Ur7rJpgqT4/RS/fk 1V7gCr16LVo4+FAOwcTPARj1l5+H+91OAqbWp8dqGkNJkaM/ccYYZUsaVrnGfgCeEgG+ OoETq0wEbRuyiKHraFQUdd2TiDxrEx6jSVQnsDcsMG0TLBwsnjhUlMpjq8P0d/loblbB rs+RrwyRYuHb09sI8Q3F95zgi/LWwcHE2orWt8opdOfEwBDDNROBuPRHhMIhVqmn68Fz J/ir9NFbuEYvslP0rYgJyMomuO60NTM+6qWr+ge78BfqmVJYPLFEPCuVD53m8lqW9FD8 8uKQ== 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=tfYY0SynHLUvKImA0WJS6vFoZYpwQQ4sgm9paKqwl54=; b=sNx36JjVaYMsWjTHNY0LwYcc19+58677HTlIHJHyFJwl2u4npVyKpNYHr/bbQE4jH0 7PJGQLc+2C1cpkn7aazhkbpVPfHuqrTj2Wu165mTFi0cNTnD38TceKNsFEXvBn/5nm+z dieG/Qzoa1JhKMhleVoyzTLpH7srHdOBIEhnTb6kQsE8Qix6sciE9K0ATR4xX5sRjUgb el3qiLroMBApoPmKOh0YVO/rB+rhjmZMxEY9L1Vey9dkZOCwAe5RfZP4y6QMiiC/EkHm Oqueoxwp4Ts8wbtMGT16N76yyS+TW177Ftn/qpRms5yOerW9r9+S8fsxe1HIVkwbnohz fe5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="LMDyQ/zu"; 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.06; Wed, 19 May 2021 07:38:06 -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="LMDyQ/zu"; 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 S1354213AbhESOjJ (ORCPT + 3 others); Wed, 19 May 2021 10:39:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354247AbhESOjF (ORCPT ); Wed, 19 May 2021 10:39:05 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E552BC06138A for ; Wed, 19 May 2021 07:37:44 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id pi6-20020a17090b1e46b029015cec51d7cdso3519101pjb.5 for ; Wed, 19 May 2021 07:37:44 -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=tfYY0SynHLUvKImA0WJS6vFoZYpwQQ4sgm9paKqwl54=; b=LMDyQ/zuyHaHFHZdUKNQlFAxMEqlWRr2VaQPfUkGnDJDmV1+yF8C00rnS4gCFd5v3o wmKj8D69QYlT2IY21LKAQ0umZwSOx99YlOm4ZSXhnsW99gHN8TXUbgLX0Eb8fK0zkumk FdBnnYmInjarV5Kb4JQQZNhGs7UyCgGhYZP2EaVOV5jar1VxohlN80/G1vglN9Fd8ggq Ob3cnQ5JAkQIJOWIEfUR8y8ZCpf5ftFAVaI1C3nk1Hiet1VVrGz47+vRcGsbpknC9fSF PVRMdV64UtNnZqwUmS3jKeDnvAOLOMsfnQ3rQ/EQkvoZS1dkgakaTpK7VDyUKEZGSSJC FClw== 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=tfYY0SynHLUvKImA0WJS6vFoZYpwQQ4sgm9paKqwl54=; b=qTsSVVRzpmOxmAWllR4+tzf4nBVNtnjyXYo4O0swIG957vcc3ZLHfzCeJboJH8Cy5h 6Vf8sducn530GNvZx4ZY08onZSPDk7gIrKqSuuUMfEayWfnL/cfX/bLqanquRMIrd0HR DYEXvwL7Y5BICWNi7cyxmrEq5v/zDHFBo/MQYA5lBeinLv8YY/sPwWuyv9yAKlvb1W1R 3kaRg8g8L0RHCnXSmfvsHIf2oFoBDh8zk/oHvtqNlxpCAZZBJ7r3ZG8On/MiXhj60WNb fhUJyQFSSP/cyEGPtVP/Kii7eK6wlw9fX+/TYwNKExzzeym7mE1i+UNjkGJHcqNrpyN6 oGbw== X-Gm-Message-State: AOAM531v0U6xveoJMl2A9PFClglAb0SvB3M9wTjPVfo46ZS5eH3wrYZF /UEI3EwACqhu1Pt/hge8uIRP/A== X-Received: by 2002:a17:90b:4ac2:: with SMTP id mh2mr11697000pjb.33.1621435064459; Wed, 19 May 2021 07:37:44 -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.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 07:37:44 -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 03/17] dt-bindings: qcom-bam: Add 'iommus' to required properties Date: Wed, 19 May 2021 20:06:46 +0530 Message-Id: <20210519143700.27392-4-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 the missing required property - 'iommus' to the device-tree binding documentation for qcom-bam DMA 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/dma/qcom_bam_dma.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.31.1 diff --git a/Documentation/devicetree/bindings/dma/qcom_bam_dma.yaml b/Documentation/devicetree/bindings/dma/qcom_bam_dma.yaml index d2900616006c..2479862a3654 100644 --- a/Documentation/devicetree/bindings/dma/qcom_bam_dma.yaml +++ b/Documentation/devicetree/bindings/dma/qcom_bam_dma.yaml @@ -55,6 +55,12 @@ properties: interconnect-names: const: memory + iommus: + minItems: 1 + maxItems: 8 + description: | + phandle to apps_smmu node with sid mask. + qcom,ee: $ref: /schemas/types.yaml#/definitions/uint8 description: @@ -81,6 +87,7 @@ required: - clocks - clock-names - "#dma-cells" + - iommus - qcom,ee additionalProperties: false @@ -96,4 +103,8 @@ examples: clock-names = "bam_clk"; #dma-cells = <1>; qcom,ee = /bits/ 8 <0>; + iommus = <&apps_smmu 0x584 0x0011>, + <&apps_smmu 0x586 0x0011>, + <&apps_smmu 0x594 0x0011>, + <&apps_smmu 0x596 0x0011>; };