Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp106356iob; Thu, 12 May 2022 19:58:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzUjInDOZp/WDTN7Th25K0moobOLOsfq+LmzluDRKDNt7FOSrsdjpVex1FuQCrU+Hw9AJh X-Received: by 2002:a17:907:2cc3:b0:6f8:5a21:4d62 with SMTP id hg3-20020a1709072cc300b006f85a214d62mr2516277ejc.256.1652410714221; Thu, 12 May 2022 19:58:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652410714; cv=none; d=google.com; s=arc-20160816; b=liKxRRXs6bj9usfVF/UWCp9//snmtI99cGBPxE9HP3CbDkGWdpGHM6Fjutrt6EfXfj uFgG/8h6lK+f/X1CJukTNKFNfbj+kv+8nf1tGoQYE41pDj0J2y83toD06MZyCvyMVbHP 99wEsWnFHL23LTCy56DBUfgZYv4YcH3tDG+XVu5Mp5qLixtTDI/V2l+TlXtq2CBnQgFc Oc2PuTe8+pOiEVw4Rc+1R5Fozo15cEUlrXJYrtgWD0GT0vwBlsIMXtpW2qy5ZIbdm75V fDlgJ88ZKhiKQ5tnDq5v90g009faQhHKvD5IZCupQl9t/aYSEmJss0Eqs654PXHSc0sB A/cw== 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=8dV6HUB7SxpjK+7mBEuOiLof9qR8uoa5I2hxfC6B+U0=; b=MuCiVAxtU0x3yoHLxugFBfoaylr4JPsyW57Re2kykxPwvIBLgCKYe5ZGN6VsGFwotj fyUhXgnxFwQvxp4i9Y5RQhKoqBUsvaJBnsohGIKf0DYqWbvgd2q2DT/snSVfwp4YT/R8 QDPdFLRCh6h7WpEDzBqYeyIjKS7at68/eTQUJkLiojpVgdHhoFlbfqMZmv1r4GLzmL0B Yzhgcz/s38uUlgNCF6eDqeHEPCXl5KZ/A0lOlloIQyYDkuNgHjbQHHIK1cMSn0j0OM97 TiQF4dDV0OdGkepymVtsPLjZ+SXPjEgxE9ru4Fr8AZ/j5aUXH6BazpTHatlM3yDLgB0t ZZIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=V0BWORNU; 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 ay10-20020a056402202a00b00423f40b8548si680887edb.579.2022.05.12.19.58.02; Thu, 12 May 2022 19:58:34 -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=V0BWORNU; 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 S1357209AbiELRoL (ORCPT + 99 others); Thu, 12 May 2022 13:44:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353035AbiELRoF (ORCPT ); Thu, 12 May 2022 13:44:05 -0400 Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09FF06E8DD; Thu, 12 May 2022 10:44:05 -0700 (PDT) Received: by mail-yb1-xb2b.google.com with SMTP id y76so11170553ybe.1; Thu, 12 May 2022 10:44:05 -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=8dV6HUB7SxpjK+7mBEuOiLof9qR8uoa5I2hxfC6B+U0=; b=V0BWORNUjzvdj7VCoVnOtF+BzEUkQT/FPg3TIY4oQR/ngKTsDne6/7cO1iY7svOI/c J3vw05flqg8wbznzwHXi8paRcDRGowDTt0vkoicwau9AWyFe1p4je/pJyOW8gaDDyl7B nbHkFN25tMl0xIij0PQsyFekN/u4+4n4oer8I+2t6TeWF8OGPT8FcV2D7JpQg1iPdC3a ihAM/FPGEUlJ6N3Zrl3QGIsOCAfqy2l7ZBIzYAtrOZjf1ZswvQZ/iiRL27rC0XkRP3l1 6JwoGxlp+ZZ3VwxLdH0PXb05IvXvlRYQCLdJ7vaZvFDKRGjN5rgumo/TqjW1WR2cWAOw nAAA== 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=8dV6HUB7SxpjK+7mBEuOiLof9qR8uoa5I2hxfC6B+U0=; b=VQ9834yQ3jglJPEpdosW9Xok+O+gRNHz8OBVRHZatB2fiRpanOBh3p8yROWJL8Ui5V Bhf1VBxXQGl+ru/oq8SDbyP4HRyXsWA8+IOV5HysADH0OduCTZMHxbYkzG+LASZn178F 4auwaaJH4wLBHtYtm1JdvEKPd9NIkUyYXmtRYCMgpV39TqXz3Y7Vl3BWyrVDkrVg+M5y 39jFab5wyiCwEcpKkQPSEuFGQEBoaOYr/G+2nSigKRe7VViEV+KeMw9EI0SHGDD8vKLM SH1mRAWw6JP2Z2aWLEghcML8Nyq1SolWyBNSX0y2xHT7GtOFiA3uy2pXOZlS+T8o+SVM y6Xg== X-Gm-Message-State: AOAM533MulTvnb/BPoTJdFfb4OmnhapnL+G2CKcWHUxwZOr/Ln714aLs rxzvaQ4YV1T9QIZXGREAJaUw5ny8m9yrB+f1J2I= X-Received: by 2002:a25:bfce:0:b0:648:963b:1ccb with SMTP id q14-20020a25bfce000000b00648963b1ccbmr951675ybm.417.1652377444242; Thu, 12 May 2022 10:44:04 -0700 (PDT) MIME-Version: 1.0 References: <20220511183210.5248-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220511183210.5248-6-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: "Lad, Prabhakar" Date: Thu, 12 May 2022 18:43:37 +0100 Message-ID: Subject: Re: [PATCH v3 5/5] pinctrl: renesas: pinctrl-rzg2l: Add IRQ domain to handle GPIO interrupt To: Biju Das Cc: Prabhakar Mahadev Lad , Geert Uytterhoeven , Linus Walleij , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Bartosz Golaszewski , Philipp Zabel , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-renesas-soc@vger.kernel.org" , "devicetree@vger.kernel.org" , Phil Edworthy 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 Biju, Thank you for the review. On Thu, May 12, 2022 at 6:35 AM Biju Das wrote: > > Hi Prabhakar, > > Thanks for the patch. > > > Prabhakar Mahadev Lad > > Subject: [PATCH v3 5/5] pinctrl: renesas: pinctrl-rzg2l: Add IRQ domain to > > handle GPIO interrupt > > > > Add IRQ domian to RZ/G2L pinctrl driver to handle GPIO interrupt. > > > > GPIO0-GPIO122 pins can be used as IRQ lines but only 32 pins can be used as > > IRQ lines at given time. Selection of pins as IRQ lines is handled by IA55 > > (which is the IRQC block) which sits in between the GPIO and GIC. > > Do we need to update bindings with interrupt-cells on [1] like [2] as it act as parent for GPIO interrupts? > Yes interrupt-controller and interrupt-parent needs to be added. I'm wondering if "interrupt-cells" is not required. If the pin is an interrupt it will be passed as an GPIO. @Geert - your thoughts ? Cheers, Prabhakar