Lines Matching full:extcon
3 * extcon_gpio.c - Single-state GPIO extcon driver based on extcon class
8 * Modified by MyungJoo Ham <myungjoo.ham@samsung.com> to support extcon
12 #include <linux/extcon-provider.h>
23 * struct gpio_extcon_data - A simple GPIO-controlled extcon device state container.
24 * @edev: Extcon device.
79 * is necessary to register the extcon device. But, it's not yet in gpio_extcon_probe()
80 * developed to get the extcon id from device-tree or others. in gpio_extcon_probe()
86 data->gpiod = devm_gpiod_get(dev, "extcon", GPIOD_IN); in gpio_extcon_probe()
104 /* Allocate the memory of extcon devie and register extcon device */ in gpio_extcon_probe()
107 dev_err(dev, "failed to allocate extcon device\n"); in gpio_extcon_probe()
163 .name = "extcon-gpio",
171 MODULE_DESCRIPTION("GPIO extcon driver");