From patchwork Thu Apr 25 10:20:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 10916759 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1A3BB1575 for ; Thu, 25 Apr 2019 10:20:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0994B28C33 for ; Thu, 25 Apr 2019 10:20:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F18A828C3F; Thu, 25 Apr 2019 10:20:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9CF2B28C5E for ; Thu, 25 Apr 2019 10:20:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=WkyHDBsOgXY8DnDjdUU3fF1iBu14v69NA1btS4ZGLig=; b=l7j3VhiOW39spE /wfEJEcDN57KsjBg94Tt+QD/mo0baK90tOVoxgmhUHO90QceNZffGeR/HyI93wlGGyDzP2+1EMW8S ETi8bqY2NcFzMM5K3gkaZULvNj3RG2I8nXrLlx4pEoXkq2bgQiQGVhE0a0t2IQZxJIAhnGDxNz6sm VVu6Igx7qjBS8Rr1IbHouBEqsk2O6T6kjErhNiyHU7PC8Q6KGbGtUhByRViuj/KiY2676ZdcguKa3 uyFiYpjvs18LagAelF9x7Sf/qA6txIAwL6K0WO340KAe9cYfbDRCB0Vzs0vtKO7AQLo7X9uEadtUd NeH/OPTEPw4b+7bwfkEQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJbUU-0004rs-Px; Thu, 25 Apr 2019 10:20:30 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJbUP-0004o1-64 for linux-arm-kernel@lists.infradead.org; Thu, 25 Apr 2019 10:20:29 +0000 Received: by mail-wm1-x341.google.com with SMTP id c1so8498911wml.4 for ; Thu, 25 Apr 2019 03:20:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XqNLGma+ixHx7XIvDs40zCtRSaXc3gkgaMrErDoBfZc=; b=i3xq6Ek+UWnbbgUUoOlRn5hq0zP+h3wcQkD0iiYL1EGGop5H5HOjjDPpCONxaaFGwm zrA+9HZoRcyUKv4sIuY3ISAuPPp/QG+Oci6yyddSHNzrR6iQmu2Yn8LP+pA6ppWHatuF KfUT29hMpbK4hs4x3jD+98oClAD9XO2SjtxKEtpEcweyaig43zSH60OVKeKvU9V6OntS 3UEqEgVp1wxdWctEiiHxoUbYoIRve60zsnpILefD9IuNRIWUS8ZHah8K2L+aOSpH051L LDe2f3QDv44d/KZIYJVM+JW4jsbu6DWJVeVLvEnvkGOTY2K36V8eTWcB1PssdKujGNXy oL9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=XqNLGma+ixHx7XIvDs40zCtRSaXc3gkgaMrErDoBfZc=; b=uQ+QrkRg8eQBx5A1GA1/CTJXfsXIWNdHvqddjA95SaUH75piz5mDk/HXSw11AxPMmR wjwGUS7GELtKMJzdna8JkUyrhte0508B+dMrSQ7oN6/4aFcXXlsL9I6r2nbYidzczVCe X3mXHOZOcseHr6+rOPigwnCWxJX/WRvsty18Hlp+yubwJphYpcwmOYF7g4xsWJcxwYJs y7x/ZkynCZ36PPX8UuIcWvUYEXMZPVx59XOUqz9zQRwz9Tn5fLfgyfTpirFUCxrXvAtg v8uJkUX4XJ3t25NZqiIPq0vMPQ14uhJ05tnLw8iwmEHrJ4nBiB+bV3LljKv3q++F+qR9 cJxw== X-Gm-Message-State: APjAAAXCFDAOAJmiOD2vtt/NqSUhrHC1TM0uMGpGe/zHf0vexI59eiqy aARCjq0pDt02kCDNBZVWogFn3358lGXGZQ== X-Google-Smtp-Source: APXvYqy1T/u7dBq0CQGboRkv2BXlNbU+oQFbEQnKNWQfRHpL+J5mD9CU0KzSpLC9sYv7QUxj1mwqcw== X-Received: by 2002:a1c:7e10:: with SMTP id z16mr3029925wmc.117.1556187622757; Thu, 25 Apr 2019 03:20:22 -0700 (PDT) Received: from sudo.home ([2a01:cb1d:112:6f00:95f:9014:5be9:5288]) by smtp.gmail.com with ESMTPSA id p18sm5611364wrp.38.2019.04.25.03.20.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 03:20:21 -0700 (PDT) From: Ard Biesheuvel To: linux-arm-kernel@lists.infradead.org Subject: [RFC PATCH 0/3] synquacer: implement ACPI gpio/interrupt support Date: Thu, 25 Apr 2019 12:20:17 +0200 Message-Id: <20190425102020.21533-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190425_032025_238545_C9955848 X-CRM114-Status: UNSURE ( 8.35 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Graeme Gregory , Ard Biesheuvel , Marc Zyngier , Linus Walleij , linux-gpio@vger.kernel.org, Masahisa Kojima Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Wire up the existing GPIO and interrupt controller drivers to the ACPI subsystem so they can be used on ACPI systems for ACPI event (power button, hardware error notification etc) Cc: Masahisa Kojima Cc: Linus Walleij Cc: Marc Zyngier Cc: Graeme Gregory Ard Biesheuvel (3): irqchip/exiu: preparatory refactor for ACPI support irqchip/exiu: implement ACPI gpiolib/irqchip support gpio: mb86s70: enable ACPI and irqchip support drivers/gpio/Kconfig | 4 + drivers/gpio/gpio-mb86s7x.c | 58 ++++++-- drivers/irqchip/irq-sni-exiu.c | 157 +++++++++++++++----- 3 files changed, 173 insertions(+), 46 deletions(-)