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: 4488 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp23784wrn; Tue, 24 Jan 2023 17:03:21 -0800 (PST) X-Google-Smtp-Source: AMrXdXvk3EzpJgsZguVGhpBLOommg2sOECP4P9mUMpaCrGDnrDUR50vf+qRrRLSxmKTvkVRuLlvq X-Received: by 2002:a05:6402:5306:b0:49b:b274:b815 with SMTP id eo6-20020a056402530600b0049bb274b815mr33701021edb.39.1674608601301; Tue, 24 Jan 2023 17:03:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674608601; cv=none; d=google.com; s=arc-20160816; b=IJdTqB7543kvxlagQAjAcFjoJRu34odKkI8rB5UkNF504zff1GF94uNnZYv5ZRLZcb sk9k6DxvKgaNtAZP2hIF8oGTAZOpWehoBb9eA5wOpMIua9JKRGCWgMIwb3sgCJ+oU2XK 2/+CfBxaVY/i6/4XZw/GBKxm5vgu+PJfIoSsJFe7Bftv2aGwW3hrdvHTU22d75HwnjwD BsAFogTUVaS7DFbh88hibLmVAQ0g8g8aN5PlfUtkKgVU8fGOLKZQvEkhcN3bN1sAulpg 3wClpH4RNbIhM4eXeaZSzCYv04WvzQFFaJGf9FkbiboJE2bTnIGI6gZ/mq28fOxncfgU FDxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=zhE/i9jXGmenTUjaa4/2EfX4NsEUrKRE8apZQlw09Hg=; b=OsCthqjblE5yTnIvwMW9zrYbOHl3XuzRqh+S6Ndf+L0tpMVhamI5mFD1Sud+ZMDsg7 FzUIm1ShU5mPEbTDY2/PW02I9FWNPs9jOOt78a/3jNXeVkZCaPU6hh6lx5DEH5wGR+fO PLYowZqMcHSOU4iVhZTXGJvkzxs7EPXWR/joOmYe7cgQ3qO/rOomHF5twswXd/y5sYwl KMEgbvhQSihDJ1QXIlge3eXhjkALHbq5ri2nzvxqpN42TLfMeFSIRH3yPsk2aQBINEw6 JZHa0Psx6qBQ59t3rnt0IduEMGnnBj/ZIWSMUlQffoqr8dGivUNPAJmXsp/pV3r7utVz vKcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 19-20020a170906015300b00877a7ce0ec4si5053754ejh.252.2023.01.24.17.02.52; Tue, 24 Jan 2023 17:03:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233330AbjAYBCS (ORCPT + 99 others); Tue, 24 Jan 2023 20:02:18 -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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755954388590244391?= X-GMAIL-MSGID: =?utf-8?q?1755954388590244391?= 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(-)