From patchwork Thu Apr 8 01:52:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Lee X-Patchwork-Id: 417811 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1E38C43462 for ; Thu, 8 Apr 2021 02:24:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D525C6113A for ; Thu, 8 Apr 2021 02:24:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230458AbhDHCYN (ORCPT ); Wed, 7 Apr 2021 22:24:13 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:21368 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230020AbhDHCYN (ORCPT ); Wed, 7 Apr 2021 22:24:13 -0400 Received: from twspam01.aspeedtech.com (localhost [127.0.0.2] (may be forged)) by twspam01.aspeedtech.com with ESMTP id 1381hd4D042165; Thu, 8 Apr 2021 09:43:39 +0800 (GMT-8) (envelope-from steven_lee@aspeedtech.com) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 1381gIZX042076; Thu, 8 Apr 2021 09:42:18 +0800 (GMT-8) (envelope-from steven_lee@aspeedtech.com) Received: from localhost.localdomain (192.168.100.253) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 8 Apr 2021 09:52:22 +0800 From: Steven Lee To: Andrew Jeffery , Ulf Hansson , Rob Herring , Joel Stanley , "Adrian Hunter" , Ryan Chen , "moderated list:ASPEED SD/MMC DRIVER" , "moderated list:ASPEED SD/MMC DRIVER" , "open list:ASPEED SD/MMC DRIVER" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "moderated list:ARM/ASPEED MACHINE SUPPORT" , open list CC: , Subject: [PATCH v1 0/2] mmc: sdhci-of-aspeed: Support toggling SD bus signal Date: Thu, 8 Apr 2021 09:52:16 +0800 Message-ID: <20210408015218.20560-1-steven_lee@aspeedtech.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [192.168.100.253] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 1381gIZX042076 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Hello, This series implements support for toggling SD bus signal voltage by GPIO pin. This series has been tested on AST2600-A2 EVB with APLL and 200MHz HCLK clock source with sdr104, sdr50, sdr25, sdr12 and high speed mode. This series were also be tested on AST2600-A1 EVB and AST2500 EVB that don't have the design of signal voltage toggling by GPIO. Please help to review. Regards, Steven Steven Lee (2): dt-bindings: mmc: sdhci-of-aspeed: Add power-gpio and power-switch-gpio mmc: sdhci-of-aspeed: Support toggling SD bus signal voltage by GPIO .../devicetree/bindings/mmc/aspeed,sdhci.yaml | 25 +++ drivers/mmc/host/sdhci-of-aspeed.c | 155 ++++++++++++++++-- 2 files changed, 162 insertions(+), 18 deletions(-)