diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-05-17 10:01:07 +0300 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2022-07-07 06:24:37 +0300 |
commit | c47b3b3959f2775bbc6fe74714cd41ba5d5bdce9 (patch) | |
tree | 5cb6f46c82442c30464cf94177ecd25ea7a00f5f /Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | |
parent | 13b1adc11dde480e2582407a41f4f8b0e5f301a6 (diff) | |
download | linux-c47b3b3959f2775bbc6fe74714cd41ba5d5bdce9.tar.xz |
dt-bindings: remoteproc: qcom,adsp: use GIC_SPI defines in example
Use GIC_SPI defines instead of raw value in the DTS example.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220517070113.18023-7-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml index e3a193299c4a..d04de60ae017 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,adsp.yaml @@ -575,11 +575,12 @@ allOf: examples: - | #include <dt-bindings/clock/qcom,rpmcc.h> + #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/irq.h> adsp { compatible = "qcom,msm8974-adsp-pil"; - interrupts-extended = <&intc 0 162 IRQ_TYPE_EDGE_RISING>, + interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>, <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>, <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, @@ -601,7 +602,7 @@ examples: qcom,smem-state-names = "stop"; smd-edge { - interrupts = <0 156 IRQ_TYPE_EDGE_RISING>; + interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>; qcom,ipc = <&apcs 8 8>; qcom,smd-edge = <1>; |