Lines Matching full:extcon
2 * extcon_gpio.c - Single-state GPIO extcon driver based on extcon class
7 * Modified by MyungJoo Ham <myungjoo.ham@samsung.com> to support extcon
20 #include <linux/extcon-provider.h>
31 * struct gpio_extcon_data - A simple GPIO-controlled extcon device state container.
32 * @edev: Extcon device.
89 * is necessary to register the extcon device. But, it's not yet in gpio_extcon_probe()
90 * developed to get the extcon id from device-tree or others. in gpio_extcon_probe()
96 data->gpiod = devm_gpiod_get(dev, "extcon", GPIOD_IN); in gpio_extcon_probe()
103 /* Allocate the memory of extcon devie and register extcon device */ in gpio_extcon_probe()
106 dev_err(dev, "failed to allocate extcon device\n"); in gpio_extcon_probe()
162 .name = "extcon-gpio",
170 MODULE_DESCRIPTION("GPIO extcon driver");