diff options
author | Richard Acayan <mailingradian@gmail.com> | 2022-10-17 20:57:37 -0400 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-10-19 18:18:12 +0530 |
commit | 3c6bd6fa83bb6c7a891891a8a32aea2820aadb06 (patch) | |
tree | f7a3957d37bf1a6fef876b03785c5b189c39671e | |
parent | 9abf2313adc1ca1b6180c508c25f22f9395cc780 (diff) | |
download | linux-stable-3c6bd6fa83bb6c7a891891a8a32aea2820aadb06.tar.gz linux-stable-3c6bd6fa83bb6c7a891891a8a32aea2820aadb06.tar.bz2 linux-stable-3c6bd6fa83bb6c7a891891a8a32aea2820aadb06.zip |
dt-bindings: dma: qcom: gpi: add fallback compatible
The drivers are transitioning from matching against lists of specific
compatible strings to matching against smaller lists of more generic
compatible strings. Use the SDM845 compatible string as a fallback in
the schema to support this change.
Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221018005740.23952-2-mailingradian@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/dma/qcom,gpi.yaml | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml index eabf8a76d3a0..182b8573230d 100644 --- a/Documentation/devicetree/bindings/dma/qcom,gpi.yaml +++ b/Documentation/devicetree/bindings/dma/qcom,gpi.yaml @@ -18,14 +18,18 @@ allOf: properties: compatible: - enum: - - qcom,sc7280-gpi-dma - - qcom,sdm845-gpi-dma - - qcom,sm6350-gpi-dma - - qcom,sm8150-gpi-dma - - qcom,sm8250-gpi-dma - - qcom,sm8350-gpi-dma - - qcom,sm8450-gpi-dma + oneOf: + - enum: + - qcom,sc7280-gpi-dma + - qcom,sdm845-gpi-dma + - qcom,sm6350-gpi-dma + - qcom,sm8350-gpi-dma + - qcom,sm8450-gpi-dma + - items: + - enum: + - qcom,sm8150-gpi-dma + - qcom,sm8250-gpi-dma + - const: qcom,sdm845-gpi-dma reg: maxItems: 1 |