From: Heiko Stuebner <heiko@sntech.de>
To: linux-rockchip@lists.infradead.org, Abduwaris Nurmemet <daabu@qq.com>
Cc: Linus Walleij <linusw@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
devicetree@vger.kernel.org, linux-gpio@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] pinctrl: rockchip: program RK3308 I/O domains before SDIO probes
Date: Sun, 29 Nov 2026 17:15:18 +0100 [thread overview]
Message-ID: <sPFZ6cJGQt2ZffCsNlaHTw@sntech.de> (raw)
In-Reply-To: <tencent_17B4819AEC459370F0ED840B6B3CA378D206@qq.com>
Am Sonntag, 29. November 2026, 08:14:02 Mitteleuropäische Normalzeit schrieb Abduwaris Nurmemet:
> The RK3308 SDIO controller is only reliable at 50 MHz when the I/O
> domain feeding its pins is switched to 1.8V. The generic io-domain
> driver probes after the MMC controllers, which is too late: the SDIO
> card is already being enumerated, so the bus either fails with
> -84 or stays at a very low clock.
>
> Program the domain selection from the pinctrl driver instead, which
> probes before the MMC host. Boards opt in with an io-1v8-domains
> bitmask property on the pinctrl node, where each set bit marks an I/O
> domain that runs at 1.8V.
>
> This follows the approach used for the Rock Pi-S by Brent Roman.
>
> Signed-off-by: Abduwaris Nurmemet <daabu@qq.com>
v2 [0] sent 2 hours later, dropped this patch
[0] https://lore.kernel.org/linux-rockchip/tencent_8CBF26AEE0A30976D669C6FF243C03645907@qq.com/
next prev parent reply other threads:[~2026-11-29 16:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20261129071403.4890-1-daabu@qq.com>
2026-11-29 7:14 ` [PATCH 1/3] dt-bindings: pinctrl: rockchip: document io-1v8-domains Abduwaris Nurmemet
2026-11-29 16:14 ` Heiko Stuebner
2026-11-29 7:14 ` [PATCH 2/3] pinctrl: rockchip: program RK3308 I/O domains before SDIO probes Abduwaris Nurmemet
2026-11-29 16:15 ` Heiko Stuebner [this message]
2026-11-29 7:14 ` [PATCH 3/3] arm64: dts: rockchip: fix SDIO WiFi on the Sakura Pi RK3308B Abduwaris Nurmemet
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=sPFZ6cJGQt2ZffCsNlaHTw@sntech.de \
--to=heiko@sntech.de \
--cc=conor+dt@kernel.org \
--cc=daabu@qq.com \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--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
all inboxes | Powered by JetHome®