arm64: dts: qcom: sm8450: Add 'global' interrupt to the PCIe RC node
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 28 Aug 2024 15:46:22 +0000 (21:16 +0530)
committerBjorn Andersson <andersson@kernel.org>
Tue, 22 Oct 2024 23:59:36 +0000 (18:59 -0500)
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: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20240828-pci-qcom-hotplug-v4-12-263a385fbbcb@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8450.dtsi

index cb967dc79f3bda38e3aa6042a529aab2fb7efc5a..9f607764110776e927fcd00617851f6792b7b4ad 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 */