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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51353C43219 for ; Tue, 11 Jan 2022 01:41:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243991AbiAKBlA (ORCPT ); Mon, 10 Jan 2022 20:41:00 -0500 Received: from mailgw01.mediatek.com ([60.244.123.138]:50378 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S243832AbiAKBk5 (ORCPT ); Mon, 10 Jan 2022 20:40:57 -0500 X-UUID: 4b224347e7dd4755b49f11ef0cc2c178-20220111 X-UUID: 4b224347e7dd4755b49f11ef0cc2c178-20220111 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 150824775; Tue, 11 Jan 2022 09:40:51 +0800 Received: from mtkexhb01.mediatek.inc (172.21.101.102) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 11 Jan 2022 09:40:50 +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; Tue, 11 Jan 2022 09:40:50 +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; Tue, 11 Jan 2022 09:40:49 +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 v2 0/3]mmc: mediatek: add support for SDIO async irq Date: Tue, 11 Jan 2022 09:40:43 +0800 Message-ID: <20220111014046.5864-1-axe.yang@mediatek.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change in v2: - change flag name from 'cap-sdio-async-int' to 'cap-sdio-async-irq' - change corresponding macro names from xxx_INT to xxx_IRQ - resort new member in msdc_host structure - refine function msdc_request_dat1_eint_irq() - rename msdc_{suspend,resume} function names, add suffix '_noirq' - add MMC_CAP2_NO_SDIO judgement before parse eint related pin setting 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 | 124 ++++++++++++++++-- include/linux/mmc/card.h | 3 +- include/linux/mmc/host.h | 1 + include/linux/mmc/sdio.h | 5 + 7 files changed, 148 insertions(+), 9 deletions(-) -- 2.18.0