mirror of
https://github.com/torvalds/linux.git
synced 2026-09-26 01:52:03 +02:00
dt-bindings: crypto: qcom,inline-crypto-engine: Fix legacy/new SoC strictness split
Couple of already merged SoCs(like sc7280, sm8750, kaanapali etc.) describe ICE as single clock historically which are recently updated with mandatory 2 clocks. Keep only the known legacy compatibles flexible, and make strict validation default(of power-domains and 2 clocks) for all other Soc compatibles. This ensures old DTs are valid while ensuring any new SoC (like hawi, milos, eliza, nord, maili or any upcoming ones) must follow latest requirements by default. Signed-off-by: Kuldeep Singh <kuldeep.singh@oss.qualcomm.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
fce20289dd
commit
3360fa7604
|
|
@ -57,17 +57,25 @@ required:
|
|||
|
||||
additionalProperties: false
|
||||
|
||||
# Do not extend the list.
|
||||
# Legacy SoCs are allowed for single clock.
|
||||
# New SoCs must provide both clocks and power domains.
|
||||
allOf:
|
||||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
enum:
|
||||
- qcom,eliza-inline-crypto-engine
|
||||
- qcom,hawi-inline-crypto-engine
|
||||
- qcom,maili-inline-crypto-engine
|
||||
- qcom,milos-inline-crypto-engine
|
||||
- qcom,nord-inline-crypto-engine
|
||||
not:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
enum:
|
||||
- qcom,kaanapali-inline-crypto-engine
|
||||
- qcom,qcs8300-inline-crypto-engine
|
||||
- qcom,sa8775p-inline-crypto-engine
|
||||
- qcom,sc7180-inline-crypto-engine
|
||||
- qcom,sc7280-inline-crypto-engine
|
||||
- qcom,sm8450-inline-crypto-engine
|
||||
- qcom,sm8550-inline-crypto-engine
|
||||
- qcom,sm8650-inline-crypto-engine
|
||||
- qcom,sm8750-inline-crypto-engine
|
||||
|
||||
then:
|
||||
required:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user