From patchwork Thu Sep 2 01:52:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?V2VuYmluIE1laSAo5qKF5paH5b2sKQ==?= X-Patchwork-Id: 12470705 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,UNPARSEABLE_RELAY,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 A43CCC4320E for ; Thu, 2 Sep 2021 01:52:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8C5C3610C7 for ; Thu, 2 Sep 2021 01:52:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233010AbhIBBxm (ORCPT ); Wed, 1 Sep 2021 21:53:42 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:56132 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S229910AbhIBBxl (ORCPT ); Wed, 1 Sep 2021 21:53:41 -0400 X-UUID: ec05276ee034453ca8f4f362d2a32c28-20210902 X-UUID: ec05276ee034453ca8f4f362d2a32c28-20210902 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 606596165; Thu, 02 Sep 2021 09:52:41 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 2 Sep 2021 09:52:40 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 2 Sep 2021 09:52:38 +0800 From: Wenbin Mei To: Ulf Hansson , Rob Herring , Matthias Brugger CC: Chaotian Jing , Avri Altman , Wenbin Mei , Wolfram Sang , Yoshihiro Shimoda , Linus Walleij , Yue Hu , Bean Huo , Adrian Hunter , , , , , Subject: [PATCH v2 0/2] mmc: mediatek: Add HS400 online tuning support Date: Thu, 2 Sep 2021 09:52:35 +0800 Message-ID: <1630547557-1573-1-git-send-email-wenbin.mei@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org Change in v2: - remove the check "mmc_can_ext_csd" - change the hs400 tuning condition for "msdc_cmd_done" function and "msdc_cmd_next" function - use "-EIO" instead of "-ERANGE" Wenbin Mei (2): dt-bindings: mmc: mtk-sd: add hs400 dly3 setting mmc: mediatek: Add HS400 online tuning support .../devicetree/bindings/mmc/mtk-sd.yaml | 7 ++ drivers/mmc/core/mmc.c | 8 ++ drivers/mmc/host/mtk-sd.c | 118 +++++++++++++++++- include/linux/mmc/host.h | 3 + 4 files changed, 134 insertions(+), 2 deletions(-) --- 2.17.1