Lines Matching +full:gpio +full:- +full:leds
1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for controlling LEDs for cameras connected to the Intel atomisp2
4 * The main purpose of this driver is to turn off LEDs which are on at boot.
10 #include <linux/gpio/consumer.h>
11 #include <linux/gpio/machine.h>
12 #include <linux/leds.h>
18 /* This must be leds-gpio as the leds-gpio driver binds to the name */
19 #define DEV_NAME "leds-gpio"
30 .leds = atomisp2_leds,
84 return -ENODEV; in atomisp2_led_init()
86 gpio_lookup = system->driver_data; in atomisp2_led_init()
111 * Ensure we are loaded after asus-nb-wmi so that we turn the LED off again.