From patchwork Mon Jul 20 00:42:35 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: 11672715 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 2B76913B1 for ; Mon, 20 Jul 2020 00:43:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 144612250E for ; Mon, 20 Jul 2020 00:43:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="nZRDTWr3" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726510AbgGTAmw (ORCPT ); Sun, 19 Jul 2020 20:42:52 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:40906 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726312AbgGTAmv (ORCPT ); Sun, 19 Jul 2020 20:42:51 -0400 X-UUID: c46ce339d45c4d388c09cfcd1ab30a55-20200720 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=FaqUdYxqi1XjkwCj1byDtXnVHu3nPZv58uEtqHctoQA=; b=nZRDTWr33CGvAhssr2lkL1TfnZATu1W6t085u7HJekr0LaK0WmyKwKNPP1RnchMIUrMjgzQvGzIQFa6WakMLsN4JEqLCGTCOo9hYBFJ6+EY2KYeDVfhaokteUr26JS8DHKG/IFf+EWpSd6xEYlhg27wXvRKY8J9TZ4ixeo96fz8=; X-UUID: c46ce339d45c4d388c09cfcd1ab30a55-20200720 Received: from mtkcas32.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 297892602; Mon, 20 Jul 2020 08:42:44 +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, 20 Jul 2020 08:42:42 +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, 20 Jul 2020 08:42:42 +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 v7 0/4] mmc: mediatek: add mmc cqhci support Date: Mon, 20 Jul 2020 08:42:35 +0800 Message-ID: <1595205759-5825-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: 1F865C90232599EFD426CA02B8A9A03CDAD99D6D654D6106C365D8346E3413832000: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: - 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) v4 -> v5: - Add Acked-by and more maintainers v5 -> v6: - Move CQE bindings back to vendor driver - Add mt6779 mmc support as an individual patch - Error handling for cq_host devm_kzallo() v6 -> v7: - Select MMC_CQHCI for MMC_MTK - Remove unnecessary option MMC_CQHCI in mtk-sd.c - Add error handling for cqhci_init() - Use native cqhci dt-bindings 'supports-cqe' Chun-Hung Wu (4): [1/4] mmc: mediatek: add MT6779 MMC driver support [2/4] mmc: mediatek: refine msdc timeout api [3/4] mmc: mediatek: command queue support [4/4] dt-bindings: mmc: mediatek: Add document for mt6779 Documentation/devicetree/bindings/mmc/mtk-sd.txt | 1 + drivers/mmc/host/Kconfig | 1 + drivers/mmc/host/mtk-sd.c | 160 +++++++++++++++++++++-- 3 files changed, 152 insertions(+), 10 deletions(-)