[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZD+QFsFSTL0c6HbPp_4op2axjpZRL=y-KEMw_rNpxgqA@mail.gmail.com>
Date: Wed, 1 Oct 2025 13:41:17 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Dang Huynh <dang.huynh@...nlining.org>
Cc: Manivannan Sadhasivam <mani@...nel.org>, Bartosz Golaszewski <brgl@...ev.pl>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>,
linux-arm-kernel@...ts.infradead.org, linux-unisoc@...ts.infradead.org,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, Conor Dooley <conor.dooley@...rochip.com>
Subject: Re: [PATCH v3 1/3] dt-bindings: gpio: rda: Make interrupts optional
Hi Dang,
thanks for your patch!
On Sat, Sep 27, 2025 at 7:02 AM Dang Huynh <dang.huynh@...nlining.org> wrote:
> The GPIO controller from the modem does not have an interrupt.
>
> Acked-by: Conor Dooley <conor.dooley@...rochip.com>
> Signed-off-by: Dang Huynh <dang.huynh@...nlining.org>
If the GPIO controllers are so different, should they not have different
compatible strings?
Maybe add rda,8810pl-modem-gpio compatible for the modem
GPIO then?
+++ b/Documentation/devicetree/bindings/gpio/gpio-rda.yaml
> @@ -41,9 +41,6 @@ required:
> - gpio-controller
> - "#gpio-cells"
> - ngpios
> - - interrupt-controller
> - - "#interrupt-cells"
> - - interrupts
Then this can be conditional using an if:-statement such that
it is only mandatory for rda,8810pl-gpio and not for
rda,8810pl-modem-gpio.
Yours,
Linus Walleij
Powered by blists - more mailing lists