You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Kuan-Yi Li c5bf9a8ced base-files: gpio switch: add named GPIO support
Previously, gpio_switch only accepts GPIO pin number as input. Once a
GPIO pin is exported and named by device tree, its pin state cannot be
configured and saved across reboots by UCI.

This patch adds support for named GPIO pins. Thus GPIO pin can be
exported by device tree with active high/low correctly configured,
having human-readable name in /sys/class/gpio/ is also now possible.

More importantly, GPIO pins which are referenced by name will be immune
from pin mapping breakage while unintentional pin number changes are
introduced by kernel or driver updates.

Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
4 years ago
..
caldata.sh package/base-files: caldata: work around dd's limitation 4 years ago
leds.sh base-files: diag: restore default trigger for 'boot' LED 4 years ago
migrations.sh base-files: add leds migration 5 years ago
network.sh base-files: add network_get_uptime() to /lib/functions/network.sh 5 years ago
preinit.sh base-files: fix ramoverlay function with kernels 3.18+ 9 years ago
service.sh base-files: remove function service_kill 10 years ago
system.sh base-files: source functions.sh in /lib/functions/system.sh 4 years ago
uci-defaults.sh base-files: gpio switch: add named GPIO support 4 years ago