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: 647903 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1FD4C38142 for ; Wed, 25 Jan 2023 01:02:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233858AbjAYBCR (ORCPT ); Tue, 24 Jan 2023 20:02:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57172 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230294AbjAYBCQ (ORCPT ); Tue, 24 Jan 2023 20:02:16 -0500 Received: from mx.socionext.com (mx.socionext.com [202.248.49.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4F43F2330B; Tue, 24 Jan 2023 17:02:12 -0800 (PST) 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 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.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(-)