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.
8 * and Philip Prindeville <philipp@redfish-solutions.com>
10 * TODO: There are large similarities with leds-net5501.c
12 * In the future leds-net5501.c should be migrated over to platform
19 #include <linux/leds.h>
23 #include <linux/gpio/machine.h>
31 .gpio = 3,
47 .name = "gpio-keys-polled",
57 .default_trigger = "default-on",
61 .default_trigger = "default-off",
65 .default_trigger = "default-off",
71 .leds = geos_leds,
75 .dev_id = "leds-gpio",
78 GPIO_LOOKUP_IDX("cs5535-gpio", 6, NULL, 0, GPIO_ACTIVE_LOW),
79 GPIO_LOOKUP_IDX("cs5535-gpio", 25, NULL, 1, GPIO_ACTIVE_LOW),
80 GPIO_LOOKUP_IDX("cs5535-gpio", 27, NULL, 2, GPIO_ACTIVE_LOW),
86 .name = "leds-gpio",
87 .id = -1,
98 /* Setup LED control through leds-gpio driver */ in register_geos()