1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-26 18:43:33 -05:00

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: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230315183231.3562580-1-konrad.dybcio@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Konrad Dybcio 2023-03-15 19:32:31 +01:00 committed by Bjorn Andersson
parent 5c43ed8ad2
commit b352033e19

View file

@ -15,11 +15,20 @@ description:
properties: properties:
compatible: compatible:
enum: oneOf:
- enum:
- qcom,sm6115-adsp-pas - qcom,sm6115-adsp-pas
- qcom,sm6115-cdsp-pas - qcom,sm6115-cdsp-pas
- qcom,sm6115-mpss-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,6 +60,7 @@ allOf:
- if: - if:
properties: properties:
compatible: compatible:
contains:
enum: enum:
- qcom,sm6115-adsp-pas - qcom,sm6115-adsp-pas
- qcom,sm6115-cdsp-pas - qcom,sm6115-cdsp-pas
@ -70,6 +80,7 @@ allOf:
- if: - if:
properties: properties:
compatible: compatible:
contains:
enum: enum:
- qcom,sm6115-cdsp-pas - qcom,sm6115-cdsp-pas
- qcom,sm6115-mpss-pas - qcom,sm6115-mpss-pas
@ -85,6 +96,7 @@ allOf:
- if: - if:
properties: properties:
compatible: compatible:
contains:
enum: enum:
- qcom,sm6115-adsp-pas - qcom,sm6115-adsp-pas
then: then: