From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33654606A327 for ; Sun, 29 Nov 2026 16:15:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=W8i+ZOtA; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.a=rsa-sha256 header.s=gloria202408 header.b=ydKQmlm3 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-Unsubscribe-Post:List-Owner; bh=pZq5WuumVbj/TufMqFk5Nx6b7sqnvzvyiphQ+ZrHxPI=; b=W8i+ZOtA6S4AQY56kyXTksY0pe 2JLttZW1d3IsXRvcN1n6P9xO55vgriBFpzb8O9nU2qi4pWLP2skRL1SD/VKw2ocJRA8h7JeUTGClO o7cKgT1cXuhHglMAMhCFpj9lP0CVPMxggdL2ldAdqDfAGAVLyMRtMDTMSkuKW4o2uaI48ErdFb4dY dj5LPVgtSHQsUaTR4q9morNE0onlslcswIkrBj/AwWNv26uw9hwOY1CZroINLJh6f2wprlXgK3SiV AaBpZW/3bmZurbm/qTyDhE+vjYWMZO9qwz3pp+ysrF5k3QN2AcG1uOARh5Sg0DyQiF0CTs5RShhQj n/pNiHZg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXhZ1-00000002Db5-2Q0j; Sun, 29 Nov 2026 16:15:43 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xXhYh-00000002DWh-32ta; Sun, 29 Nov 2026 16:15:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Type:Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To; bh=pZq5WuumVbj/TufMqFk5Nx6b7sqnvzvyiphQ+ZrHxPI=; b=ydKQmlm3VEQ2kmQ0kIpn/Donaf fxy6Wt+frKGS7ZhOUAAIuXhR45qfs9uLg/dljacTxgKdVNbEIBfNwvfAFoN7Sc3x4qPfCc1HVOO8+ Dv59DBf8ml/Gf+Uei8bc/1HjvHnBNvmwJg8L6p/21W69IPZiqh9N+hUXhpPGimwtFhi+wkMEzaIUn n15OLUVKjAnPovFliCeVHgYWteSiFGfrpiHSPaR+CeP6oCb1BIJCFDkTgGkSbKa0EnGfAHsUjgMXF h8V8hrnR90JyZzMureFhVU9CR1ANTyKme4C8Y/2mPRsKkR0wiUlxIXk/1TUrYShh3RUpl2Ptc9ixT O615VqCw==; From: Heiko Stuebner To: linux-rockchip@lists.infradead.org, Abduwaris Nurmemet Cc: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 Message-ID: In-Reply-To: References: <20261129071403.4890-1-daabu@qq.com> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261129_081523_764009_E3CD09DE X-CRM114-Status: UNSURE ( 9.85 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.1 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Am Sonntag, 29. November 2026, 08:14:02 Mitteleurop=C3=A4ische Normalzeit s= chrieb 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. >=20 > 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. >=20 > This follows the approach used for the Rock Pi-S by Brent Roman. >=20 > Signed-off-by: Abduwaris Nurmemet v2 [0] sent 2 hours later, dropped this patch [0] https://lore.kernel.org/linux-rockchip/tencent_8CBF26AEE0A30976D669C6FF= 243C03645907@qq.com/