Skip to content

Commit da7811b

Browse files
wctrlandersson
authored andcommitted
ARM: dts: qcom: msm8960: use macros for interrupts
Replace the raw values with macros. No changes to the output Tested-by: Rudraksha Gupta <[email protected]> Signed-off-by: Max Shevchenko <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 25dcfe4 commit da7811b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arch/arm/boot/dts/qcom/qcom-msm8960.dtsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
cpus {
1919
#address-cells = <1>;
2020
#size-cells = <0>;
21-
interrupts = <GIC_PPI 14 0x304>;
21+
interrupts = <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
2222

2323
cpu@0 {
2424
compatible = "qcom,krait";
@@ -96,7 +96,7 @@
9696

9797
cpu-pmu {
9898
compatible = "qcom,krait-pmu";
99-
interrupts = <GIC_PPI 10 0x304>;
99+
interrupts = <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
100100
qcom,no-pc-write;
101101
};
102102

@@ -149,9 +149,9 @@
149149
timer@200a000 {
150150
compatible = "qcom,kpss-wdt-msm8960", "qcom,kpss-timer",
151151
"qcom,msm-timer";
152-
interrupts = <GIC_PPI 1 0x301>,
153-
<GIC_PPI 2 0x301>,
154-
<GIC_PPI 3 0x301>;
152+
interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
153+
<GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>,
154+
<GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_EDGE_RISING)>;
155155
reg = <0x0200a000 0x100>;
156156
clock-frequency = <27000000>;
157157
clocks = <&sleep_clk>;

0 commit comments

Comments
 (0)