Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: PCI: qcom: Support additional MSI vectors

On Qualcomm platforms each group of 32 MSI vectors is routed to the
separate GIC interrupt. Document mapping of additional interrupts.

Link: https://lore.kernel.org/r/20220707134733.2436629-6-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Acked-by: Stanimir Varbanov <svarbanov@mm-sol.com>

authored by

Dmitry Baryshkov and committed by
Bjorn Helgaas
91a773f9 cd761378

+48 -3
+48 -3
Documentation/devicetree/bindings/pci/qcom,pcie.yaml
··· 43 43 maxItems: 5 44 44 45 45 interrupts: 46 - maxItems: 1 46 + minItems: 1 47 + maxItems: 8 47 48 48 49 interrupt-names: 49 - items: 50 - - const: msi 50 + minItems: 1 51 + maxItems: 8 51 52 52 53 # Common definitions for clocks, clock-names and reset. 53 54 # Platform constraints are described later. ··· 623 622 required: 624 623 - resets 625 624 - reset-names 625 + 626 + # Newer chipsets support either 1 or 8 MSI vectors 627 + # On older chipsets it's always 1 MSI vector 628 + - if: 629 + properties: 630 + compatible: 631 + contains: 632 + enum: 633 + - qcom,pcie-msm8996 634 + - qcom,pcie-sc7280 635 + - qcom,pcie-sc8180x 636 + - qcom,pcie-sdm845 637 + - qcom,pcie-sm8150 638 + - qcom,pcie-sm8250 639 + - qcom,pcie-sm8450-pcie0 640 + - qcom,pcie-sm8450-pcie1 641 + then: 642 + oneOf: 643 + - properties: 644 + interrupts: 645 + maxItems: 1 646 + interrupt-names: 647 + items: 648 + - const: msi 649 + - properties: 650 + interrupts: 651 + minItems: 8 652 + interrupt-names: 653 + items: 654 + - const: msi0 655 + - const: msi1 656 + - const: msi2 657 + - const: msi3 658 + - const: msi4 659 + - const: msi5 660 + - const: msi6 661 + - const: msi7 662 + else: 663 + properties: 664 + interrupts: 665 + maxItems: 1 666 + interrupt-names: 667 + items: 668 + - const: msi 626 669 627 670 unevaluatedProperties: false 628 671