Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp1409876imk; Mon, 4 Jul 2022 02:29:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vAZoTiyFn6SMseuHaM/yDBBTAZTbJhG1/DLLtDfw8Syq7vxYNG17bPdzBns2AKWq7PLHb/ X-Received: by 2002:a17:902:a502:b0:151:8289:b19 with SMTP id s2-20020a170902a50200b0015182890b19mr34004053plq.149.1656926951972; Mon, 04 Jul 2022 02:29:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656926951; cv=none; d=google.com; s=arc-20160816; b=PlbFIMStk9nMBPkZ++Wf7s717uKd+ScREcEriZAVLIsC1NjkZEOb9hG318dlMMPupz 0aU8XTmZjf25QAaWBkPK/bX+HhWMkJvDIYj6oEEZ7OVPdG2VFcbc89Duv/ExV+t4ovxN WZl6GW0vxQo+9ZgcoH3F6XvV5lkSWYr3cVAZZMcwwAPbCeA1kGG+uZOMKkJPoeKN9Sp0 /Q1pCRrVCTDf8T+YWXLbfSJeCn2Ig0O9e9qie4bvOAu1DX7lw2ckOr1/wgITWXM1sWFZ LNiRNb9OoCPSbP60pMRnc8CPhG9mTML5q0VNE3W1NT+/VqKgDEKNbssvOEPOgDZqi5qz QDkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=5uGdTqhFSK/d45A5v+8theV0U3q4OmXZXn+CoY6k+Sw=; b=KW8SE4/H21ewLQ64W+kGGbtq7E/+NxwwGGeO8MzB0QNQregHQ7dXiDU2qrsSCqfjt6 KZ8nlpu/4Idd9dcQG7FokrpNsSjmSW17UbF/Ui9eefLa4Y58Ic0fT25CzxOcefpb0JJf 5mwnEndqyCrVQmpMoFUxQIpeyv0XYgGZJo5gcObDCLefWKJ2ZPWfGQf6VzzXJzTJUs0I 9sBS8iq8v8p75pz1Iqn1AXeti7LMfysu+YbMFfnSbr3nifEpE0oF1xJnJuv/ZXEVGdCa vuGj2QVIONmTyYyDwmR395lMQberCNZ76UEyFwt9ea0a351HXzowJ/f7LB8vEd+aqhHr Nf0A== 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 g124-20020a636b82000000b00411a3b71a8fsi16772934pgc.219.2022.07.04.02.28.58; Mon, 04 Jul 2022 02:29:11 -0700 (PDT) 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 S233679AbiGDJUL convert rfc822-to-8bit (ORCPT + 99 others); Mon, 4 Jul 2022 05:20:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233663AbiGDJUK (ORCPT ); Mon, 4 Jul 2022 05:20:10 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CFAA1119 for ; Mon, 4 Jul 2022 02:20:09 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8IFJ-0006pD-Is; Mon, 04 Jul 2022 11:19:57 +0200 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1o8IFD-004LI3-0I; Mon, 04 Jul 2022 11:19:54 +0200 Received: from pza by lupine with local (Exim 4.94.2) (envelope-from ) id 1o8IFF-0004PA-Pd; Mon, 04 Jul 2022 11:19:53 +0200 Message-ID: <36ebb15c321f33176ed8c064b4a58a739acb8727.camel@pengutronix.de> Subject: Re: [PATCH v7 2/5] irqchip: Add RZ/G2L IA55 Interrupt Controller driver From: Philipp Zabel To: Lad Prabhakar , Marc Zyngier , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Linus Walleij , Bartosz Golaszewski , devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-gpio@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Biju Das , Lad Prabhakar Date: Mon, 04 Jul 2022 11:19:53 +0200 In-Reply-To: <20220703194020.78701-3-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20220703194020.78701-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220703194020.78701-3-prabhakar.mahadev-lad.rj@bp.renesas.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Hi Prabhakar, On So, 2022-07-03 at 20:40 +0100, Lad Prabhakar wrote: > Add a driver for the Renesas RZ/G2L Interrupt Controller. > > This supports external pins being used as interrupts. It supports > one line for NMI, 8 external pins and 32 GPIO pins (out of 123) > to be used as IRQ lines. > > Signed-off-by: Lad Prabhakar > --- >  drivers/irqchip/Kconfig | 8 + >  drivers/irqchip/Makefile | 1 + >  drivers/irqchip/irq-renesas-rzg2l.c | 393 ++++++++++++++++++++++++++++ >  3 files changed, 402 insertions(+) >  create mode 100644 drivers/irqchip/irq-renesas-rzg2l.c > > diff --git a/drivers/irqchip/irq-renesas-rzg2l.c b/drivers/irqchip/irq-renesas-rzg2l.c > new file mode 100644 > index 000000000000..4e977fa04bbe > --- /dev/null > +++ b/drivers/irqchip/irq-renesas-rzg2l.c > @@ -0,0 +1,393 @@ [...] > +static int rzg2l_irqc_init(struct device_node *node, struct device_node *parent) > +{ [...] > + resetn = devm_reset_control_get_exclusive(&pdev->dev, NULL); > + if (IS_ERR(resetn)) > + return IS_ERR(resetn); return PTR_ERR(resetn); regards Philipp