Lines Matching +full:gpio +full:- +full:leds
1 // SPDX-License-Identifier: GPL-2.0-only
4 * At the moment this means setup of GPIO control of LEDs
9 * and Philip Prindeville <philipp@redfish-solutions.com>
11 * TODO: There are large similarities with leds-net5501.c
13 * In the future leds-net5501.c should be migrated over to platform
21 #include <linux/leds.h>
46 .gpio = 24,
62 .name = "gpio-keys-polled",
72 .gpio = 6,
73 .default_trigger = "default-on",
78 .gpio = 25,
79 .default_trigger = "default-off",
84 .gpio = 27,
85 .default_trigger = "default-off",
92 .leds = alix_leds,
96 .name = "leds-gpio",
97 .id = -1,
108 /* Setup LED control through leds-gpio driver */ in register_alix()
130 scan_end = bios_virt + bios_len - (alix_sig_len + 2); in alix_present()
188 if (alix_present(BIOS_SIGNATURE_TINYBIOS, tinybios_sig, sizeof(tinybios_sig) - 1) || in alix_init()
189 alix_present(BIOS_SIGNATURE_COREBOOT, coreboot_sig, sizeof(coreboot_sig) - 1) || in alix_init()