Skip to content

Commit

Permalink
dt-bindings: qcom-qce: document optional clocks and clock-names prope…
Browse files Browse the repository at this point in the history
…rties

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 <neil.armstrong@linaro.org>
Signed-off-by: Vladimir Zapolskiy <vladimir.zapolskiy@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Vladimir Zapolskiy authored and Herbert Xu committed Mar 14, 2023
1 parent 00f3bc2 commit faf8cce
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions Documentation/devicetree/bindings/crypto/qcom-qce.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit faf8cce

Please sign in to comment.