From patchwork Mon Jan 17 07:12:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?QXhlIFlhbmcgKOadqOejiik=?= X-Patchwork-Id: 12714904 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AA443C433EF for ; Mon, 17 Jan 2022 07:15:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=pt2ijldyg0gNr3yYtPxUZLtD3sIQk7EuDfvz3tMwpwQ=; b=YfVEY3Pd9nHZvv H/j8qs4g47uEyEdj9NIepMinfWbjxV6TYPlQGC0nXZZH+dEFMf+SQoILihgoOZskn73t33SC4gJ/j JjL/sepBclttsRMnKiIq7tVMKLKiM4iE9H+oFKLlG8P/ZywBzb+onwO96PTFr/A3BPWlIUer2KN9g zKIc7RGNCAxjzUxyPhklBrLktxBq2TvjjIPsajfO81r+1UM+KV2VFplYISOSuSVhLOEWNmtQ7i1JU efCOmyD7zxCkuVavty+OyvOQQjLgymU+UZPtYBdA5PZT3W1mrY6Hg3Yu8stkWWjrIDKJLM70UZVrv dObaaP8hEiJ7/Qn95K7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n9MEr-00DnKE-By; Mon, 17 Jan 2022 07:15:37 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n9MCG-00DlyZ-CW; Mon, 17 Jan 2022 07:12:58 +0000 X-UUID: 24dfa01630be4301a37ecda67561a7e8-20220117 X-UUID: 24dfa01630be4301a37ecda67561a7e8-20220117 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1158234656; Mon, 17 Jan 2022 00:12:53 -0700 Received: from mtkexhb01.mediatek.inc (172.21.101.102) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 16 Jan 2022 23:12:27 -0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 17 Jan 2022 15:12:27 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 17 Jan 2022 15:12:25 +0800 From: Axe Yang To: Ulf Hansson , Rob Herring , Chaotian Jing , Matthias Brugger , Adrian Hunter CC: Yoshihiro Shimoda , Satya Tangirala , Andy Shevchenko , Wolfram Sang , Axe Yang , Lucas Stach , Eric Biggers , Andrew Jeffery , Stephen Boyd , Kiwoong Kim , Yue Hu , Tian Tao , , , , , , Subject: [PATCH v3 0/3]mmc: mediatek: add support for SDIO async IRQ Date: Mon, 17 Jan 2022 15:12:17 +0800 Message-ID: <20220117071220.17330-1-axe.yang@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220116_231256_489243_DDEE6929 X-CRM114-Status: GOOD ( 10.11 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Changes in v3: - correct abbreviations with capital letters in commit message - replace copyright year with 2022 in mtk-sd.c - remove unnessary pointer casting - adjust variable order to reversed xmas tree - remove a redundant blank line - refine if statement, following standard pattern Axe Yang (3): dt-bindings: mmc: add cap-sdio-async-irq flag mmc: core: Add support for SDIO async interrupt mmc: mediatek: add support for SDIO eint IRQ .../bindings/mmc/mmc-controller.yaml | 5 + drivers/mmc/core/host.c | 2 + drivers/mmc/core/sdio.c | 17 +++ drivers/mmc/host/mtk-sd.c | 125 ++++++++++++++++-- include/linux/mmc/card.h | 3 +- include/linux/mmc/host.h | 1 + include/linux/mmc/sdio.h | 5 + 7 files changed, 149 insertions(+), 9 deletions(-)