]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sm8550: Add 'global' interrupt to the PCIe RC nodes
authorNeil Armstrong <neil.armstrong@linaro.org>
Tue, 26 Nov 2024 10:22:50 +0000 (11:22 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 8 Jan 2025 22:44:05 +0000 (16:44 -0600)
Qcom PCIe RC controllers are capable of generating 'global' SPI interrupt
to the host CPUs. This interrupt can be used by the device driver to
identify events such as PCIe link specific events, safety events, etc...

Hence, add it to the PCIe RC node along with the existing MSI interrupts.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20241126-topic-sm8x50-pcie-global-irq-v1-2-4049cfccd073@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8550.dtsi

index a54ea363eaeed1c26a63dce08c07a5c26119d731..eac8de4005d82f246bc50f64f09515631d895c99 100644 (file)
                                     <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
-                                    <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
+                                    <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
                        interrupt-names = "msi0",
                                          "msi1",
                                          "msi2",
                                          "msi4",
                                          "msi5",
                                          "msi6",
-                                         "msi7";
+                                         "msi7",
+                                         "global";
                        #interrupt-cells = <1>;
                        interrupt-map-mask = <0 0 0 0x7>;
                        interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
                                     <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
                                     <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>,
-                                    <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
+                                    <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>,
+                                    <GIC_SPI 306 IRQ_TYPE_LEVEL_HIGH>;
                        interrupt-names = "msi0",
                                          "msi1",
                                          "msi2",
                                          "msi4",
                                          "msi5",
                                          "msi6",
-                                         "msi7";
+                                         "msi7",
+                                         "global";
                        #interrupt-cells = <1>;
                        interrupt-map-mask = <0 0 0 0x7>;
                        interrupt-map = <0 0 0 1 &intc 0 0 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */