From patchwork Sat Jan 27 09:20:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Yan X-Patchwork-Id: 13534027 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 E3300C47DDB for ; Sat, 27 Jan 2024 09:21:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=Eg0lpzI4p+fTbTxr2JolcBv7hqIgi21jh4f28fVzEYI=; b=dtlBGRE4m9xSQ6 E9CeGRH4jgOmCyLUmJGqf+emNFkablzYomzQoHI6RQGrndp4sLcyqLUX/qjM0+0KowQD3140dUjEh F0GokCwP9dOhNxDZ/RCfyvUXpCvVSfM2JSZB4MtjeKDp1VC3ndic3TyoJLyR+MscTKRL0K4G+5wLc 0rqtkfu13u3A+cxgQy7Qq/ukF+i0Z8XMrTzgaiwc8bjG45mFPHvifoXH98xCJTwDfXRqfKhPTrIhg jv0VezV4mi3uuBcyPUKcq1Zjwg4TluM1k5f6GGkPVJmIYxVvpz1OF3EElbDb9qiBszb3PNdtmml/U t7xdD/kcuD9PSh9gxOIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTesR-00000007ELm-0kby; Sat, 27 Jan 2024 09:21:27 +0000 Received: from m16.mail.163.com ([220.197.31.3]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTes7-00000007EDI-3VJQ; Sat, 27 Jan 2024 09:21:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=hRdLF PkToQCEg+EFjZ96iBxTD5I3RysLL03nVwpagOk=; b=C32EE0x9vy7+8if1qdJ6I wP/yZT0FljOx5/VpQaiLdGaTDSTQWjeaui2QA58KrINKiGf3JWunC0uPAFLcAGwC 5+rQtsg6HqayBfa3Dt1qFHiWyVSaPftv5XpLfrMT3m2UFQhwXbf2/ZOVoVeT5uYu zUbOJv2cpph+X6FJ1ED9T0= Received: from ProDesk.. (unknown [58.22.7.114]) by gzga-smtp-mta-g0-4 (Coremail) with SMTP id _____wD3rzHkyrRl5GopBA--.2976S2; Sat, 27 Jan 2024 17:20:39 +0800 (CST) From: Andy Yan To: heiko@sntech.de Cc: krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Andy Yan Subject: [PATCH 1/4] arm64: dts: rockchip: aliase sdmmc as mmc1 for Cool Pi 4B Date: Sat, 27 Jan 2024 17:20:31 +0800 Message-Id: <20240127092034.887085-1-andyshrk@163.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CM-TRANSID: _____wD3rzHkyrRl5GopBA--.2976S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrZryDuFyDJw1kuFyDZFyxZrb_yoW3uFg_ta 47Wr1kJa93Jry3X3s8ta45Ga47G34q9w4fGa4YyaykJF13Xan7Jay5Ja9F93WUAF4jkr4x JrW3ZF1UJw1YkjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7sRpHq2PUUUUU== X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/xtbB0glyXmWXvvkQYgAAsw X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240127_012108_269524_86FFB9CF X-CRM114-Status: GOOD ( 10.80 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Follow others rk3588 based boards, and u-boot only use mmc0/1 as mmc boot targets, so aliase sdmmc as mmc1. Fixes: 3f5d336d64d6 ("arm64: dts: rockchip: Add support for rk3588s based board Cool Pi 4B") Signed-off-by: Andy Yan Reviewed-by: Dragan Simic --- arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts b/arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts index 3fae40b9ae1b..3b9d21a6f8bf 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts @@ -20,8 +20,8 @@ / { aliases { mmc0 = &sdhci; - mmc1 = &sdio; - mmc2 = &sdmmc; + mmc1 = &sdmmc; + mmc2 = &sdio; }; analog-sound { From patchwork Sat Jan 27 09:20:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Yan X-Patchwork-Id: 13534025 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 48E74C46CD2 for ; Sat, 27 Jan 2024 09:21:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=KEYV2NoEGMyjnTsMEwl/pesoK/X1wn7LpkGNNrH5crw=; b=wbY5b0bCEHKUjI CDrKff7taWPpYvp0gANIGOUeo3uIgVneaXGZHSTT8mqg5YdT0YioVueJgaXQKW5sHE5St7q8LIbah l+Hb2Nh3OiN5BjuKw0aFOnJCPu6725np3yM9guHCNPsv7JC/uBZaNMt2kIZZ2isy9MJ08SUG3A8n/ nYEtRCuNYRAc2eK+C/flUe0T0Wzt+4Kl7zCFVCAcxQB85dazAYzEMMSxLsjA1tx1PRMuHVgwkpxvN yFvD8KJcMXRJohz5ThJr2xsTChpTb+gLBOtw4yx2lhg5LLr6/TqkVElMpjdbKAfXqzGNqKuoCnu6z zDxSCRKlW2KdHdLMLcPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTesC-00000007EFf-2TAl; Sat, 27 Jan 2024 09:21:12 +0000 Received: from m16.mail.163.com ([220.197.31.3]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTes7-00000007ED8-3KCL; Sat, 27 Jan 2024 09:21:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=qXKs7 77YlJXMt8Y4vLlzfp04iXltM/VO9c7EPLhu6nw=; b=Sc4R8pCUrKIpDXgH3nint QC5KH+JKw6vI94XXIkW//286CO9ZTOUkcFsLwmlBDvcVk5bxUJleGtsoX8I/aYnv JSGpg+I9AbMnltWh0OLFam33344uQSgctM8Ccex0Nwi0vqkNuENx0352saCzvFnV B2gcMad4UevhPPCW9OaDe4= Received: from ProDesk.. (unknown [58.22.7.114]) by gzga-smtp-mta-g0-4 (Coremail) with SMTP id _____wD3rzHkyrRl5GopBA--.2976S3; Sat, 27 Jan 2024 17:20:40 +0800 (CST) From: Andy Yan To: heiko@sntech.de Cc: krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Andy Yan Subject: [PATCH 2/4] arm64: dts: rockchip: aliase sdmmc as mmc1 for Cool Pi CM5 EVB Date: Sat, 27 Jan 2024 17:20:32 +0800 Message-Id: <20240127092034.887085-2-andyshrk@163.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240127092034.887085-1-andyshrk@163.com> References: <20240127092034.887085-1-andyshrk@163.com> MIME-Version: 1.0 X-CM-TRANSID: _____wD3rzHkyrRl5GopBA--.2976S3 X-Coremail-Antispam: 1Uf129KBjvdXoWrZryDuFyDGr4kXF1fWF1kuFg_yoW3tFg_ta 42ga1kJayrWr98W34Dtay8G343C34DCw1fJayYvF4kAFW3X39rJayrKa9FvF1jyF429r1f JrZ3ZF18Jw15CjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7xRN-BM7UUUUU== X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/1tbiqApyXmVOB+QgpgAAsA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240127_012108_239783_D5066FD5 X-CRM114-Status: GOOD ( 11.28 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Follow others rk3588 based boards, and u-boot only use mmc0/1 as mmc boot targets, so aliase sdmmc as mmc1. Fixes: 791c154c3982 ("arm64: dts: rockchip: Add support for rk3588 based board Cool Pi CM5 EVB") Signed-off-by: Andy Yan Reviewed-by: Dragan Simic --- arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi b/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi index 0b02f4d6e003..cce1c8e83587 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi @@ -16,8 +16,8 @@ / { aliases { mmc0 = &sdhci; - mmc1 = &sdio; - mmc2 = &sdmmc; + mmc1 = &sdmmc; + mmc2 = &sdio; serial2 = &uart2; }; From patchwork Sat Jan 27 09:20:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Yan X-Patchwork-Id: 13534026 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 A0719C48285 for ; Sat, 27 Jan 2024 09:21:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=VG5/9uGzSFtd7ZCgJCTSG/ZHot7v8oNf1SYBoWPfJpI=; b=k1hbrnAdaXnoUz vx6ex5LHLBzEJmleHHkmwPN8sP0zqYfB+OCH8XXMKo33PYK2NmAvOun2P6DDFpPybUSYnZXZpagGO c/kTKJwc75FdxbCF0YUXaReodDm1hkLATu20gvo0tSggvtfHZV/xejkFhyh7G1JRojvRJZoYS40a9 HgX44j/1mPD6geVKxkoGgK+hioGa+sq8ICKGVg5m7u3v6vrzzMidnipKJK+yQRFBfV91bWdX2YTUg XNVY/PPVQjR7gE4l1/LBSg3ilCv03FQQiQPNujqT7VyIzZ+fi7hStkNUKUhgOgsKk7BYPEkH96u8y CI40xtY1NzQhdBB9fW+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTesC-00000007EFa-0usi; Sat, 27 Jan 2024 09:21:12 +0000 Received: from m16.mail.163.com ([220.197.31.5]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTes7-00000007EDH-36EU; Sat, 27 Jan 2024 09:21:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=ke7aq YeO3SgKHFFAXZGTQJgNGC9RklM/X8fmVFmJVMo=; b=aCwvVHfdF6SFbE39ZmYnE wO4GcXjp/JfyvcAcUUnppJKIVxs5z27NtpebTolZSvusoMlVXQc2ra2ob+8bUA1I hMjz+/a0hzR8k6twsUngb0Yb9l6lWyTn8Z5T7fZ8vRCSZWv3+S+An0h8LLHLMn11 MhUNKWSqRuRboG5g/gEUow= Received: from ProDesk.. (unknown [58.22.7.114]) by gzga-smtp-mta-g0-4 (Coremail) with SMTP id _____wD3rzHkyrRl5GopBA--.2976S4; Sat, 27 Jan 2024 17:20:41 +0800 (CST) From: Andy Yan To: heiko@sntech.de Cc: krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Andy Yan Subject: [PATCH 3/4] arm64: dts: rockchip: rename vcc5v0_usb30_host regulator for Cool Pi CM5 EVB Date: Sat, 27 Jan 2024 17:20:33 +0800 Message-Id: <20240127092034.887085-3-andyshrk@163.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240127092034.887085-1-andyshrk@163.com> References: <20240127092034.887085-1-andyshrk@163.com> MIME-Version: 1.0 X-CM-TRANSID: _____wD3rzHkyrRl5GopBA--.2976S4 X-Coremail-Antispam: 1Uf129KBjvJXoW7AFyDZryfuFyrCF45Cw1Dtrb_yoW8JF4fpw nxCrZrJr1fuFWUt3yqg3Z7Krs5C395t3Z3ur95Jw1rKw1Iq3ZrtFn3u3WrAFW5twn7Aa1q kFs5ury7JF1qvFJanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0z_1v3UUUUUU= X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/xtbBEAxyXmVOB+LqkAABsF X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240127_012108_240638_DD13A90E X-CRM114-Status: GOOD ( 11.04 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org According to the schematic, this regulator is used both for USB30 and USB20, so give it a more appropriate name. Fixes: 791c154c3982 ("arm64: dts: rockchip: Add support for rk3588 based board Cool Pi CM5 EVB") Signed-off-by: Andy Yan --- arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts b/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts index 1b5681fe0471..5f42f1065d73 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts @@ -84,7 +84,7 @@ vcc3v3_lcd: vcc3v3-lcd-regulator { vin-supply = <&vcc3v3_sys>; }; - vcc5v0_usb30_host: vcc5v0-usb30-host-regulator { + vcc5v0_usb_host: vcc5v0-usb-host-regulator { compatible = "regulator-fixed"; regulator-name = "vcc5v0_host"; regulator-boot-on; @@ -200,12 +200,12 @@ &u2phy3 { }; &u2phy2_host { - phy-supply = <&vcc5v0_usb30_host>; + phy-supply = <&vcc5v0_usb_host>; status = "okay"; }; &u2phy3_host { - phy-supply = <&vcc5v0_usb30_host>; + phy-supply = <&vcc5v0_usb_host>; status = "okay"; }; From patchwork Sat Jan 27 09:20:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Yan X-Patchwork-Id: 13534032 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 B1E63C46CD2 for ; Sat, 27 Jan 2024 09:36:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id: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=1vxbJ2JqZaUXFbBDEwTfxPEMAElaSg6MlBlE5TYt8zE=; b=425miNuBzujK1a 2d1hhiVNb6ssXrBo6QZjW4G2pwn1XPb9nw8DHg65UFlERlILklolYmyO/m4YsMX31j1LnpYOI1MgH KkwETkRD53PxhL3cbLRIgmhBu+21eBY44M3E9NsnxYdVlXJniyGC4wdSk6CQERbfMdy0DZ0VVciaf +MfJFElJwh6CmSCxp5nQy7slFjKC4Yk8k8fFqzQdlzISKNDWaixkaZ1KXq5XyOMqtaQE3Oc75jytV kYJPEIR0x7v1BUZhpvhqcSMEp1Lhotc5fR1T43gOky6Tu1oSRiGcAMudBIe+skoL3XM9ue2dwfzdk nvnmun3cMG3ct2HShrQQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTf75-00000007HTR-21wW; Sat, 27 Jan 2024 09:36:35 +0000 Received: from m16.mail.163.com ([220.197.31.4]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rTf72-00000007HSz-1RoI; Sat, 27 Jan 2024 09:36:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=a/VjS 8XMkdiNaejedJEj7VqbTBOy9aX70K9qWnPW79Y=; b=K8nyT+Z58mrUAFpNviP9Z b48JmtTNY//qVDuM+J5t0K4TtsY6DMtLDNd+mqQkoPbHDbtGSHNBBNTFaYjarPHy EVh/6F/v76SjPpaFq/f3bOzphtxVN0Zcl6d+M6qOoOihPMrBNzyAssUynJgr6DlS useRmwyIrZm5kAfR3awejM= Received: from ProDesk.. (unknown [58.22.7.114]) by gzga-smtp-mta-g0-4 (Coremail) with SMTP id _____wD3rzHkyrRl5GopBA--.2976S5; Sat, 27 Jan 2024 17:20:41 +0800 (CST) From: Andy Yan To: heiko@sntech.de Cc: krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Andy Yan Subject: [PATCH 4/4] arm64: dts: rockchip: Fix the num-lanes of pcie3x4 on Cool Pi CM5 EVB Date: Sat, 27 Jan 2024 17:20:34 +0800 Message-Id: <20240127092034.887085-4-andyshrk@163.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240127092034.887085-1-andyshrk@163.com> References: <20240127092034.887085-1-andyshrk@163.com> MIME-Version: 1.0 X-CM-TRANSID: _____wD3rzHkyrRl5GopBA--.2976S5 X-Coremail-Antispam: 1Uf129KBjvdXoW7Gw4DuryfJF17JrWDJFW5Wrg_yoWDZFb_ta 4xW3W8Xa1rGrn0g3s0yay3G3ySk39F9FW7Ga1UZFWDAF9xta1DJFyrtFW2q34UKr429w4f Aa9xJF18C3Z8CjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7xR_LvttUUUUU== X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/xtbB0gxyXmWXvvkQhAAAsT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240127_013632_774345_3FAB0CAD X-CRM114-Status: UNSURE ( 9.75 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The 4 lane pcie30 phy is shared by pcie3x4 and pcie3x2, so the num-lanes of pcie3x4 should be 2. Fixes: 791c154c3982 ("arm64: dts: rockchip: Add support for rk3588 based board Cool Pi CM5 EVB") Signed-off-by: Andy Yan --- arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts b/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts index 5f42f1065d73..9bff04fc7e43 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts @@ -126,6 +126,7 @@ &pcie30phy { status = "okay"; }; +/* Standard pcie */ &pcie3x2 { reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>; vpcie3v3-supply = <&vcc3v3_sys>; @@ -134,6 +135,7 @@ &pcie3x2 { /* M.2 M-Key ssd */ &pcie3x4 { + num-lanes = <2>; reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>; vpcie3v3-supply = <&vcc3v3_sys>; status = "okay";