[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMpZ1qGtcFaaGK=72Qp9MOEDDvcxb_Gpqir7_+ZCL_ke4XrX8w@mail.gmail.com>
Date: Fri, 13 Jan 2023 15:13:19 +0800
From: Jensen Huang <jensenhuang@...endlyarm.com>
To: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Heiko Stuebner <heiko@...ech.de>
Cc: devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64: dts: rockchip: add missing #interrupt-cells to
rk356x pcie2x1
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
On Fri, Jan 13, 2023 at 2:45 PM Jensen Huang
<jensenhuang@...endlyarm.com> wrote:
>
> This fixes the following issue:
> pcieport 0000:00:00.0: of_irq_parse_pci: failed with rc=-22
>
> Signed-off-by: Jensen Huang <jensenhuang@...endlyarm.com>
> ---
> arch/arm64/boot/dts/rockchip/rk356x.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/rockchip/rk356x.dtsi b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
> index 5706c3e24f0a..b3185e4115d9 100644
> --- a/arch/arm64/boot/dts/rockchip/rk356x.dtsi
> +++ b/arch/arm64/boot/dts/rockchip/rk356x.dtsi
> @@ -985,6 +985,7 @@ pcie2x1: pcie@...60000 {
> resets = <&cru SRST_PCIE20_POWERUP>;
> reset-names = "pipe";
> #address-cells = <3>;
> + #interrupt-cells = <1>;
> #size-cells = <2>;
> status = "disabled";
>
> --
> 2.38.1
>
Powered by blists - more mailing lists