From mboxrd@z Thu Jan 1 00:00:00 1970 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 1B09EC433EF for ; Fri, 25 Feb 2022 06:07:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237768AbiBYGHz (ORCPT ); Fri, 25 Feb 2022 01:07:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237738AbiBYGHt (ORCPT ); Fri, 25 Feb 2022 01:07:49 -0500 X-Greylist: delayed 905 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 24 Feb 2022 22:07:17 PST Received: from mail-sz.amlogic.com (mail-sz.amlogic.com [211.162.65.117]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 645D37C796; Thu, 24 Feb 2022 22:07:16 -0800 (PST) Received: from droid09-sz.software.amlogic (10.28.8.19) by mail-sz.amlogic.com (10.28.11.5) with Microsoft SMTP Server id 15.1.2176.2; Fri, 25 Feb 2022 13:52:08 +0800 From: Qianggui Song To: Thomas Gleixner , Marc Zyngier CC: Qianggui Song , Kevin Hilman , Neil Armstrong , Jerome Brunet , Martin Blumenstingl , , , , , Rob Herring Subject: [PATCH v3 0/4] irqchip/meson-gpio: Add support for Meson-S4 SoC Date: Fri, 25 Feb 2022 13:52:02 +0800 Message-ID: <20220225055207.1048-1-qianggui.song@amlogic.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.28.8.19] Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset add support for GPIO interrupt controller of Meson-S4 SoC Which has something different with current other meson chips. To support the new chips, current gpio irqchip driver need to rework as below: 1. support more than 8 gpio irq lines. 2. add a set trigger type callback function. With above work, add support for S4 gpio irqchip Changes since v2 at [1]: - rework nr channels allocations - move old controller set_type to a callback Changes since v1 at [0]: - fix leaking issue - fix some typos - change implementation of new feature. [0] https://lore.kernel.org/linux-amlogic/20220108084218.31877-1-qianggui.song@amlogic.com/ [1] https://lore.kernel.org/linux-amlogic/20220119070809.15563-1-qianggui.song@amlogic.com/ Qianggui Song (4): dt-bindings: interrupt-controller: New binding for Meson-S4 SoCs irqchip/meson-gpio: support more than 8 channels gpio irq irqchip/meson-gpio: add select trigger type callback irqchip/meson-gpio: Add support for meson s4 SoCs .../amlogic,meson-gpio-intc.txt | 1 + drivers/irqchip/irq-meson-gpio.c | 108 +++++++++++++++--- 2 files changed, 93 insertions(+), 16 deletions(-) -- 2.34.1