From patchwork Wed Apr 10 10:39:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Belloni X-Patchwork-Id: 10893591 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 66A1F1515 for ; Wed, 10 Apr 2019 10:39:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C6C128691 for ; Wed, 10 Apr 2019 10:39:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3FFE6286D4; Wed, 10 Apr 2019 10:39:56 +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 0284128691 for ; Wed, 10 Apr 2019 10:39:56 +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=bABIElLKT7wmAQFPL29VpPFtEf2Yc/NvXfYkVSMQI9Y=; b=Ke3OSD8aeBE6sN EPwjL8dPkESgezyLVNM7WyIvCP5Xh7LMGOzkY/pWH0tuikjeUvccTkloRe/WceKx0qPPADaPNH4df plcSA/SZvGi89JlBhaXF7v565XXh+H2PqEmPcMpaVSZ0lTM7iZbOHtDsMjlDR6t6DOUW1nwV+MsQY QP81peFDUDdH8/+rrugKEHaXGlaY3JcQK9i8Z3hfM8qgzefdkCgbC9Dtv8uwxfaU4HRBu47mSooHV dPRYeFHbOharhBL7plZeJsLByDxeFXgUnKj8sECypBy67qjYrggp+fq2ONYwr5BsmP3fp7CBXgMeU CHdXa0r5CO9HVuAwPKIw==; 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 1hEAdy-00053x-AQ; Wed, 10 Apr 2019 10:39:50 +0000 Received: from relay8-d.mail.gandi.net ([217.70.183.201]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEAds-00052v-1N for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2019 10:39:48 +0000 X-Originating-IP: 109.213.33.177 Received: from localhost (alyon-652-1-42-177.w109-213.abo.wanadoo.fr [109.213.33.177]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 1DB051BF209; Wed, 10 Apr 2019 10:39:34 +0000 (UTC) From: Alexandre Belloni To: Linus Walleij , Bartosz Golaszewski Subject: [PATCH 0/3] gpio: lpc32xx: enable interrupts for port 3 Date: Wed, 10 Apr 2019 12:39:23 +0200 Message-Id: <20190410103926.8781-1-alexandre.belloni@bootlin.com> 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-20190410_033947_168212_959B9FF9 X-CRM114-Status: UNSURE ( 8.82 ) 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: devicetree@vger.kernel.org, Alexandre Belloni , linux-kernel@vger.kernel.org, Vladimir Zapolskiy , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 Hi, This series enables interrupt support for GPIOs on port 3. Those are the GPIOs that are connected directl to an interrupt controller (sic1 or sic2). This was tested on a custom LPC3250 design. The binding includes support for interrupts on port 0 and port 1 but this requires the registration of a proper irqchip and I don't have any way to test it. Patch 1 and 2 should probably go through the gpio tree while patch 3 should go through arm-soc. They are quite independant and this shoud cause no issue. Alexandre Belloni (3): dt-bindings: gpio: lpc32xx: document interrupt bindings gpio: lpc32xx: enable interrupt lookup for port 3 ARM: dts: lpc32xx: add GPIO interrupts .../devicetree/bindings/gpio/gpio_lpc32xx.txt | 4 +++ arch/arm/boot/dts/lpc32xx.dtsi | 25 +++++++++++++++++++ drivers/gpio/gpio-lpc32xx.c | 14 ++++------- 3 files changed, 34 insertions(+), 9 deletions(-)