Thread (15 messages) 15 messages, 6 authors, 2025-06-19

Re: [PATCH v3 2/3] ARM: dts: add ngpios for vf610 compatible gpio controllers

From: Stefan Wahren <wahrenst@gmx.net>
Date: 2025-05-21 08:40:21
Also in: imx, linux-devicetree, linux-gpio, lkml

Am 21.05.25 um 00:14 schrieb Linus Walleij:
On Tue, May 20, 2025 at 12:54 PM Stefan Wahren [off-list ref] wrote:
quoted
sorry for asking this dumb question: why do we need the redundant ngpio
property in case there is already gpio-ranges defined? AFAIU the last
cell already contains the necessary information. Or do I missed something?
Not all GPIOs on a gpio controller have to be present in
a range.

The ranges can be multiple and have holes in them.

The ranges are also optional.

The fact that this DTS file, for this SoC and on this controller
happens to have a range mapped right over all of the pins
is merely a coinicidence and not a general rule of any kind,
it just apophenia playing games on us.
Thanks for clarification
Yours,
Linus Walleij
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help