Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp4430167pxb; Tue, 5 Oct 2021 02:59:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzE/6716BM8qEAv15l90AXGXYNb99/130NoClFGaggZpmeEc1LfRjCB8js0+va1iKLo7sWE X-Received: by 2002:a17:90a:6583:: with SMTP id k3mr2672202pjj.147.1633427949462; Tue, 05 Oct 2021 02:59:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633427949; cv=none; d=google.com; s=arc-20160816; b=yX1mRsN8Ul5EWYJ7j+xUsuFks/8HkVoFRXDAn61djD6F3nFjVyoEEgQb/qnRUdbgFu hU4rb6wDTpx0UqR4/j3cUOvF4ZhFi4cFvU09ombo//d8bG/DcRwxFvWOz3K+IkCMaX4C yHyYEL0Ew8NXR89NPk+ahABKJk1/eTwqfBJ+u4sZeUutP4+mWwVBK20k3GEIemg4g1k1 TliEFJ6Xcc2JD+9OPQvyQiWXh7/AFR+7g5q+y8qJ1/b0kJrDFObeeQoZ7SjRoeZj3OK5 RTziIRKf7M9daVlYMcY44vRRhC7+Uyn10BLbU4sB77WCE4cslOpyj96+XOSXfkN/2o2O nxtA== 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; bh=7f7La1K3j/sf3y6WAPsiJ3HiHMfo9c5sHomKDoZBG7U=; b=nVLb/j2RM24VfcU+1SH+aflozp/OANjyoHPjJ/k7MOVZkqIlkeNnYZbBAyvlkKTRaO 19v6n92VfZHq1CcNQB5QoW+ytu0yWtjfUKOFhnAOOJCyrXPI3aB9H76HBmCi8rKBuaBx nrMt4Kmljar1AFdsl7FBgUgOXS6x3Qe0I1sQlRPNAvB6Uhn+D8A4Whtvw0IGr1450k0j mvmS9fvAlFuf9D+LGB4TChU/hrSrfY6qdx6sMshJ/WNJRGPBfp+4Iz2CcOjzUPZ3wvqK bxQsnxzjSvaOrJ5zSilKH/JFg/T6YrBVK2YWV5DckXo/vN9qn2V2xON7tq4W/5vyshxL vqsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v7si1386023pjk.36.2021.10.05.02.58.55; Tue, 05 Oct 2021 02:59:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233966AbhJEJ6N (ORCPT + 99 others); Tue, 5 Oct 2021 05:58:13 -0400 Received: from mail-ua1-f41.google.com ([209.85.222.41]:36572 "EHLO mail-ua1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233933AbhJEJ6K (ORCPT ); Tue, 5 Oct 2021 05:58:10 -0400 Received: by mail-ua1-f41.google.com with SMTP id u11so14412044uaw.3; Tue, 05 Oct 2021 02:56:19 -0700 (PDT) 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=7f7La1K3j/sf3y6WAPsiJ3HiHMfo9c5sHomKDoZBG7U=; b=k2IKov7jB0n+UA2Ba6xXi/dtkzWMyvN8/oXdRDjW/TVGcXQs5GyrZCahRsU9ZUzoSk qXfb3TdiyKbNjQI2i2tlB32LSBrDG2mHcucnAAPxaZatqc0lz4ujs+g4Boz1/yOTQltl VVYAXO9LhU2an/YvvnzO9e59P8m8QfNu6UJOD76u5w0lmLnUzjW6Zg+pAh97G1d0YN4b yIcWwqrIlfIfLGbzPUvgTgzWXD8Ec7A6n5UMWjYOtUJKQjvvxirZS1f+AGXdSYOYo4VV nDZzSMEPh8sRK2DfZcqwoVFSha3/emEyeiwO/zPUntHjwzyKiYFO65GDv0Jw4gJHv3Fk SCPA== X-Gm-Message-State: AOAM531c3rkWFNKd9MWvG9S5We1t54akg894yzQ4balVf22SemmRUco6 9ZKSs6prEmfXhMyF7ZWVwYcmrOJvVbbl4aU24fc= X-Received: by 2002:ab0:311a:: with SMTP id e26mr10862299ual.122.1633427779260; Tue, 05 Oct 2021 02:56:19 -0700 (PDT) MIME-Version: 1.0 References: <20210921193028.13099-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20210921193028.13099-4-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: Geert Uytterhoeven Date: Tue, 5 Oct 2021 11:56:07 +0200 Message-ID: Subject: Re: [RFC PATCH v2 3/4] pinctrl: renesas: pinctrl-rzg2l: Add IRQ domain to handle GPIO interrupt To: Linus Walleij Cc: Lad Prabhakar , Marc Zyngier , Thomas Gleixner , Geert Uytterhoeven , Rob Herring , Magnus Damm , "open list:GPIO SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel , Linux-Renesas , Prabhakar , Biju Das Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, On Thu, Sep 23, 2021 at 11:38 PM Linus Walleij wrote: > On Tue, Sep 21, 2021 at 9:30 PM Lad Prabhakar > wrote: > > 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. > > > > Signed-off-by: Lad Prabhakar > > Why can't you just use the hierarchical IRQ domain handling inside > gpiolib? Out of interest (not related to this patch), does this support multiple parent domains? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds