public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Tamás Szűcs" <tszucs@linux.com>
To: "Rob Herring" <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	"Conor Dooley" <conor+dt@kernel.org>,
	"Heiko Stuebner" <heiko@sntech.de>,
	"Tamás Szűcs" <tszucs@linux.com>,
	"FUKAUMI Naoki" <naoki@radxa.com>,
	"Jonas Karlman" <jonas@kwiboo.se>,
	"Dragan Simic" <dsimic@manjaro.org>,
	"Chukun Pan" <amadeus@jmu.edu.cn>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/3] arm64: dts: rockchip: Enable sdmmc2 on rock-3b and set it up for SDIO devices
Date: Mon, 11 Nov 2024 19:17:26 +0100	[thread overview]
Message-ID: <20241111181807.13211-3-tszucs@linux.com> (raw)
In-Reply-To: <20241111181807.13211-1-tszucs@linux.com>

Enable SDIO on Radxa ROCK 3 Model B M.2 Key E. Add all supported UHS-I rates and
enable 200 MHz maximum clock. Also, allow host wakeup via SDIO IRQ.

Signed-off-by: Tamás Szűcs <tszucs@linux.com>
---
 arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts
index 242af5337cdf..b7527ba418f7 100644
--- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3b.dts
@@ -688,14 +688,20 @@ &sdmmc2 {
 	cap-sd-highspeed;
 	cap-sdio-irq;
 	keep-power-in-suspend;
+	max-frequency = <200000000>;
 	mmc-pwrseq = <&sdio_pwrseq>;
 	non-removable;
 	pinctrl-names = "default";
 	pinctrl-0 = <&sdmmc2m0_bus4 &sdmmc2m0_clk &sdmmc2m0_cmd>;
+	sd-uhs-sdr12;
+	sd-uhs-sdr25;
+	sd-uhs-sdr50;
 	sd-uhs-sdr104;
+	sd-uhs-ddr50;
 	vmmc-supply = <&vcc3v3_sys2>;
 	vqmmc-supply = <&vcc_1v8>;
-	status = "disabled";
+	wakeup-source;
+	status = "okay";
 };
 
 &sfc {
-- 
2.45.2


  parent reply	other threads:[~2024-11-11 18:18 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-11 18:17 [PATCH 0/3] arm64: dts: rockchip: rock-3b TF + M2E updates Tamás Szűcs
2024-11-11 18:17 ` [PATCH 1/3] arm64: dts: rockchip: Add supported UHS-I rates to sdmmc0 on rock-3b Tamás Szűcs
2024-11-11 19:00   ` Jonas Karlman
2024-11-12 14:36     ` Tamás Szűcs
2024-11-12 22:37       ` Jonas Karlman
2024-11-13 10:24         ` Tamás Szűcs
2024-11-11 18:17 ` Tamás Szűcs [this message]
2024-11-11 19:06   ` [PATCH 2/3] arm64: dts: rockchip: Enable sdmmc2 on rock-3b and set it up for SDIO devices Jonas Karlman
2024-11-12  4:41     ` Dragan Simic
2024-11-12 14:35       ` Tamás Szűcs
2024-11-12 15:15         ` Dragan Simic
2024-11-12 21:05           ` Tamás Szűcs
2024-11-12 23:38             ` Dragan Simic
2024-11-13 10:24               ` Tamás Szűcs
2024-11-13 10:44                 ` Dragan Simic
2024-11-13 11:17                   ` Tamás Szűcs
2024-11-13 13:12                     ` Dragan Simic
2024-11-11 18:17 ` [PATCH 3/3] arm64: dts: rockchip: Enable UART8 on rock-3b Tamás Szűcs
2024-11-11 19:12   ` Jonas Karlman
2024-11-12 14:35     ` Tamás Szűcs
2024-11-12 15:07       ` Dragan Simic
2024-11-12 21:04         ` Tamás Szűcs
2024-11-12 22:21           ` Jonas Karlman
2024-11-12 23:25           ` Dragan Simic
2024-11-13 10:24             ` Tamás Szűcs
2024-11-13 10:38               ` Dragan Simic
2024-11-13 11:17                 ` Tamás Szűcs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241111181807.13211-3-tszucs@linux.com \
    --to=tszucs@linux.com \
    --cc=amadeus@jmu.edu.cn \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dsimic@manjaro.org \
    --cc=heiko@sntech.de \
    --cc=jonas@kwiboo.se \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=naoki@radxa.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox