From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4CE36C369A2 for ; Mon, 14 Apr 2025 18:36:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0W68kifwClbmxOD9uB2cLoC+ZOmDFfEOuSDxczncg7A=; b=lpOOtFeNZ5rZUm6wa7Rt3j+8z+ SzUpi+TqV5KU3CbUi76FROwG5ZOOVUEFzn60SQ40n/6MeL96fjRFfBsz8Vh/CdnYM6KytJPcnMHUl SLrJKIzyz0rA91A71o1MvMVKqEQggyZ+pdfBHu+OHWergyFU1R80n7F1O/+6cg34qn1QXxb1CddiU LbqUvWyIxBTYKbwtZiIt39346EXCc3G2NgevpT8QZbpUZb31LeaSwmmfibBzFGoVA2gF2/VyPmTC+ ceYQ+ne3bikIMg48zwsEZ8l0Nyz2dbQn4iSz84+qCk2Z7cYQJ3artwf17SF/3ii6nB5UBkczA3yDG re6407fw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1u4OfV-00000003896-2qlA; Mon, 14 Apr 2025 18:36:29 +0000 Received: from sender4-pp-f112.zoho.com ([136.143.188.112]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1u4Oa4-000000036aX-1mG5; Mon, 14 Apr 2025 18:30:53 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1744655447; cv=none; d=zohomail.com; s=zohoarc; b=aK9QbFLPjjNWwlAHM+7jqXXYkZSyotrm4OpqYBZ6Z+7vjhqlvez1f+PL379uk9xzqoSF6iITw0vcbLi/5d56FqTSxfckQ8bVg5OlU5oCF3kg4cd/t22MRnH8JVTkmi91wGUqj/PNsc2dHlDKILWgCHoGv596aKqZGHKYDCjqwiA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1744655447; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=0W68kifwClbmxOD9uB2cLoC+ZOmDFfEOuSDxczncg7A=; b=NnanDKGIw2jbi6e5Xc8Wy7BWebenhI2JPjGlWQZaOSjFO/+adLpumbi87vt34Pw9mygqSwkmkjWTIbSQKpBMHvR5Ce9B0Wlk/LiqOkwmLtFuKdfMt3clvw1c54CtQ49kEH49mBfTBBzoFLO/2aVawi+VBEAGE7vkb6hem77sVRI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=nicolas.frattaroli@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1744655447; s=zohomail; d=collabora.com; i=nicolas.frattaroli@collabora.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Reply-To; bh=0W68kifwClbmxOD9uB2cLoC+ZOmDFfEOuSDxczncg7A=; b=A9M8M+KDKMG7ngJrCcR8EyH1YFAWoOsBiMjvc5f7DXQ9x4mceV+16Cb+JYnRFbp5 eMN9g8GulITK60NJnEJuO3cH3+5U6KzGHHzzub8twfHPEIJQdWiKFIJ5hp1zIgDdA2t lqyBWjpaLaPs6cnIcPL++Vy6dfuJ4pV/lyRvktOI= Received: by mx.zohomail.com with SMTPS id 1744655444841430.53710170104966; Mon, 14 Apr 2025 11:30:44 -0700 (PDT) From: Nicolas Frattaroli To: heiko@sntech.de, Kever Yang Cc: andersson@kernel.org, Kever Yang , Shawn Lin , Conor Dooley , Finley Xiao , Frank Wang , Rob Herring , Detlev Casanova , linux-kernel@vger.kernel.org, Krzysztof Kozlowski , linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, Andy Yan , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v9 2/2] arm64: dts: rockchip: Add rk3576 pcie nodes Date: Mon, 14 Apr 2025 20:30:38 +0200 Message-ID: <5019259.31r3eYUQgx@workhorse> In-Reply-To: <20250414145110.11275-3-kever.yang@rock-chips.com> References: <20250414145110.11275-1-kever.yang@rock-chips.com> <20250414145110.11275-3-kever.yang@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250414_113052_538572_6E74B2BF X-CRM114-Status: GOOD ( 14.07 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Monday, 14 April 2025 16:51:10 Central European Summer Time Kever Yang wrote: > rk3576 has two pcie controllers, both are pcie2x1 work with > naneng-combphy. > > Signed-off-by: Kever Yang > Tested-by: Shawn Lin > --- > > Changes in v9: > - rebase on 6.15-rc1 > - Add test tag > > Changes in v8: None > Changes in v7: > - re-order the properties. > > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: > - Update the subject > > Changes in v2: > - Update clock and reset names and sequence to pass DTB check > > arch/arm64/boot/dts/rockchip/rk3576.dtsi | 108 +++++++++++++++++++++++ > 1 file changed, 108 insertions(+) > Reviewed-by: Nicolas Frattaroli Tested-by: Nicolas Frattaroli Successfully used this on an ArmSoM Sige5 RK3576 board. PCIe works. Properties look correct, though the `ranges = ` doesn't separate out the different ranges into individual `` but this doesn't seem to make any difference and doesn't cause any warnings either. The only added warning is "simple-bus unit address format error" which seems like a bug in the thing generating the warning and not the device-tree itself, as it doesn't seem to notice that the address of the node is within the regs array, just not as the first cell. I think this looks good for merging, I'll also send out a Sige5 enablement patch shortly. Thank you! Regards, Nicolas Frattaroli