[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <37db485e-b832-9ff1-4d21-606eeeba871c@cogentembedded.com>
Date: Wed, 29 Dec 2021 22:52:18 +0300
From: Nikita Yushchenko <nikita.yoush@...entembedded.com>
To: Marc Zyngier <maz@...nel.org>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Geert Uytterhoeven <geert+renesas@...der.be>,
Magnus Damm <magnus.damm@...il.com>,
linux-renesas-soc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH/RFC] drivers/irqchip: add irq-inverter
Hi
>>> The right way to do it is to use the existing API by exposing the
>>> inverter (there are existing examples in the tree, using the
>>> hierarchical model)...
>
> A much simpler version can be written in a few minutes, see below...
Can something like that be used if the parent domain is not hierarchical (i.e. does not provide alloc(),
but provides map() instead)?
In particular, gpio-rcar currently provides irq domain that is not hierarchical.
As well as quite a few other gpiochips.
Nikita
Powered by blists - more mailing lists