Re: GPIO numbering and ucidef_add_gpio_switch in kernel 6.6

2024-04-16 Thread Andrey Jr. Melnikov
Robert Marko wrote: > On Mon, 18 Mar 2024 at 06:31, Mathew McBride wrote: > > > > Hi all, > > > > A change in kernel 6.2 ("gpio: Get rid of ARCH_NR_GPIOS (v2)") [1] resulted > > in the GPIO chip base numbers changing on some architectures (x86, arm and > > arm64 were directly modified in that s

Re: GPIO numbering and ucidef_add_gpio_switch in kernel 6.6

2024-03-20 Thread Robert Marko
On Mon, 18 Mar 2024 at 06:31, Mathew McBride wrote: > > Hi all, > > A change in kernel 6.2 ("gpio: Get rid of ARCH_NR_GPIOS (v2)") [1] resulted > in the GPIO chip base numbers changing on some architectures (x86, arm and > arm64 were directly modified in that series). > > This may cause issues w

GPIO numbering and ucidef_add_gpio_switch in kernel 6.6

2024-03-17 Thread Mathew McBride
Hi all, A change in kernel 6.2 ("gpio: Get rid of ARCH_NR_GPIOS (v2)") [1] resulted in the GPIO chip base numbers changing on some architectures (x86, arm and arm64 were directly modified in that series). This may cause issues with /etc/board.d/03_gpio_switches scripts as the GPIO numbers will