Commit b352033e authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

dt-bindings: remoteproc: qcom: sm6115-pas: Add QCM2290

QCM2290 is more or less a fork of the same design that SM6115 is based
on. As a result, the ADSP and modem found on it are identical.

Add compatibles for the QCM2290 with SM6115 fallbacks so as not to
require any driver changes. Change the allOf:if:properties clauses
to look for the presence of SM6115 compatibles and not an exact match.

Note that QCM2290 lacks a CDSP.
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230315183231.3562580-1-konrad.dybcio@linaro.orgSigned-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 5c43ed8a
...@@ -15,10 +15,19 @@ description: ...@@ -15,10 +15,19 @@ description:
properties: properties:
compatible: compatible:
enum: oneOf:
- qcom,sm6115-adsp-pas - enum:
- qcom,sm6115-cdsp-pas - qcom,sm6115-adsp-pas
- qcom,sm6115-mpss-pas - qcom,sm6115-cdsp-pas
- qcom,sm6115-mpss-pas
- items:
- const: qcom,qcm2290-adsp-pas
- const: qcom,sm6115-adsp-pas
- items:
- const: qcom,qcm2290-mpss-pas
- const: qcom,sm6115-mpss-pas
reg: reg:
maxItems: 1 maxItems: 1
...@@ -51,9 +60,10 @@ allOf: ...@@ -51,9 +60,10 @@ allOf:
- if: - if:
properties: properties:
compatible: compatible:
enum: contains:
- qcom,sm6115-adsp-pas enum:
- qcom,sm6115-cdsp-pas - qcom,sm6115-adsp-pas
- qcom,sm6115-cdsp-pas
then: then:
properties: properties:
interrupts: interrupts:
...@@ -70,9 +80,10 @@ allOf: ...@@ -70,9 +80,10 @@ allOf:
- if: - if:
properties: properties:
compatible: compatible:
enum: contains:
- qcom,sm6115-cdsp-pas enum:
- qcom,sm6115-mpss-pas - qcom,sm6115-cdsp-pas
- qcom,sm6115-mpss-pas
then: then:
properties: properties:
power-domains: power-domains:
...@@ -85,8 +96,9 @@ allOf: ...@@ -85,8 +96,9 @@ allOf:
- if: - if:
properties: properties:
compatible: compatible:
enum: contains:
- qcom,sm6115-adsp-pas enum:
- qcom,sm6115-adsp-pas
then: then:
properties: properties:
power-domains: power-domains:
......
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