Commit 1d217fa2 authored by Bhupesh Sharma's avatar Bhupesh Sharma Committed by Herbert Xu

dt-bindings: qcom-qce: Add compatibles for SM6115 and QCM2290

The core clock for the Crypto Engine block on Qualcomm SoCs SM6115 and
QCM2290 are provided via the RPM block.

So mark the compatibles for these SoCs to indicate that only 'core'
clock is required for such SoCs.
Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: default avatarAnders Roxell <anders.roxell@linaro.org>
Tested-by: default avatarLinux Kernel Functional Testing <lkft@linaro.org>
Signed-off-by: default avatarBhupesh Sharma <bhupesh.sharma@linaro.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent b3b266fa
...@@ -35,7 +35,9 @@ properties: ...@@ -35,7 +35,9 @@ properties:
- qcom,ipq6018-qce - qcom,ipq6018-qce
- qcom,ipq8074-qce - qcom,ipq8074-qce
- qcom,msm8996-qce - qcom,msm8996-qce
- qcom,qcm2290-qce
- qcom,sdm845-qce - qcom,sdm845-qce
- qcom,sm6115-qce
- const: qcom,ipq4019-qce - const: qcom,ipq4019-qce
- const: qcom,qce - const: qcom,qce
...@@ -52,16 +54,12 @@ properties: ...@@ -52,16 +54,12 @@ properties:
maxItems: 1 maxItems: 1
clocks: clocks:
items: minItems: 1
- description: iface clocks register interface. maxItems: 3
- description: bus clocks data transfer interface.
- description: core clocks rest of the crypto block.
clock-names: clock-names:
items: minItems: 1
- const: iface maxItems: 3
- const: bus
- const: core
iommus: iommus:
minItems: 1 minItems: 1
...@@ -95,9 +93,37 @@ allOf: ...@@ -95,9 +93,37 @@ allOf:
enum: enum:
- qcom,crypto-v5.1 - qcom,crypto-v5.1
- qcom,crypto-v5.4 - qcom,crypto-v5.4
- qcom,ipq4019-qce - qcom,ipq6018-qce
- qcom,ipq8074-qce
- qcom,msm8996-qce
- qcom,sdm845-qce
then:
properties:
clocks:
maxItems: 3
clock-names:
items:
- const: iface
- const: bus
- const: core
required:
- clocks
- clock-names
- if:
properties:
compatible:
contains:
enum:
- qcom,qcm2290-qce
- qcom,sm6115-qce
then: then:
properties:
clocks:
maxItems: 1
clock-names:
items:
- const: core
required: required:
- clocks - clocks
- clock-names - clock-names
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment