Home
last modified time | relevance | path

Searched refs:extcon (Results 1 – 23 of 23) sorted by relevance

/linux-4.1.27/drivers/extcon/
DMakefile5 obj-$(CONFIG_EXTCON) += extcon.o
6 obj-$(CONFIG_EXTCON_ADC_JACK) += extcon-adc-jack.o
7 obj-$(CONFIG_EXTCON_ARIZONA) += extcon-arizona.o
8 obj-$(CONFIG_EXTCON_GPIO) += extcon-gpio.o
9 obj-$(CONFIG_EXTCON_MAX14577) += extcon-max14577.o
10 obj-$(CONFIG_EXTCON_MAX77693) += extcon-max77693.o
11 obj-$(CONFIG_EXTCON_MAX77843) += extcon-max77843.o
12 obj-$(CONFIG_EXTCON_MAX8997) += extcon-max8997.o
13 obj-$(CONFIG_EXTCON_PALMAS) += extcon-palmas.o
14 obj-$(CONFIG_EXTCON_RT8973A) += extcon-rt8973a.o
[all …]
DKconfig2 tristate "External Connector Class (extcon) support"
4 Say Y here to enable external connector class (extcon) support.
7 multiple states; i.e., an extcon that may have multiple
18 tristate "ADC Jack extcon support"
21 Say Y here to enable extcon device driver based on ADC values.
32 tristate "GPIO extcon support"
35 Say Y here to enable GPIO based extcon support. Note that GPIO
36 extcon supports single state per extcon instance.
107 tristate "USB GPIO extcon support"
110 Say Y here to enable GPIO based USB cable detection extcon support.
Dextcon.c567 ATTRIBUTE_GROUPS(extcon);
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-extcon1 What: /sys/class/extcon/.../
5 Provide a place in sysfs for the extcon objects.
6 This allows accessing extcon specific variables.
7 The name of extcon object denoted as ... is the name given
10 One extcon device denotes a single external connector
22 What: /sys/class/extcon/.../name
26 The /sys/class/extcon/.../name shows the name of the extcon
27 object. If the extcon object has an optional callback
31 What: /sys/class/extcon/.../state
35 The /sys/class/extcon/.../state shows and stores the cable
[all …]
/linux-4.1.27/drivers/usb/phy/
Dphy-omap-otg.c99 struct extcon_dev *extcon; in omap_otg_probe() local
103 if (!config || !config->extcon) in omap_otg_probe()
106 extcon = extcon_get_extcon_dev(config->extcon); in omap_otg_probe()
107 if (!extcon) in omap_otg_probe()
121 ret = extcon_register_interest(&otg_dev->id_dev, config->extcon, in omap_otg_probe()
126 ret = extcon_register_interest(&otg_dev->vbus_dev, config->extcon, in omap_otg_probe()
133 otg_dev->id = extcon_get_cable_state(extcon, "USB-HOST"); in omap_otg_probe()
134 otg_dev->vbus = extcon_get_cable_state(extcon, "USB"); in omap_otg_probe()
141 (rev >> 4) & 0xf, rev & 0xf, config->extcon, otg_dev->id, in omap_otg_probe()
Dphy-tahvo.c60 struct extcon_dev extcon; member
123 extcon_set_cable_state(&tu->extcon, "USB", tu->vbus_state); in check_vbus_state()
132 extcon_set_cable_state(&tu->extcon, "USB-HOST", true); in tahvo_usb_become_host()
151 extcon_set_cable_state(&tu->extcon, "USB-HOST", false); in tahvo_usb_become_peripheral()
367 tu->extcon.name = DRIVER_NAME; in tahvo_usb_probe()
368 tu->extcon.supported_cable = tahvo_cable; in tahvo_usb_probe()
369 tu->extcon.dev.parent = &pdev->dev; in tahvo_usb_probe()
371 ret = extcon_dev_register(&tu->extcon); in tahvo_usb_probe()
379 extcon_set_cable_state(&tu->extcon, "USB-HOST", in tahvo_usb_probe()
381 extcon_set_cable_state(&tu->extcon, "USB", tu->vbus_state); in tahvo_usb_probe()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/extcon/
Dextcon-usb-gpio.txt7 - compatible: Should be "linux,extcon-usb-gpio"
10 Example: Examples of extcon-usb-gpio node in dra7-evm.dts as listed below:
12 compatible = "linux,extcon-usb-gpio";
17 extcon = <&extcon_usb1>;
/linux-4.1.27/drivers/net/phy/
Dvitesse.c80 int extcon; in vsc824x_add_skew() local
82 extcon = phy_read(phydev, MII_VSC8244_EXT_CON1); in vsc824x_add_skew()
84 if (extcon < 0) in vsc824x_add_skew()
85 return extcon; in vsc824x_add_skew()
87 extcon &= ~(MII_VSC8244_EXTCON1_TX_SKEW_MASK | in vsc824x_add_skew()
90 extcon |= (MII_VSC8244_EXTCON1_TX_SKEW | in vsc824x_add_skew()
93 err = phy_write(phydev, MII_VSC8244_EXT_CON1, extcon); in vsc824x_add_skew()
/linux-4.1.27/Documentation/devicetree/bindings/power_supply/
Dcharger-manager.txt14 - cm-cable-extcon : name of extcon dev
69 cm-cable-extcon = "extcon-dev.0";
75 cm-cable-extcon = "extcon-dev.0";
/linux-4.1.27/Documentation/extcon/
Dporting-android-switch-class15 No extcon extended feature, but switch features only.
31 'dev' to 'edev.dev.parent' before registering extcon device
42 With this changes, the ex-switch extcon class device works as it once
46 /sys/class/switch/* will be symbolically linked to /sys/class/extcon/
52 value of switch_dev. With extcon, such magic numbers that
83 At the side of other device drivers (the extcon device itself
101 the extcon device driver should support multistate feature (STEP 2).
106 for an extcon device. When cables A and B are declared to be mutually
118 as symbolic links to /sys/class/extcon/*.
121 extcon, too. When the multistate support (STEP 2 of CHAPTER 1.) is
/linux-4.1.27/include/linux/platform_data/
Dusb-omap1.h26 const char *extcon; /* extcon device for OTG */ member
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Domap-usb.txt60 - extcon : phandle for the extcon device omap dwc3 uses to detect
/linux-4.1.27/arch/arm/boot/dts/
Dam57xx-beagle-x15.dts94 compatible = "linux,extcon-usb-gpio";
101 compatible = "linux,extcon-usb-gpio";
559 extcon = <&extcon_usb1>;
563 extcon = <&extcon_usb2>;
Ddra72-evm.dts30 compatible = "linux,extcon-usb-gpio";
35 compatible = "linux,extcon-usb-gpio";
381 extcon = <&extcon_usb1>;
385 extcon = <&extcon_usb2>;
Ddra7-evm.dts30 compatible = "linux,extcon-usb-gpio";
35 compatible = "linux,extcon-usb-gpio";
545 extcon = <&extcon_usb1>;
549 extcon = <&extcon_usb2>;
Domap5-uevm.dts625 extcon = <&extcon_usb3>;
Domap5-cm-t54.dts634 extcon = <&extcon_usb3>;
/linux-4.1.27/arch/arm/mach-omap1/
Dboard-nokia770.c159 .extcon = "tahvo-usb",
/linux-4.1.27/drivers/
DMakefile155 obj-$(CONFIG_EXTCON) += extcon/
DKconfig153 source "drivers/extcon/Kconfig"
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dmax14577.txt43 Node used only by extcon consumers.
/linux-4.1.27/Documentation/
D00-INDEX182 extcon/
/linux-4.1.27/
DMAINTAINERS3924 T: git git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git
3926 F: drivers/extcon/
3927 F: Documentation/extcon/
6327 F: drivers/extcon/extcon-max14577.c
6328 F: drivers/extcon/extcon-max77693.c
10830 F: drivers/extcon/extcon-arizona.c