Skip to contentSkip to conversation

arm64: dts: rockchip: add missing #interrupt-cells to rk356x pcie2x1

PATCH Applied Jensen Huang 2 participants 3 messages Jan 13, 2023 – Jan 15, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: add missing #interrupt-cells to rk356x pcie2x1

This fixes the following issue:
pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22

---
 arch/arm64/boot/dts/rockchip/rk356x.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/rockchip/rk356x.dtsi +1 -0
index 5706c3e24f0a..b3185e4115d9 100644
@@ -985,6 +985,7 @@ pcie2x1: pcie@fe260000 {
 		resets = <&cru SRST_PCIE20_POWERUP>;
 		reset-names = "pipe";
 		#address-cells = <3>;
+		#interrupt-cells = <1>;
 		#size-cells = <2>;
 		status = "disabled";
 

--
2.38.1

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#1 lore raw

Hi,

I got this error while testing on a rk3568 based board (NanoPi R5S):
pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
Also I checked of_irq_parse_raw(), it looks like this property is necessary.

BR,
Jensen

Quoted 22 lines · Jensen Huang

This fixes the following issue:
pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22

---
 arch/arm64/boot/dts/rockchip/rk356x.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/rockchip/rk356x.dtsi +1 -1
index 5706c3e24f0a..b3185e4115d9 100644
@@ -985,6 +985,7 @@ pcie2x1: pcie@fe260000 {
                resets = <&cru SRST_PCIE20_POWERUP>;
                reset-names = "pipe";
                #address-cells = <3>;
+               #interrupt-cells = <1>;
                #size-cells = <2>;
                status = "disabled";
 
--
Quoted 2 lines

2.38.1

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

maintainer Applied
#2 lore raw
In reply to Jensen Huang
Quoted 4 lines · Jensen Huang

This fixes the following issue:
pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22

Applied, thanks!

[1/1] arm64: dts: rockchip: add missing #interrupt-cells to rk356x pcie2x1

      commit: a323e6b5737bb6e3d3946369b97099abb7dde695

Moved the new line to a better position inside the node (similar to the pcie3 on rk3568)

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>