lkml.org 
[lkml]   [2021]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v3 06/17] dt-bindings: qcom-qce: Add 'iommus' to required properties
    Date
    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 <thara.gopinath@linaro.org>
    Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Andy Gross <agross@kernel.org>
    Cc: Herbert Xu <herbert@gondor.apana.org.au>
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Stephen Boyd <sboyd@kernel.org>
    Cc: Michael Turquette <mturquette@baylibre.com>
    Cc: Vinod Koul <vkoul@kernel.org>
    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 <bhupesh.sharma@linaro.org>
    ---
    .../devicetree/bindings/crypto/qcom-qce.yaml | 12 ++++++++++++
    1 file changed, 12 insertions(+)

    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>;
    +
    };
    --
    2.31.1
    \
     
     \ /
      Last update: 2021-05-19 16:39    [W:4.023 / U:0.088 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site