GPIOs for LED with latest kernel 5.19.0-rc3+

Jun 24, 2022 - 1:29 AM

  • Was trying to load latest kernel on atomic pi where the gpiochip* base has been changed wrt to what it comes with DLI kernel. So was fixing the atomicpi.sh. I noticed there seems to be an error where ISH_GPIO is documented to be on gpiochip3 but actually is on gpiochip2

    ATOMICPICHIP_ISH_GPIO_1=gpiochip3 18

    root@atomicpi1:/sys/kernel/debug/pinctrl/INT33FF:02# cat pins | grep ISH_GPIO_1
    pin 18 (MF_ISH_GPIO_1) 18:INT33FF:02 GPIO 0x00008100 0x04c00000

    lrwxrwxrwx 1 root root 0 Jun 23 20:53 gpiochip2 -> ../../../devices/platform/INT33FF:02/gpiochip2

    I see the online documentation for atomicpi also has this discrepancy

    0
  • Updated atomicpi.sh

    https://github.com/davigupta/atomicpi

    This post was edited Jun 24, 2022 02:15AM
    0