From patchwork Thu Feb 1 12:11:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Yan X-Patchwork-Id: 13540950 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 930D2C4828D for ; Thu, 1 Feb 2024 12:12:08 +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=QlNI0shyL+HnqH9CeYC8/FzRlfdU4KERFufVfS/dFFo=; b=ZCwluKyKJXBz3K Wp6sOG29mxRXBImm+8bwQCEe7XOpK5KanD6vS6AMS8w36Qb5+UPq9/vB+IXfr+fwmEbK+X89x+tRR gGjo3fKvJjdZFfUN3PePYEY9KJxgpDD0aPkAX+q+Xopjmp99Ffh1ZAH2+1EXEZuB08i/zsVSexERH Z5/jBuWzXuNCfTbpjQfwOnfcc6IwN4ltUi4l7aV7IwQFPngxYgMIGhdl7ROUncacydwmvyE1sQZPM ryGxegdZ73r5e54l9rCUoP2KeYP65Z1OARGCkZwrkfDz9R1AWyRIjRrZ5eX5uSXehrqbanuLdXBLP aL9wGd6Ryvz6ct78XtBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVVvI-00000007hlu-3nhi; Thu, 01 Feb 2024 12:12:04 +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 1rVVvE-00000007hib-0X8h; Thu, 01 Feb 2024 12:12:01 +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=KvYmw ZNEjvb9A83FVmZYX/sRC9FmnLhMGuA9Gda7q+0=; b=GI+6UBnhwGYod5utkzp3j DEGfcPT4QO8ODjHm6fzt30kdYkPEAEQ9Az9+9c9WSaJsB+4ahzU9zDig1oxzheKk KydstvaX2FVA3k3WGWywQUiSfoHShf5QHrNo8AwJgvPvUrd+oJyOCRQpg62jn4Fm MveMgKc9/wrKkJ3aMQa3IA= Received: from ProDesk.. (unknown [58.22.7.114]) by gzga-smtp-mta-g1-0 (Coremail) with SMTP id _____wDX_35birtlKEO5AA--.30092S2; Thu, 01 Feb 2024 20:11:12 +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 , Dragan Simic Subject: [PATCH v2 1/4] arm64: dts: rockchip: aliase sdmmc as mmc1 for Cool Pi 4B Date: Thu, 1 Feb 2024 20:11:03 +0800 Message-Id: <20240201121106.1471301-1-andyshrk@163.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CM-TRANSID: _____wDX_35birtlKEO5AA--.30092S2 X-Coremail-Antispam: 1Uf129KBjvdXoWrZryDuFyDJw1kuFyDZFyxZrb_yoWfWFX_ta 47Wr1kXa93Jry3Z3s8tay5Gay7Gayq9w4fK3yYva95JF1Yqan7Jay5Ja9293WUAF4jkrs3 JrZxZF1xGw1a9jkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7sR3n5GPUUUUU== X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/xtbBEAZ3XmVOCDl11gABsH X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_041200_659212_6F16F625 X-CRM114-Status: GOOD ( 10.45 ) 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 --- (no changes since v1) 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 Thu Feb 1 12:11:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Yan X-Patchwork-Id: 13540949 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 78621C47DDF for ; Thu, 1 Feb 2024 12:12:07 +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=S6BgAemEnYBvwcZDBQvaHqAhSBe1J8mqPhEXVqQmZlg=; b=mxVJgYzTuBNROp 3srQ9uScZ9KvRKpkWsegcYMGSzWbw1t7K+NgegilT85ZCJ+OWsNyAsQP73DtBkizp4aoSq+p6rfyG exWaZGcwLcY1+MGOOWDmUQKNEklDybCdRklUO4uCjj41THN1qtTJ/O3lTrXIa0v78Pg2Sbpb9RHEm BRLUtAVIPqEOnqdjV/pUPOMZ3LzWt7XYD3OGT3k0rA8LOKrMtj4sP+dtkbLDwoip5IHPCY2+zGMjd F3EiZSNXL9Kf44eMIYK4InbpdiVcnfy4du1CUhktf28uQdAt0uCKcrKiRe3l50BF4Ugi/ZtvMrZCp iwwEjSdzujc6qXnP5BIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVVvD-00000007hin-2QdK; Thu, 01 Feb 2024 12:11:59 +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 1rVVv8-00000007heC-2Ryp; Thu, 01 Feb 2024 12:11:56 +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=1SUtL q72uZ85U/njlejKUSRLnfESJ7Xgoity5J6Gns0=; b=mz0FM6FxJs/naHJbIoQce 8l37kZYWwW8vvN5DNB2llmW8i1o21fuZEwXELoWOOgK+FDs8cJi43AzYcTKuIHtc eCTx5F/p30aoF+IFqTp+BsmQuoP4MVr5dOJVxqc+btrqIpCAIKUWWssvW2YnTPdG cACDlQkQnwJHj+fLD9S4wE= Received: from ProDesk.. (unknown [58.22.7.114]) by gzga-smtp-mta-g1-0 (Coremail) with SMTP id _____wDX_35birtlKEO5AA--.30092S3; Thu, 01 Feb 2024 20:11:13 +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 , Dragan Simic Subject: [PATCH v2 2/4] arm64: dts: rockchip: aliase sdmmc as mmc1 for Cool Pi CM5 EVB Date: Thu, 1 Feb 2024 20:11:04 +0800 Message-Id: <20240201121106.1471301-2-andyshrk@163.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240201121106.1471301-1-andyshrk@163.com> References: <20240201121106.1471301-1-andyshrk@163.com> MIME-Version: 1.0 X-CM-TRANSID: _____wDX_35birtlKEO5AA--.30092S3 X-Coremail-Antispam: 1Uf129KBjvdXoWrZryDuFyDGr4kXF1fWF1kuFg_yoWfAFX_ta 42ga1kXa1rXry5Wwn8tay8G343C34qkw1fJ3yYvF4kAFy5X39rJayrKa92qr1jyF129rn3 JrZ3ZF18JwnxCjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7xRMVby7UUUUU== X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/1tbiqAN3XmVOCDrNTgAAsY X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_041154_983036_104F048A X-CRM114-Status: GOOD ( 10.93 ) 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 --- (no changes since v1) 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 Thu Feb 1 12:11:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Yan X-Patchwork-Id: 13540951 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 15F37C47DDF for ; Thu, 1 Feb 2024 12:12:10 +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=5l8QeTceDKfjVdMLPRmcCp8yhSi33LCb/uAh7qsQUes=; b=UDm/2rnHxXTO0L yQayC7LHL6H6Jj1z1o6GsDMC4nPVnW8NUyxAmeuznsE1LoSy7XGIC7UL2uU6ofEj5XhX/MMBatudg aOLTNdxmbyaiixP2iDIsPabqwUi9iUqk/z9gWd6Pkwm7/8HKSHwAZKtOgWPVrPH1v4+iYGY0G4ot7 PfCAh+V91HovyTUe3Lft6X9GMUC2bmuy0ADL1gPexfsmht1YZuKLVnqoSd0KLu/9sLAJmkzJAqzlj avvGrRJTCuGG1qZziSMIpVY3m83EiDREZcqUlepym8jzCEth06X7Cz4qG2fvnEeqyj8bf+fGrpiU9 RHvVoW8Nf+L0HpyrBTZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVVvD-00000007hjB-469a; Thu, 01 Feb 2024 12:11:59 +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 1rVVv9-00000007hf1-01v7; Thu, 01 Feb 2024 12:11:56 +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=pnMdN pfxgQzJxgzSTVf6q0src2GgoFnb5r6Fx+QgrFU=; b=CcXxQEh1Rvn0yiDz9E0yG XOqHrohCI1RVzLiagB5PSx54jTsUXhE/yF2FO1Av18HFyrhVJ4gdyh1bgjacSSdg oXMVZA76uk9WgFNe5OAwpNOb/AaYHhXr178SG8YKY7LIrtY+Ac8mD2r2ckPzf9xs EyCMtjQuA+UFz///vAPSc0= Received: from ProDesk.. (unknown [58.22.7.114]) by gzga-smtp-mta-g1-0 (Coremail) with SMTP id _____wDX_35birtlKEO5AA--.30092S4; Thu, 01 Feb 2024 20:11:14 +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 v2 3/4] arm64: dts: rockchip: rename vcc5v0_usb30_host regulator for Cool Pi CM5 EVB Date: Thu, 1 Feb 2024 20:11:05 +0800 Message-Id: <20240201121106.1471301-3-andyshrk@163.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240201121106.1471301-1-andyshrk@163.com> References: <20240201121106.1471301-1-andyshrk@163.com> MIME-Version: 1.0 X-CM-TRANSID: _____wDX_35birtlKEO5AA--.30092S4 X-Coremail-Antispam: 1Uf129KBjvJXoW7uFyDXFykWw4DKFy8JrykGrg_yoW8GFWfpw nxurZrJr1fuFWUt3yqg3Z7Krn8Cw4kJ3ZxurykJr1rKr12qFnrtFn3uF1fAFZ8J3Z2yan0 kF98Zry7JFyqvFJanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0zi3CztUUUUU= X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/1tbiqAZ3XmVOCDrNgAAAsT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_041155_465751_4E37D710 X-CRM114-Status: GOOD ( 10.76 ) 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, USB20 HOST0 and HOST1 each have their own independent power supply, but these two regulators controlled by a same GPIO, 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 Reviewed-by: Dragan Simic --- Changes in v2: - Add two lable for this regulator 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..9c0f408ef339 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_host1: vcc5v0_usb_host2: 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_host1>; status = "okay"; }; &u2phy3_host { - phy-supply = <&vcc5v0_usb30_host>; + phy-supply = <&vcc5v0_usb_host2>; status = "okay"; }; From patchwork Thu Feb 1 12:11:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Yan X-Patchwork-Id: 13540948 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 81461C4828C for ; Thu, 1 Feb 2024 12:12:07 +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=SxJCshGa2YT+30eGGfbQr7VDWiE6nefzzYHwYONrSEg=; b=cb5FSLQM+u/1XN 7R0bzw39kYMOaSHd9uzxMdUB0ZcD6nJ+D6WfyyhDih2PeT8gddpJ3RnGXucWZC8sO5/exl0GVfgBc Fcm4ltIxo7TKHCQgCrisDjB3HwRbc8mqLA1H3NV4mpUJJRJ87BHwnBwUTYtrQl4RL8DdRciEmhLFm GVgS4Zuj5j5Aawi/jPZvc9kQ2Go7VPOUiO8GJF9cj7CjsHPU+e5QDpqStCYV1Df/mhqwwOVi13/5D rihhYrL0g6airy7hUmFmsffdhLJ14SAwbAbo1WcgrvlYQ+BcB8bUoAHJgQ97Yn2Mq4B7YIFC4ShWE Zuhj4zDAVoUhiPG9Qt2Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVVvF-00000007hk4-0wvS; Thu, 01 Feb 2024 12:12:01 +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 1rVVvB-00000007hge-1UVD; Thu, 01 Feb 2024 12:11:58 +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=L5rj2 e6lcmrpI804Cx6MRfru0SWmxeEJZFimAHJKc74=; b=nIbA7+1z3YYoyxn1LXZe8 AQAFosc+qpAsAyOMVizE2vPJPPRUNAHcA92Qf+l/eiWU4TkgWwxJ6oRyh49w4tzz fgGuawTFz1gvD6C3zO009hChECRbpLMxjj4dq4v3ywSjioZvZx9xQMtqamZL57Zy t8F8fvmoKgtz+ujMfInNZM= Received: from ProDesk.. (unknown [58.22.7.114]) by gzga-smtp-mta-g1-0 (Coremail) with SMTP id _____wDX_35birtlKEO5AA--.30092S5; Thu, 01 Feb 2024 20:11:15 +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 v2 4/4] arm64: dts: rockchip: Fix the num-lanes of pcie3x4 on Cool Pi CM5 EVB Date: Thu, 1 Feb 2024 20:11:06 +0800 Message-Id: <20240201121106.1471301-4-andyshrk@163.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240201121106.1471301-1-andyshrk@163.com> References: <20240201121106.1471301-1-andyshrk@163.com> MIME-Version: 1.0 X-CM-TRANSID: _____wDX_35birtlKEO5AA--.30092S5 X-Coremail-Antispam: 1Uf129KBjvdXoW7Gw4DuryfJF17JrWDJFW5Wrg_yoWDtrg_ta yxW3W8XF4rGrn0g3s8Aa9rG3yfK39F9ayxJa1UZF4DAF9xtayDJFyrtFW2qw15Kr429a1f Aa9rJa18C3Z8CjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7xRiiSdPUUUUU== X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/xtbB0gd3XmWXv1CSDAAAs- X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_041157_780619_F35FC75A X-CRM114-Status: UNSURE ( 9.59 ) 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 --- (no changes since v1) 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 9c0f408ef339..d6366e7b57bb 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";