Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1162078pxb; Fri, 21 Jan 2022 11:10:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJx831SkezLMFMFZhjFTOyHIv6j95tQ24XyoRmzseeRd2dw10nohIzVKEQWIEnS3XhXsZw6e X-Received: by 2002:a05:6a00:1592:b0:4c2:7f6e:c37d with SMTP id u18-20020a056a00159200b004c27f6ec37dmr5148065pfk.82.1642792205507; Fri, 21 Jan 2022 11:10:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642792205; cv=none; d=google.com; s=arc-20160816; b=yvfY877m9sKjROBRaVoyl7G49M9K7NKfqhxARtrc1sP3n7Jrk/R6+hLKuZNTEIAvnI QxZ46ou9y4cBRhrZsMdd15eozdzFYTN/Zcg9L97IanwyJ+HaU48wsAwLIzIptuIaMzkR fcKJ5LnkYGnSPAGIWpChBMOS75SvDMAR3Xcjcc58n72ASlUIcuLkKMyi/ULe8fhlgsUl 15I9i2Pl2c202pzgDlPvfYMPjRvtK9AJTn3Wyj5R9KkiLHZoDMeKptjxsvM3uLRc/Z6I MuQXfitcRldacnFYPzKoIzo8P/FMub40JtE1KF7eTxRShUiBSdIGVYIh3EKMguVkX2Xi UcTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=dQ/bEQ3AOR/nmTFHPQr6qUwUuSUrBk5j61pdCtnZmMw=; b=qHpSVlGlEfNz4lfpWcETsDHuCiL4qnqZTeAAW1G8j6DhDXBMA7EKmD+YsjWWBaNSpY uGg8oFt44XM3j9C+UBm2zP5G7kgPWkprIianxB+nNmuLoPHA/yVPJ2CIZiYNAIjlWS15 /dN2GGhSGypIghwNa6NAIviKFNmd4866viWX01DmMiplL17Hzt1XNAcy+/7FkHIy0FJj 20kxl8jsCEQsABncYCa5FQoesb/B4g+8aYlNVAmgJH180PhNGnwTLzmpdfPEqkRStnU4 V5dsTXJg7zL1TgOt6HvhEU2Yi0Ab8wWG3eHnzOlzdbHv1f/jDH4XiCQ7E5vazHWifpkd lcfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 22si7365419pgb.85.2022.01.21.11.09.52; Fri, 21 Jan 2022 11:10:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353888AbiASKcq (ORCPT + 99 others); Wed, 19 Jan 2022 05:32:46 -0500 Received: from mailgw01.mediatek.com ([60.244.123.138]:46348 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1353769AbiASKcV (ORCPT ); Wed, 19 Jan 2022 05:32:21 -0500 X-UUID: 4a9bd75550104cf1befcf222462c9adf-20220119 X-UUID: 4a9bd75550104cf1befcf222462c9adf-20220119 Received: from mtkcas11.mediatek.inc [(172.21.101.40)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 460754678; Wed, 19 Jan 2022 18:32:17 +0800 Received: from mtkexhb01.mediatek.inc (172.21.101.102) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Wed, 19 Jan 2022 18:32:16 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Jan 2022 18:32:15 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 19 Jan 2022 18:32:14 +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 v4 0/3] mmc: mediatek: add support for SDIO eint IRQ Date: Wed, 19 Jan 2022 18:32:09 +0800 Message-ID: <20220119103212.13158-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 v4: - add MMC_CAP2_SDIO_ASYNC_IRQ judge before lookup eint pinctrl - replace spin_lock_irqsave() variant with spin_lock() in eint irq handler 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.25.1