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
13 #include <linux/extcon-provider.h>
24 * struct gpio_extcon_data - A simple GPIO-controlled extcon device state container.
25 * @edev: Extcon device.
80 * is necessary to register the extcon device. But, it's not yet in gpio_extcon_probe()
81 * developed to get the extcon id from device-tree or others. in gpio_extcon_probe()
87 data->gpiod = devm_gpiod_get(dev, "extcon", GPIOD_IN); in gpio_extcon_probe()
105 /* Allocate the memory of extcon devie and register extcon device */ in gpio_extcon_probe()
108 dev_err(dev, "failed to allocate extcon device\n"); in gpio_extcon_probe()
156 .name = "extcon-gpio",
164 MODULE_DESCRIPTION("GPIO extcon driver");