dt-bindings: PCI: dwc: rockchip: Fix interrupt-names issue
authorSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 31 Jul 2023 16:57:20 +0000 (18:57 +0200)
committerRob Herring <robh@kernel.org>
Wed, 16 Aug 2023 16:09:19 +0000 (10:09 -0600)
commitebce9f6623a7856c422093430f919d1c7374c608
tree26f60883daf2951eb856b2f17b157c6e5b776e08
parent84a7d0e5a293b0d4f51e14c09896734a52e03543
dt-bindings: PCI: dwc: rockchip: Fix interrupt-names issue

The RK356x (and RK3588) have 5 ganged interrupts. For example the
"legacy" interrupt combines "inta/intb/intc/intd" with a register
providing the details, which specific interrupt triggered. The
interrupts from the second level are part of the Synopsys DW PCIe
System Information Interface (SII). Some of them are listed in the
Interrupt Signals section, the others are mostly common SII output
signals. The grouping and the ganged interrupt controllers are
specific to the Rockchip implementation.

Currently the binding is not specifying these interrupts resulting
in a bunch of errors for all rk356x/rk3588 boards using PCIe.

Fix this by specifying the interrupts and add them to the example
to prevent regressions.

This changes the reference from snps,dw-pcie.yaml to
snps,dw-pcie-common.yaml, since the interrupts are vendor
specific and should not be listed in the generic file. The
only other bit from the generic binding are the reg-names,
which are overwritten by this binding.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20230731165723.53069-3-sebastian.reichel@collabora.com
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml