Skip to content

Commit 10e796e

Browse files
superna9999bjorn-helgaas
authored andcommitted
dt-bindings: PCI: qcom,pcie-sm8550: Document '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 handle PCIe link specific events such as Link up and Link down, which give the driver a chance to start bus enumeration on its own when link is up and initiate link training if link goes to a bad state. The PCIe driver can still work without this interrupt but it will provide a nice user experience when device gets plugged and removed. Document the interrupt as optional for SM8550 and SM8650 platforms. Link: https://lore.kernel.org/r/20241126-topic-sm8x50-pcie-global-irq-v1-1-4049cfccd073@linaro.org Signed-off-by: Neil Armstrong <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]>
1 parent b02cfbd commit 10e796e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ properties:
5757

5858
interrupts:
5959
minItems: 8
60-
maxItems: 8
60+
maxItems: 9
6161

6262
interrupt-names:
63+
minItems: 8
6364
items:
6465
- const: msi0
6566
- const: msi1
@@ -69,6 +70,7 @@ properties:
6970
- const: msi5
7071
- const: msi6
7172
- const: msi7
73+
- const: global
7274

7375
resets:
7476
minItems: 1
@@ -139,9 +141,10 @@ examples:
139141
<GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
140142
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
141143
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>,
142-
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
144+
<GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>,
145+
<GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
143146
interrupt-names = "msi0", "msi1", "msi2", "msi3",
144-
"msi4", "msi5", "msi6", "msi7";
147+
"msi4", "msi5", "msi6", "msi7", "global";
145148
#interrupt-cells = <1>;
146149
interrupt-map-mask = <0 0 0 0x7>;
147150
interrupt-map = <0 0 0 1 &intc 0 0 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */

0 commit comments

Comments
 (0)