Skip to content

Commit 6efd853

Browse files
Mani-Sadhasivamkwilczynski
authored andcommitted
dt-bindings: PCI: qcom,pcie-sm8450: Add 'global' interrupt
Qcom PCIe RC controllers are capable of generating 'global' SPI interrupt to the host CPU. This interrupt can be used by the device driver to identify events such as PCIe link specific events, safety events, etc... Hence, document it in the binding along with the existing MSI interrupts. Though adding a new interrupt will break the ABI, it is required to accurately describe the hardware. Link: https://lore.kernel.org/linux-pci/[email protected] Signed-off-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]>
1 parent bba1251 commit 6efd853

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Documentation/devicetree/bindings/pci/qcom,pcie-common.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ properties:
2121

2222
interrupts:
2323
minItems: 1
24-
maxItems: 8
24+
maxItems: 9
2525

2626
interrupt-names:
2727
minItems: 1
28-
maxItems: 8
28+
maxItems: 9
2929

3030
iommu-map:
3131
minItems: 1

Documentation/devicetree/bindings/pci/qcom,pcie-sm8450.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ properties:
5555
- const: aggre1 # Aggre NoC PCIe1 AXI clock
5656

5757
interrupts:
58-
minItems: 8
59-
maxItems: 8
58+
minItems: 9
59+
maxItems: 9
6060

6161
interrupt-names:
6262
items:
@@ -68,6 +68,7 @@ properties:
6868
- const: msi5
6969
- const: msi6
7070
- const: msi7
71+
- const: global
7172

7273
operating-points-v2: true
7374
opp-table:
@@ -149,9 +150,10 @@ examples:
149150
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
150151
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
151152
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
152-
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
153+
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
154+
<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
153155
interrupt-names = "msi0", "msi1", "msi2", "msi3",
154-
"msi4", "msi5", "msi6", "msi7";
156+
"msi4", "msi5", "msi6", "msi7", "global";
155157
#interrupt-cells = <1>;
156158
interrupt-map-mask = <0 0 0 0x7>;
157159
interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */

0 commit comments

Comments
 (0)