From patchwork Mon Sep 19 19:56:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 12981002 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62E14ECAAA1 for ; Mon, 19 Sep 2022 19:56:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229799AbiIST4x (ORCPT ); Mon, 19 Sep 2022 15:56:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229797AbiIST4p (ORCPT ); Mon, 19 Sep 2022 15:56:45 -0400 Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 413EA491DB for ; Mon, 19 Sep 2022 12:56:42 -0700 (PDT) Received: by mail-pj1-x1035.google.com with SMTP id a5-20020a17090aa50500b002008eeb040eso7113843pjq.1 for ; Mon, 19 Sep 2022 12:56:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=Egtl6lY/QkJHhCEBQPmUzTRwC9E0e4ABQZQp/efkHtc=; b=ARcAoURgdu9qMN2cmYmbqczA5RxFLWFryklOmo1Z8wty2Oj5AK/rUSlBPQd2LfwB7t e3ZtMCwOQ+dVCGIBVfxbHprPLBJyF2R3wWoGaDhiL9NTxvonkg7k6jsiZE5vVOSYCYuE PV0DOHikUEAwG8OM4V4RQPL/0pz8w1KeFaq8DNl+DnOxxQRmpCSJpabD193S92+fhaYp FqRJ33Jplakbq741PMl1ndElrAkMaQeJnUVzOTWuBBAfKR9jg0SJDwmbz0zNi5VA4DDk EFA2+vpaNwg9ImEltLqu8apAM4FRV42fOIUOyhb9Cdxbzj5Ow3H7UEWU/TWkntpuI4xi 6nqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=Egtl6lY/QkJHhCEBQPmUzTRwC9E0e4ABQZQp/efkHtc=; b=yguN+b/VixuYIqc2o7tp8Rwf8bCPCvQhbHMNQEQNKsoFca0GtYDr4AEbyAZwrBYz1S x9LQmVCvCw1txcstCMpv4cCJD4pALQaW62ZH2Z8tum5PSQ2pWO+FJy9WxZtuVOtLZi5v pxwshyFDiiMRJs4ZGQgCoCkFv+z2izPq2XqkX+bjlDtSLMoe/w6x595ojAlO+rhCtUPo /RJrhQjH4bkmwVL1hLIrOEJSeVTChV0tl8s8fupdEcNUxdkZtscJLxo3ery6JiPnGq+t 9q1ZWXdWDBVrdJy3dsVtWtwxPhnyoE6TlBKZVJTLppxXnZhI+mnGeQ19hCPlnttOIEsi Btyg== X-Gm-Message-State: ACrzQf2iQp0D4H8u88I9sH/sZBUupbMwBsmpwNe2A5SLBwIcpW/2ybg6 e+UisFO8I16EQaElb7zY192Eyg== X-Google-Smtp-Source: AMsMyM4BNxCkG2n9x/nNxJ+xHr81VW2eE/x8GKvo8nilIFVvnGb5Dq3/340llsJAPcN9xzCpBjFfug== X-Received: by 2002:a17:90b:35cf:b0:202:6f3d:53a7 with SMTP id nb15-20020a17090b35cf00b002026f3d53a7mr22218503pjb.63.1663617400976; Mon, 19 Sep 2022 12:56:40 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c61:6535:ca5f:67d1:670d:e188]) by smtp.gmail.com with ESMTPSA id a14-20020a17090a688e00b002032bda9a5dsm7071454pjd.41.2022.09.19.12.56.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Sep 2022 12:56:40 -0700 (PDT) From: Bhupesh Sharma To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, thara.gopinath@gmail.com, robh@kernel.org, krzysztof.kozlowski@linaro.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, Jordan Crouse Subject: [PATCH v6 3/4] dt-bindings: qcom-qce: Add 'iommus' to optional properties Date: Tue, 20 Sep 2022 01:26:17 +0530 Message-Id: <20220919195618.926227-4-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220919195618.926227-1-bhupesh.sharma@linaro.org> References: <20220919195618.926227-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 optional property - 'iommus' to the device-tree binding documentation for qcom-qce crypto IP. This property describes the iommu streams for crypto pipes. Cc: Bjorn Andersson Reviewed-by: Rob Herring Tested-by: Jordan Crouse Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index 94f96ebc5dac..4e00e7925fed 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -32,6 +32,12 @@ properties: - const: bus - const: core + iommus: + minItems: 1 + maxItems: 8 + description: + phandle to apps_smmu node with sid mask. + interconnects: maxItems: 1 description: @@ -72,4 +78,8 @@ 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>; };