Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp4022108imw; Thu, 7 Jul 2022 11:19:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sqJhawEtrfBtg+UoTpZi09l6eVvr8kewHtSjPu9vFwHyLWqw9n61pBHDktNDLfOXSwdtD2 X-Received: by 2002:a17:903:228b:b0:16b:ee10:b91 with SMTP id b11-20020a170903228b00b0016bee100b91mr18956591plh.27.1657217941217; Thu, 07 Jul 2022 11:19:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657217941; cv=none; d=google.com; s=arc-20160816; b=yqyPqvO5B+Zctet/9A1GbyYPLwbEk9wiMKQad23erixh/TsES/ntjVYCvUnSJ4Ld0M NwdXrXFuDkTbD3I6gkO0uXVkicSp/WPpJIeRZ8ROV3NOJtu20umy73ay3s2GxDChtZnm NVHER1SD2hIMrlxv8J1D0hyZyNYP9sJrdHkQkkwtW29K9fhpL4s5GBYsJijKr5XbdUhm olnJKns1MXzeGjkXJiW0DQmd+9tj8l0KMF0J9pdO3JdQE4fnkdZH+5SMDx6wySnT1Q30 4qfItDBq3/sXrDvo10GBUvm7qIUmmVHk84Y+5F/TzcEIQ4eAe4DnnQElbkO8T5AXA0aK 8qMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=KR2UDwCoOFfk3aid7VAOv89TmttgxGQj+7CaHoga6Qg=; b=Ll6cBA/+gt58NjNJZuk2dYOFgZrSVv/Lp1NfijBUdPA/YLB3M82e9Um3SZgMSkxaoc 2iyh3YePDMpIGyEGAmiAXdDm8XLRLSVh/ykLoErKpbrkrc8ohAYvk6802yITfnsv8ymv c08oOeim90GNf9D/s2T0cH7imjA0JltzVbg8rZoYoBSvIDCpe1SOiiaKFX1pD7CnjBtK CqqutU5FlnNQok0kX/th0fMXR6luf0dwLF43n1/v1/IKrL/DcKErbLkW94tjFYC7rc83 mvowTG+ifnMip1Q1C+R9yEPeeNnZtkxdR2uQaJ1i9ZkvIO6dOm3DfjPj0BvP61YhCNat wGJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MRaATrwP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j6-20020a63fc06000000b004128ea1a97dsi10268662pgi.399.2022.07.07.11.18.49; Thu, 07 Jul 2022 11:19:01 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=MRaATrwP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231320AbiGGRwH (ORCPT + 99 others); Thu, 7 Jul 2022 13:52:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235801AbiGGRwF (ORCPT ); Thu, 7 Jul 2022 13:52:05 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F23CF59253; Thu, 7 Jul 2022 10:52:04 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id sb34so33673935ejc.11; Thu, 07 Jul 2022 10:52:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=KR2UDwCoOFfk3aid7VAOv89TmttgxGQj+7CaHoga6Qg=; b=MRaATrwPP9hjvm1NNuEqHIaDKRUA3QAdXALhua1f36jJBhfBmI/gHkcre0uKbhYPeq 0W1nLnew8xh5il2NpNw4CK56oP1NALRfP+hIP8zFb5t6RNBMRG36zmvq/sS5Pj8d9CTZ m25BzjRTwsLGI3bu64jSSYuYJezxrjLZQJbw1sTcqvTa/FMa9b7V0r31ErRJLGur2aBh cfz51uSxB513iHKKLBq17+dtbwXBLjlu2WEG/R4VHnZ46+FCsursWfc1SWTWCFi0AS9o BJeib9RUdQrCjtFnK6Oj8hQ7zv79cBgbhvdYIdFg3kjES2nUAvbiWHal0AzJqOT07Kg6 HYrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KR2UDwCoOFfk3aid7VAOv89TmttgxGQj+7CaHoga6Qg=; b=zr2dKfBgKDoXLlu1GB6jReRw+Q70DUl5sDJRpLQjdoN5MldcSlFjGhOmMUZ75qi94J +BYmjrHfSlvbu1PLBZqDKtff/64ZfvwrNY2oCDYKKGo+UyhxF5EaogdC8OcOkR1TaE5H elegxv0tCM3i0bWq9UdMHYEARd68Q0Z10xy/te23gD318raUXwbc7IbzRXPswsJyRp1u oH2+x0ZUtWTjNo+OvMdLgaLSe6ST23aEWAfqs0bunZkDeKb/5k0NlGtfDHUHaoU/phvu nQ8uP+KYwyeTfG4/GqDlfH76/hmdnP7h7UeMz3qpoUSS5nW/uaHY/pkEB+FWHrAf9u7C iaSg== X-Gm-Message-State: AJIora9cpX0VGrLUx/GnlTi5CJK/6PeygABEwDdwIK7+SGTZHcMw/U9+ hR9tLNBE0uyE5UM76RdYUPD/wi13yXera5JompQ= X-Received: by 2002:a17:907:3f92:b0:72a:b80c:ef3 with SMTP id hr18-20020a1709073f9200b0072ab80c0ef3mr25975249ejc.264.1657216323499; Thu, 07 Jul 2022 10:52:03 -0700 (PDT) MIME-Version: 1.0 References: <20220703194020.78701-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <87h73un2pv.wl-maz@kernel.org> In-Reply-To: <87h73un2pv.wl-maz@kernel.org> From: "Lad, Prabhakar" Date: Thu, 7 Jul 2022 18:51:37 +0100 Message-ID: Subject: Re: [PATCH v7 0/5] Renesas RZ/G2L IRQC support To: Marc Zyngier Cc: Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Geert Uytterhoeven , Linus Walleij , Bartosz Golaszewski , Philipp Zabel , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux-Renesas , "open list:GPIO SUBSYSTEM" , LKML , Biju Das , Lad Prabhakar Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Hi Marc, On Wed, Jul 6, 2022 at 8:02 AM Marc Zyngier wrote: > > On Sun, 03 Jul 2022 20:40:15 +0100, > Lad Prabhakar wrote: > > > > Hi All, > > > > The RZ/G2L Interrupt Controller is a front-end for the GIC found on > > Renesas RZ/G2L SoC's with below pins: > > - IRQ sense select for 8 external interrupts, mapped to 8 GIC SPI > > interrupts > > - GPIO pins used as external interrupt input pins out of GPIOINT0-122 a > > maximum of only 32 can be mapped to 32 GIC SPI interrupts, > > - NMI edge select. > > > > _____________ > > | GIC | > > | ________ | > > ____________ | | | | > > NMI --------------------------------->| | SPI0-479 | | GIC-600| | > > _______ | |------------>| | | > > | | | | PPI16-31 | | | | > > | | IRQ0-IRQ7 | IRQC |------------>| | | > > P0_P48_4 --->| GPIO |---------------->| | | |________| | > > | |GPIOINT0-122 | | | | > > | |---------------->| TINT0-31 | | | > > |______| |__________| |____________| > > > > The proposed patches add hierarchical IRQ domain, one in IRQC driver and > > another in pinctrl driver. Upon interrupt requests map the interrupt to > > GIC. Out of GPIOINT0-122 only 32 can be mapped to GIC SPI, this mapping is > > handled by the pinctrl and IRQC driver. > > > > Cheers, > > Prabhakar > > > > v6->v7: > > * Used devm_reset_control_get_exclusive() instead of > > devm_reset_control_get_exclusive_by_index() > > * Included RB tag from Linus for patch 5/5 > > * Switched to newer version of populate_parent_alloc_arg() (patch depends > > on https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/ > > patch/?id=178b7e21459e9a7e2a2c369711ef0cc9b1cfbcd7) > > Please add this patch as part of the series. > Sure will do. Cheers, Prabhakar