Commit c47b3b39 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220517070113.18023-7-krzysztof.kozlowski@linaro.org
parent 13b1adc1
...@@ -575,11 +575,12 @@ allOf: ...@@ -575,11 +575,12 @@ allOf:
examples: examples:
- | - |
#include <dt-bindings/clock/qcom,rpmcc.h> #include <dt-bindings/clock/qcom,rpmcc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
adsp { adsp {
compatible = "qcom,msm8974-adsp-pil"; 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 0 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>, <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
<&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>, <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
...@@ -601,7 +602,7 @@ examples: ...@@ -601,7 +602,7 @@ examples:
qcom,smem-state-names = "stop"; qcom,smem-state-names = "stop";
smd-edge { smd-edge {
interrupts = <0 156 IRQ_TYPE_EDGE_RISING>; interrupts = <GIC_SPI 156 IRQ_TYPE_EDGE_RISING>;
qcom,ipc = <&apcs 8 8>; qcom,ipc = <&apcs 8 8>;
qcom,smd-edge = <1>; qcom,smd-edge = <1>;
......
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