From patchwork Thu Aug 25 19:52:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 12955188 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 92A38ECAA27 for ; Thu, 25 Aug 2022 19:54:00 +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:Cc:To:Subject:From:MIME-Version:Date: Message-ID: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=D/tAMSmplKzFGr4VtwlxNrCBgHTafHP2/sChWNDe4QU=; b=DqoYx8r+yLq81+ rzNhu7EWPjNzV21TyeTfFSNtFiVlUoax15+2y3dr7mamB5DxBKFb0IYAllWcKuzLzderBPJFwOW8P vCMnxkAZ3+uw+KaE/acNy3otzck/WYh6evcCBXSM11ol1nBuqnQWmLBqkn2OVOTzRkt9AvfGIjAui amqKNvQlMhlms2JHz8iunaVmLLK48i8OqGHkGf/qCLtmETZ915qVmBocfpdMemfJb98Gm9qs+S+Xh Uc5L4xk3505XK3xJRISykLYSIpWGZm6ucBn4QT0cS6uawzEmG1ysIssrlckelipgRDE4eTwcP7LP2 alAukOnRoN/A+wGsvbQg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRIuQ-002smd-3l; Thu, 25 Aug 2022 19:52:58 +0000 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oRIuN-002sju-9d; Thu, 25 Aug 2022 19:52:56 +0000 Received: by mail-ed1-x52e.google.com with SMTP id b16so27478910edd.4; Thu, 25 Aug 2022 12:52:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc; bh=YZ/i2GUAQi2cQp6QrxSxxAPIHVo7GpOuEoWXlrwJRxY=; b=OpnTNk5d2dPsoFZnsZOT1TqDoRjrlgAZCStMnSYVsRUqyrBBiT2dzSepu6hGOojLnV eg6y6uXBcMCTEqCQt15zltzYoNiuCG2ECefqLnjoSm1pfkjx/WF/ebrJr0Xl1KETflDR 3vwN4N3GCbx1Gyr6vglwN3KwaUBpilXbgN7+iLaONCFORrjz41nf4t0Bgk+HBr8FjEdY vGi4Tny5/9QzH7FBrSQ6fuQkaVjUFOddkXrS5QGltgKS/uQZu9M+gGiPq3G42XAKstPt +t2y91Yk6koVd9hIpcbRmUTkjR8TG8eKKG/SDSRy5RjqaOKRP98OGsi3PfFp8wMwjcs9 MdAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:content-language:cc:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc; bh=YZ/i2GUAQi2cQp6QrxSxxAPIHVo7GpOuEoWXlrwJRxY=; b=DtViT5EroyTRkFoEsghwRqOYYqXjj+grJSSSE+SJswY/LTHtj9ZS/omce9I0ei8nfw WDoKfkdj6L8xLTizeaqtUWD8Koa19acLBIqiJktiGCEglHpIvNUdtEgBjPbxT0jHxfJy 7YaySD6yZMFhpzIW9QrykxOfyA5vVumWWrFR+pbYeHpB66BvQRrZ5bbdRLa7iGC5VMZk 7AajkGualmyQOPtQVNw/F+404/fU9ieVJNBx9P+CLyTc2SYe/u1vVHrithT5VPN3Og06 fsWVLDtscy1eGjHJ9aRjlE4ac9ZaUrUDgIYO1AoLULHiBL5D9rRvqUulrIXVJ8OPbCzu MvsA== X-Gm-Message-State: ACgBeo3RNnqlBtPuSnHcsB/ovz8F2MStTnASp0CKJ6x1fHPtYx4kUzad Onn2AMLPVy3n0TyuGCYtxfg= X-Google-Smtp-Source: AA6agR6tuGauKOsJtiyebBmulfuqN52pYGFT+djQK1Yv/m4LtmSjaFjTL6JXKp90u8V9lkuKrEJ0sg== X-Received: by 2002:a05:6402:3711:b0:445:e264:beed with SMTP id ek17-20020a056402371100b00445e264beedmr4408738edb.136.1661457172856; Thu, 25 Aug 2022 12:52:52 -0700 (PDT) Received: from ?IPV6:2a01:c22:72a6:5f00:b844:7c7d:e964:bb65? (dynamic-2a01-0c22-72a6-5f00-b844-7c7d-e964-bb65.c22.pool.telefonica.de. [2a01:c22:72a6:5f00:b844:7c7d:e964:bb65]) by smtp.googlemail.com with ESMTPSA id p17-20020a50cd91000000b004479cec6496sm170461edi.75.2022.08.25.12.52.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 25 Aug 2022 12:52:52 -0700 (PDT) Message-ID: <72459a46-fd20-60d8-a7e7-076d8f321816@gmail.com> Date: Thu, 25 Aug 2022 21:52:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 From: Heiner Kallweit Subject: [PATCH v3 0/2] mmc: meson-gx: add SDIO interrupt support To: Ulf Hansson , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: "linux-mmc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "open list:ARM/Amlogic Meson..." Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220825_125255_399782_977B95A5 X-CRM114-Status: UNSURE ( 4.73 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add SDIO interrupt support. Successfully tested on a S905X4-based system (V3 register layout) with a BRCM4334 SDIO wifi module (brcmfmac driver). v2: - use new SDIO interrupt API v3: - don't duplicate checking mmc->sdio_irq_pending Heiner Kallweit (2): mmc: meson: adjust and re-use constant IRQ_EN_MASK mmc: meson-gx: add SDIO interrupt support drivers/mmc/host/meson-gx-mmc.c | 84 +++++++++++++++++++++++++-------- 1 file changed, 65 insertions(+), 19 deletions(-)