[PATCH] arm64: dts: rockchip: rk3588: add msi-parent for pcie3x4_ep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add msi-parent for the pcie3x4_ep PCI endpoint node.

The pcie3x4_ep node should use the same msi-parent as the pcie3x4 node
(which represents the PCIe controller running in Root Complex mode).

The GIC ITS can be used to trigger an IRQ on the endpoint when any of
the endpoint's PCI BARs are written to by the host[1].

[1] https://lore.kernel.org/linux-pci/20241116-ep-msi-v8-0-6f1f68ffd1bb@xxxxxxx/

Signed-off-by: Niklas Cassel <cassel@xxxxxxxxxx>
---
Hello Heiko, this patch depends on:
https://lore.kernel.org/linux-rockchip/20241107123732.1160063-2-cassel@xxxxxxxxxx/

 arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi
index 4a950907ea6f..ead151941e84 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi
@@ -213,6 +213,7 @@ pcie3x4_ep: pcie-ep@fe150000 {
 		interrupt-names = "sys", "pmc", "msg", "legacy", "err",
 				  "dma0", "dma1", "dma2", "dma3";
 		max-link-speed = <3>;
+		msi-parent = <&its1 0x0000>;
 		iommus = <&mmu600_pcie 0x0000>;
 		num-lanes = <4>;
 		phys = <&pcie30phy>;
-- 
2.47.0





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux