From patchwork Mon Apr 6 09:27:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?Q2h1bi1IdW5nIFd1ICjlt6vpp7/lro8p?= X-Patchwork-Id: 11475067 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 94AF51744 for ; Mon, 6 Apr 2020 09:28:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6FBA320787 for ; Mon, 6 Apr 2020 09:28:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="KGR+0bgK" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726828AbgDFJ2U (ORCPT ); Mon, 6 Apr 2020 05:28:20 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:34236 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726670AbgDFJ2U (ORCPT ); Mon, 6 Apr 2020 05:28:20 -0400 X-UUID: 3656757b538e40b09f487adb9db2799c-20200406 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=Eb9PeHDUAD6Sk82KJ2hdDxB7g4C2DRSe1cr+DuQ+Mn4=; b=KGR+0bgKXMvM7qweK5tOETDijq2A0M6NHep2PzMwb/R2lqJzZBMKL8AAVZe8kFJJy7xdnxuumU6FMbt7Vr2MOZFuLS4tBBrCedqrVBAHTCl0RrHf4zCvSSilap1ceUVQxSYs7f9PfHWrjwOpcl8Y8TG6MAheFMzLPVgVryhQdsE=; X-UUID: 3656757b538e40b09f487adb9db2799c-20200406 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 80571671; Mon, 06 Apr 2020 17:28:03 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by MTKMBS31N1.mediatek.inc (172.27.4.69) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 6 Apr 2020 17:28:02 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 6 Apr 2020 17:28:01 +0800 From: Chun-Hung Wu To: , Jonathan Hunter , Al Cooper , Adrian Hunter , Florian Fainelli , , Andy Gross , Bjorn Andersson , Michal Simek , Thierry Reding , Chaotian Jing , Ulf Hansson , Rob Herring , Mark Rutland , Matthias Brugger , Linus Walleij , Pavel Machek , Kate Stewart , Greg Kroah-Hartman , Martin Blumenstingl , Pan Bian , Thomas Gleixner , Allison Randal , Mathieu Malaterre , Stanley Chu , Kuohong Wang CC: , , , , , , , , , Chun-Hung Wu Subject: [PATCH v4 0/5] mmc: mediatek: add mmc cqhci support Date: Mon, 6 Apr 2020 17:27:56 +0800 Message-ID: <1586165281-11888-1-git-send-email-chun-hung.wu@mediatek.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-TM-SNTS-SMTP: 5837B5355725B33750F6938581113CF1D07BE672A4C9846C0BF9FD8664FE73292000:8 X-MTK: N Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org This series provides MediaTek cqhci implementations as below: - Extend mmc_of_parse() to parse CQE bindings - Remove redundant host CQE bindings - Refine msdc timeout api to reduce redundant code - MediaTek command queue support - dt-bindings for mt6779 v1 -> v2: - Add more patch details in commit message - Separate msdc timeout api refine to individual patch v2 -> v3: - Remove CR-Id, Change-Id and Feature in patches - Add Signed-off-by in patches v3 -> v4: - Refine CQE bindings in mmc_of_parse (Ulf Hansson) - Remove redundant host CQE bindings (Linux Walleij) Chun-Hung Wu (5): [1/5] mmc: core: Extend mmc_of_parse() to parse CQE bindings [2/5] mmc: host: Remove redundant CQE bindings [3/5] mmc: mediatek: refine msdc timeout api [4/5] mmc: mediatek: command queue support [5/5] dt-bindings: mmc: mediatek: Add document for mt6779 Documentation/devicetree/bindings/mmc/mtk-sd.txt | 1 + drivers/mmc/core/host.c | 5 + drivers/mmc/host/mtk-sd.c | 151 +++++++++++++++++++++-- drivers/mmc/host/sdhci-brcmstb.c | 11 +- drivers/mmc/host/sdhci-msm.c | 3 +- drivers/mmc/host/sdhci-of-arasan.c | 3 - drivers/mmc/host/sdhci-tegra.c | 2 +- 7 files changed, 155 insertions(+), 21 deletions(-)