msm8916-openwrt/target/linux/armsr/base-files/etc/board.d
Mathew McBride 5f609d8960 base-files: armsr: number Ten64 GPIOs according to kernel version
A change in kernel 6.2[1] caused the base numbers of GPIOs to
change significantly on some architectures like aarch64.

We have to number our GPIOs accordingly.
Ideally the board.d scripts should look through sysfs
to find the basenum (like cat "/sys/devices/platform/soc/2000000.i2c/
i2c-0/0-0076/gpio/gpiochip640/base"), but the problem is
that this occurs before modules are loaded, meaning I2C and other
runtime devices may be missing.

Signed-off-by: Mathew McBride <matt@traverse.com.au>

[1] https://lore.kernel.org/lkml/cover.1662116601.git.christophe.leroy@csgroup.eu/T/
2024-05-07 13:01:19 +01:00
..
01_led armsr: rename from armvirt 2023-06-10 21:30:19 +02:00
02_network armsr: rename from armvirt 2023-06-10 21:30:19 +02:00
03_gpio_switches base-files: armsr: number Ten64 GPIOs according to kernel version 2024-05-07 13:01:19 +01:00