But it seems to be on some H616 board, the [300b000.pinctrl] is belong th gpiochip1。-> the pull #749
so i modfly the pin.py , it will read the system file /sys/class/gpio/gpiochip0/label ,if the label for gpiochip0 is [300b000.pinctrl] ,then all the pins will Be registered as 0 ,If not, register as 1.
hello,we want to add support for the walnutpi-1b board -> walnutpi.com
about the commit modify pin.py for h616 : auto choose gpiochip I have used kernel version 5.16 and 6.1 on our board , run the gpiodetect ,That's always the result
But it seems to be on some H616 board, the [300b000.pinctrl] is belong th gpiochip1。-> the pull #749
so i modfly the pin.py , it will read the system file
/sys/class/gpio/gpiochip0/label
,if the label for gpiochip0 is [300b000.pinctrl] ,then all the pins will Be registered as 0 ,If not, register as 1.