From patchwork Sun Mar 5 10:47:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Johansen X-Patchwork-Id: 13160075 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 D5F5BC61DA4 for ; Sun, 5 Mar 2023 10:50:30 +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=LdNyggfXvKU1iw0y7vJgt5OfY5zzu2ufPh8YY/OlaBc=; b=UfUT45ds4enVBK bO9rH1lv1pydFTIxHPQZNntHFU5Rn/SHRRcwWcxFrBvC8xPSJ+OS9krVM3jzHnTAuCT5bcvdSrSeD D6glNe427aKCjTzxnyEl7xA15xnIc3i6oj9nx8l+VP91FTuR9PiTnPnAL9ClET5A0tDWoGyZ/NSUd AtBUeDIj3UwXgCi0X13nAmXCZPKSKFc65kmjixG8RaFqgW5iJWn1lIq/FyyOU5GgvLNloUraw94c9 GHvlEFG7fnrPGPjHgF/tlMMz5EGnLhECOI+Flh1vWvSL2ohubbUpLUn9IlEHJ5lEbPzBYRXJmhdqU 9njCvb/Xuq1vQ6P5bTGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pYlwO-00A7Jr-7u; Sun, 05 Mar 2023 10:50:08 +0000 Received: from mail.manjaro.org ([2a01:4f8:c0c:51f3::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pYlwL-00A7JX-UK for linux-rockchip@lists.infradead.org; Sun, 05 Mar 2023 10:50:07 +0000 From: Dan Johansen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manjaro.org; s=2021; t=1678013403; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=5DJskEL05NR4ieEa7hFABiq66V9dMrQQrA+FqflsJs0=; b=qZGBzKPimGcXv9WtygwRAhOLG019nAdipIx6VwEmKjRjWkjd0qvKgbOqJN95URybAdsoh9 gEcIjw08S3lZBEGSfmax9yBm/CcWmOZHksHwpfjh/YkaKQx+d90FI/jiHpJOZtBYrP5sJI 2Q0h3eZGr2jNfp8vAZ9HWtjwMTPrpR/NKqoaX4/jUmzDD+7ycc8UItHEKDbpBnW+w0sYyY LKMIr7bghQjB9OrO80jHVzmEkpeMBNu5AS4QoNLpIzCw/Xh3+ux06uigHsOrqiU9rSlNZQ O/PnUGESHuig5sD3BBJMqNWADnIhIHStjzd1YA+Xukkgnsd1ej88BZ9nwbXXFA== To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, heiko@sntech.de Cc: devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org, Dan Johansen , Dragan Simic , JR Gonzalez Subject: [PATCH v2] arm64: dts: rockchip: Lower SD card speed on Date: Sun, 5 Mar 2023 11:47:31 +0100 Message-Id: <20230305104730.15849-1-strit@manjaro.org> MIME-Version: 1.0 Authentication-Results: ORIGINATING; auth=pass smtp.auth=strit@manjaro.org smtp.mailfrom=strit@manjaro.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230305_025006_173072_B0D648EB X-CRM114-Status: UNSURE ( 9.53 ) 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 MicroSD card slot in the Pinebook Pro is located on a separate daughterboard that's connected to the mainboard using a rather long flat cable. The resulting signal degradation causes many perfectly fine microSD cards not to work in the Pinebook Pro, which is a common source of frustration among the owners. Changing the mode and lowering the speed reportedly fixes this issue and makes many microSD cards work as expected. Co-developed-by: Dragan Simic Signed-off-by: Dragan Simic Tested-by: JR Gonzalez Signed-off-by: Dan Johansen --- Changes since v1: Use correct Co-developed-by and add missing Signed-off-by. arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts index 194e48c755f6..54bb0398128f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts @@ -943,7 +943,7 @@ &sdmmc { disable-wp; pinctrl-names = "default"; pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_bus4>; - sd-uhs-sdr104; + sd-uhs-sdr50; vmmc-supply = <&vcc3v0_sd>; vqmmc-supply = <&vcc_sdio>; status = "okay";