diff options
| author | Vladimir Zapolskiy <[email protected]> | 2023-02-22 19:22:36 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2023-03-14 17:06:43 +0800 |
| commit | faf8cced333be38d30dcc69ecf33475a10dd8e21 (patch) | |
| tree | 37ea24b30ab979a7714e53da6aef3f376aa61877 | |
| parent | 00f3bc2db351911700b3e951227e124a03b8a0bf (diff) | |
dt-bindings: qcom-qce: document optional clocks and clock-names properties
On newer Qualcomm SoCs the crypto engine clocks are enabled by default
by security firmware. To drop clocks and clock-names from the list of
required properties use 'qcom,sm8150-qce' compatible name.
The change is based on Neil Armstrong's observation and an original change.
Cc: Neil Armstrong <[email protected]>
Signed-off-by: Vladimir Zapolskiy <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
| -rw-r--r-- | Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index 84f57f44bb71..e375bd981300 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -81,11 +81,24 @@ properties: - const: rx - const: tx +allOf: + - if: + properties: + compatible: + contains: + enum: + - qcom,crypto-v5.1 + - qcom,crypto-v5.4 + - qcom,ipq4019-qce + + then: + required: + - clocks + - clock-names + required: - compatible - reg - - clocks - - clock-names - dmas - dma-names |