Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp72631pxm; Fri, 25 Feb 2022 04:15:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJxei4FW7WPSEAIRdDyNy3Gxvwmgeo+pPdB+kv01dKQ8VxZxot/48hhNT24hgKS9957oD/fy X-Received: by 2002:a17:907:505:b0:6cf:95c:5d6e with SMTP id wj5-20020a170907050500b006cf095c5d6emr5901102ejb.13.1645791325853; Fri, 25 Feb 2022 04:15:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645791325; cv=none; d=google.com; s=arc-20160816; b=UB3DRANC/cZDn7sTnrSCMPlx9Co6hiYphOgaK3byaD5X7b8zzSLhqT9eq1GTvOllKU vn5bZaDOSzawP1WtDC3t5wzaM3Fx11qp468ADH21IbqcAFz2VJ86cQiB08Je4+giz7dB TpcQfrYgmCw6f+wGRl6v1U4erOn8raZXL/RWJHRILlxfu6hctC4jANtAS7pCpeFxgk/1 icQ3rn3pw/b3fNpNUfTWH0QViGIf4JRLjAAAbuUZZcki9s5snjquxB0i76Iyo59CvVpG yXo4GfeerZddluWJ5LsJ92HbT7PrfIwVWOcREGfovx5O+cif0lGiBSthWBLfso/mHB5U OJEA== 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=TaXopLs275aNIjf/frU4oBo/nO0Vk/y18tP/JjXNGPk=; b=j9m5qpGJYv/T7o0xd6TSPIpCk7J1dv5pyQenaPGSPT4QpDMQ4BzFRu8f6FeSUxfqfs KhUb10htLp/7QKZ8N6xf6PJRX7/Pu3m22JIvRzGN05T9vQavoS86Pd3JTV381PGW0iHm ZcJmnaFDYHSqGPSad7gs8iE999cwCwhF8lY5gRLNZog1INAT/F+5jP82f3eyT5Q67Nmj bnMti6TDsrBelAaMojcXNFcOZBIfNJwxIGVU9USz4mD4DWGdVSmY5ArrbOIBukrbJO7V bJCfDAhQPvatOKOjJVikeCG4k6gn+DTI++KNcp63FXGh+4aezBkS4VaacWcKnMmLpTQ5 VYWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x13-20020aa7d38d000000b004134549fe1bsi1645021edq.453.2022.02.25.04.15.00; Fri, 25 Feb 2022 04:15:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237729AbiBYGHy (ORCPT + 99 others); Fri, 25 Feb 2022 01:07:54 -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] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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