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>
25 #include <linux/gpio/machine.h>
47 .gpio = 24,
63 .name = "gpio-keys-polled",
73 .default_trigger = "default-on",
77 .default_trigger = "default-off",
81 .default_trigger = "default-off",
87 .leds = alix_leds,
91 .dev_id = "leds-gpio",
94 GPIO_LOOKUP_IDX("cs5535-gpio", 6, NULL, 0, GPIO_ACTIVE_LOW),
95 GPIO_LOOKUP_IDX("cs5535-gpio", 25, NULL, 1, GPIO_ACTIVE_LOW),
96 GPIO_LOOKUP_IDX("cs5535-gpio", 27, NULL, 2, GPIO_ACTIVE_LOW),
102 .name = "leds-gpio",
103 .id = -1,
114 /* Setup LED control through leds-gpio driver */ in register_alix()
137 scan_end = bios_virt + bios_len - (alix_sig_len + 2); in alix_present()
195 if (alix_present(BIOS_SIGNATURE_TINYBIOS, tinybios_sig, sizeof(tinybios_sig) - 1) || in alix_init()
196 alix_present(BIOS_SIGNATURE_COREBOOT, coreboot_sig, sizeof(coreboot_sig) - 1) || in alix_init()