From patchwork Wed Jan 25 01:01:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 13114936 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 CF7CFC61DA0 for ; Wed, 25 Jan 2023 01:04:22 +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=O2Sme08oU+sRLVVavQotowk0kZKANfoEZYdAmu68gFc=; b=UIJpBzFZZMBG7e AbY70U63OIOvMWBc2/xvH1Dvv97zZ8bxzUj+agvz4F6OV8orIdC6OPN/mUOZhLgnGTC6iZjmNN2mL Nz53GweFDi7UnR2oQBnZzgganJ3VPVdLXQY49FbRQ/VmytwGP9Wvul/8k/qa4CbmvBgt1RurXymPI RsY6N5gVh47nqXKoKV1QYcg66toP/QAYeqlnb5sW05aKGoHoInkZPQAIsyrHtWDN8YCTa7CAJg9R2 /A0gCAE6YGzSHDvxdfJd+/azi1RZscty4M+RzfInckznhchvAnmLFw9BEcc6iufo6XMIBpv0jioDq LWrv95b/8Dwf7cMc2gbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKUBg-005lgx-Ru; Wed, 25 Jan 2023 01:02:52 +0000 Received: from mx.socionext.com ([202.248.49.38]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKUBT-005lXr-8c for linux-arm-kernel@lists.infradead.org; Wed, 25 Jan 2023 01:02:43 +0000 Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 25 Jan 2023 10:02:10 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 010362059054; Wed, 25 Jan 2023 10:02:10 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Wed, 25 Jan 2023 10:02:12 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 5B0DC3D53; Wed, 25 Jan 2023 10:02:09 +0900 (JST) From: Kunihiko Hayashi To: Ulf Hansson , Rob Herring , Krzysztof Kozlowski , Masami Hiramatsu Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH 0/5] mmc: uniphier-sd: Add UHS mode support Date: Wed, 25 Jan 2023 10:01:56 +0900 Message-Id: <20230125010201.28246-1-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230124_170239_459116_23C7DC2F X-CRM114-Status: GOOD ( 13.22 ) 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 uniphier-sd controller needs to control some siginals from the SD interface logic to transition to UHS mode. This series adds UHS mode support to the controller driver to refer to and control the interface logic registers, which include mode selector and SDR speed selector. Kunihiko Hayashi (5): dt-bindings: mmc: uniphier-sd: Add socionext,syscon-uhs-mode property mmc: uniphier-sd: Add control of UHS mode using SD interface logic mmc: uniphier-sd: Add control to switch UHS speed ARM: dts: uniphier: Add syscon-uhs-mode to SD node arm64: dts: uniphier: Add syscon-uhs-mode to SD node .../bindings/mmc/socionext,uniphier-sd.yaml | 10 +++ arch/arm/boot/dts/uniphier-ld4.dtsi | 3 +- arch/arm/boot/dts/uniphier-pro4.dtsi | 3 +- arch/arm/boot/dts/uniphier-pro5.dtsi | 3 +- arch/arm/boot/dts/uniphier-pxs2.dtsi | 3 +- arch/arm/boot/dts/uniphier-sld8.dtsi | 3 +- .../boot/dts/socionext/uniphier-ld20.dtsi | 3 +- .../boot/dts/socionext/uniphier-pxs3.dtsi | 3 +- drivers/mmc/host/uniphier-sd.c | 83 +++++++++++++++++-- 9 files changed, 102 insertions(+), 12 deletions(-)