From patchwork Fri Aug 2 15:31:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Detlev Casanova X-Patchwork-Id: 13751701 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 572F3C3DA4A for ; Fri, 2 Aug 2024 15:35:52 +0000 (UTC) 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-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=oPBqkWW8XKqqhq+dDXN/20Fl0QB7lRo87aRuSjarCss=; b=j5X2bXCPu3UWT2A0TCdQMIpyvs U9yZOsL62IXuIF7G12kWgYlgUW3mE5VpwhkRWK0gcAFpZ7O+XoZUCwUhRiuKvE0putmWpRbGYmadv H4DVYenTd0CGuf+hQ/+s3wUoQLoOHFCRsKGBHjX0SwmD1/Gm8QI+qPuVXkYPjW/Ls5ax9NTUvGxat cyGf3FbOO4VD4JEf3lwnAFd6rDb6vhUT7XyuwnpIPn3d0hPPWbxmxpsAIy6l+NCqZ26L3ktYF8gtI 018tIDWki2qoI+Y+7WscZmnUxo1NgriT036PVFCX8UR3D2g8A3oEj3fZZ/tjGtcZk7RiJwOv1JIWf 51XOEKgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZuJf-00000009Icn-2Eux; Fri, 02 Aug 2024 15:35:39 +0000 Received: from madrid.collaboradmins.com ([46.235.227.194]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sZuJA-00000009ITV-0hol; Fri, 02 Aug 2024 15:35:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1722612904; bh=k5rIFuap9u09uK4DFf3V6w/o37SuG4BJxHIP00dzT/o=; h=From:To:Cc:Subject:Date:From; b=15wWidehvvP1d0fUCgwMWS5h4SN6RPQUX90ZDvRIaSEhKdErdn8heH8glxWkbYSWA WdamB47lPsOz2Ze+lvi2mV/lm8b3ywNWUiLRPI+iWoHuG/uYjZvxj4qRKLUAr3AFwd +of/UK1AaZ8agJgWpiQWPpTchQcGA/h99F6bjsTPFX8OfoVxjfB/OJYmTWCQIBFS8h u3qIe5NNJByDhxzgJbEPhvEA/DVr4D+ysR39ESExInRVeb1Mpz/q3SAMEKUWI2JKfF guKr7AKPwW9JWHfhMup4IseDQ+r+hI0N9N4VWMe5BUB8+5vEfNmzS8UbcwFUkHltJK UVTUhaJCHL4Yg== Received: from trenzalore.hitronhub.home (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: detlev) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 0D4BC3782212; Fri, 2 Aug 2024 15:35:02 +0000 (UTC) From: Detlev Casanova To: linux-kernel@vger.kernel.org Cc: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Jaehoon Chung , linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, Detlev Casanova Subject: [PATCH 0/3] Add dw_mmc support for rk3576 Date: Fri, 2 Aug 2024 11:31:26 -0400 Message-ID: <20240802153609.296197-1-detlev.casanova@collabora.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240802_083508_366421_852E4A9E X-CRM114-Status: GOOD ( 10.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The SD card controller on the rk3576 SoC uses a new tuning version that is capable of using pre-boot tuning information. Also, it stores the phase settings into the dw_mmc controller, so the code has to be adapted to implement that. Detlev Casanova (1): dt-bindings: pinctrl: Add rk3576 dw-mshc bindings Shawn Lin (2): mmc: dw_mmc-rockchip: Add v2 tuning support mmc: dw_mmc-rockchip: Add internal phase support .../bindings/mmc/rockchip-dw-mshc.yaml | 11 + drivers/mmc/host/dw_mmc-rockchip.c | 224 +++++++++++++++++- 2 files changed, 226 insertions(+), 9 deletions(-)