/linux-4.4.14/drivers/extcon/ |
D | Makefile | 5 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_AXP288) += extcon-axp288.o 9 obj-$(CONFIG_EXTCON_GPIO) += extcon-gpio.o 10 obj-$(CONFIG_EXTCON_MAX14577) += extcon-max14577.o 11 obj-$(CONFIG_EXTCON_MAX77693) += extcon-max77693.o 12 obj-$(CONFIG_EXTCON_MAX77843) += extcon-max77843.o 13 obj-$(CONFIG_EXTCON_MAX8997) += extcon-max8997.o 14 obj-$(CONFIG_EXTCON_PALMAS) += extcon-palmas.o [all …]
|
D | Kconfig | 2 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. 39 tristate "GPIO extcon support" 42 Say Y here to enable GPIO based extcon support. Note that GPIO 43 extcon supports single state per extcon instance. 114 tristate "USB GPIO extcon support" 117 Say Y here to enable GPIO based USB cable detection extcon support.
|
D | extcon.c | 628 ATTRIBUTE_GROUPS(extcon);
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-class-extcon | 1 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.4.14/drivers/usb/phy/ |
D | phy-omap-otg.c | 33 struct extcon_dev *extcon; member 98 struct extcon_dev *extcon; in omap_otg_probe() local 102 if (!config || !config->extcon) in omap_otg_probe() 105 extcon = extcon_get_extcon_dev(config->extcon); in omap_otg_probe() 106 if (!extcon) in omap_otg_probe() 117 otg_dev->extcon = extcon; in omap_otg_probe() 121 ret = extcon_register_notifier(extcon, EXTCON_USB_HOST, &otg_dev->id_nb); in omap_otg_probe() 125 ret = extcon_register_notifier(extcon, EXTCON_USB, &otg_dev->vbus_nb); in omap_otg_probe() 127 extcon_unregister_notifier(extcon, EXTCON_USB_HOST, in omap_otg_probe() 132 otg_dev->id = extcon_get_cable_state_(extcon, EXTCON_USB_HOST); in omap_otg_probe() [all …]
|
D | phy-tahvo.c | 60 struct extcon_dev *extcon; member 124 extcon_set_cable_state_(tu->extcon, EXTCON_USB, tu->vbus_state); in check_vbus_state() 133 extcon_set_cable_state_(tu->extcon, EXTCON_USB_HOST, true); in tahvo_usb_become_host() 152 extcon_set_cable_state_(tu->extcon, EXTCON_USB_HOST, false); in tahvo_usb_become_peripheral() 368 tu->extcon = devm_extcon_dev_allocate(&pdev->dev, tahvo_cable); in tahvo_usb_probe() 369 if (IS_ERR(tu->extcon)) { in tahvo_usb_probe() 374 ret = devm_extcon_dev_register(&pdev->dev, tu->extcon); in tahvo_usb_probe() 382 extcon_set_cable_state_(tu->extcon, EXTCON_USB_HOST, in tahvo_usb_probe() 384 extcon_set_cable_state_(tu->extcon, EXTCON_USB, tu->vbus_state); in tahvo_usb_probe()
|
D | phy-msm-usb.c | 1579 motg->vbus.extcon = ext_vbus; in msm_otg_read_dt() 1596 motg->id.extcon = ext_id; in msm_otg_read_dt() 1602 extcon_unregister_notifier(motg->vbus.extcon, in msm_otg_read_dt() 1843 extcon_unregister_notifier(motg->id.extcon, in msm_otg_probe() 1845 extcon_unregister_notifier(motg->vbus.extcon, in msm_otg_probe() 1868 extcon_unregister_notifier(motg->id.extcon, EXTCON_USB_HOST, &motg->id.nb); in msm_otg_remove() 1869 extcon_unregister_notifier(motg->vbus.extcon, EXTCON_USB, &motg->vbus.nb); in msm_otg_remove()
|
/linux-4.4.14/Documentation/devicetree/bindings/extcon/ |
D | extcon-usb-gpio.txt | 7 - 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.4.14/Documentation/devicetree/bindings/power_supply/ |
D | charger-manager.txt | 14 - cm-cable-extcon : name of extcon dev 69 cm-cable-extcon = "extcon-dev.0"; 75 cm-cable-extcon = "extcon-dev.0";
|
/linux-4.4.14/Documentation/extcon/ |
D | porting-android-switch-class | 15 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.4.14/drivers/net/phy/ |
D | vitesse.c | 81 int extcon; in vsc824x_add_skew() local 83 extcon = phy_read(phydev, MII_VSC8244_EXT_CON1); in vsc824x_add_skew() 85 if (extcon < 0) in vsc824x_add_skew() 86 return extcon; in vsc824x_add_skew() 88 extcon &= ~(MII_VSC8244_EXTCON1_TX_SKEW_MASK | in vsc824x_add_skew() 91 extcon |= (MII_VSC8244_EXTCON1_TX_SKEW | in vsc824x_add_skew() 94 err = phy_write(phydev, MII_VSC8244_EXT_CON1, extcon); in vsc824x_add_skew()
|
/linux-4.4.14/Documentation/devicetree/bindings/usb/ |
D | allwinner,sun4i-a10-musb.txt | 15 - extcon : extcon specifier for the otg phy 27 extcon = <&usbphy 0>;
|
D | omap-usb.txt | 60 - extcon : phandle for the extcon device omap dwc3 uses to detect
|
D | ci-hdrc-usb2.txt | 49 - extcon: phandles to external connector devices. First phandle should point to 78 extcon = <0>, <&usb_id>;
|
D | msm-hsusb.txt | 80 - extcon: phandles to external connector devices. First phandle
|
/linux-4.4.14/drivers/usb/musb/ |
D | sunxi.c | 91 struct extcon_dev *extcon; member 257 ret = extcon_register_notifier(glue->extcon, EXTCON_USB_HOST, in sunxi_musb_init() 287 extcon_unregister_notifier(glue->extcon, EXTCON_USB_HOST, in sunxi_musb_init() 313 extcon_unregister_notifier(glue->extcon, EXTCON_USB_HOST, in sunxi_musb_exit() 640 glue->extcon = extcon_get_edev_by_phandle(&pdev->dev, 0); in sunxi_musb_probe() 641 if (IS_ERR(glue->extcon)) { in sunxi_musb_probe() 642 if (PTR_ERR(glue->extcon) == -EPROBE_DEFER) in sunxi_musb_probe() 645 return PTR_ERR(glue->extcon); in sunxi_musb_probe()
|
/linux-4.4.14/drivers/phy/ |
D | phy-sun4i-usb.c | 107 struct extcon_dev *extcon; member 427 extcon_set_cable_state_(data->extcon, EXTCON_USB_HOST, in sun4i_usb_phy0_id_vbus_det_scan() 444 extcon_set_cable_state_(data->extcon, EXTCON_USB, vbus_det); in sun4i_usb_phy0_id_vbus_det_scan() 581 data->extcon = devm_extcon_dev_allocate(dev, in sun4i_usb_phy_probe() 583 if (IS_ERR(data->extcon)) in sun4i_usb_phy_probe() 584 return PTR_ERR(data->extcon); in sun4i_usb_phy_probe() 586 ret = devm_extcon_dev_register(dev, data->extcon); in sun4i_usb_phy_probe()
|
/linux-4.4.14/include/linux/extcon/ |
D | extcon-adc-jack.h | 61 const enum extcon *cable_names;
|
/linux-4.4.14/include/linux/platform_data/ |
D | usb-omap1.h | 26 const char *extcon; /* extcon device for OTG */ member
|
/linux-4.4.14/include/linux/usb/ |
D | msm_hsusb.h | 131 struct extcon_dev *extcon; member
|
/linux-4.4.14/Documentation/devicetree/bindings/mfd/ |
D | arizona.txt | 75 Extcon - ../extcon/extcon-arizona.txt
|
D | max14577.txt | 43 Node used only by extcon consumers.
|
/linux-4.4.14/Documentation/gpio/ |
D | drivers-on-gpio.txt | 36 - extcon-gpio: drivers/extcon/extcon-gpio.c is used when you need to read an
|
/linux-4.4.14/arch/arm/mach-omap1/ |
D | board-nokia770.c | 159 .extcon = "tahvo-usb",
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | dra72-evm.dts | 53 compatible = "linux,extcon-usb-gpio"; 58 compatible = "linux,extcon-usb-gpio"; 580 extcon = <&extcon_usb1>; 584 extcon = <&extcon_usb2>;
|
D | dra7-evm.dts | 50 compatible = "linux,extcon-usb-gpio"; 55 compatible = "linux,extcon-usb-gpio"; 716 extcon = <&extcon_usb1>; 720 extcon = <&extcon_usb2>;
|
D | am57xx-beagle-x15.dts | 103 compatible = "linux,extcon-usb-gpio"; 704 extcon = <&extcon_usb1>; 708 extcon = <&extcon_usb2>;
|
D | sun8i-a23.dtsi | 97 extcon = <&usbphy 0>;
|
D | sun8i-a33.dtsi | 139 extcon = <&usbphy 0>;
|
D | omap5-board-common.dtsi | 632 extcon = <&extcon_usb3>;
|
D | omap5-cm-t54.dts | 634 extcon = <&extcon_usb3>;
|
D | sun5i.dtsi | 446 extcon = <&usbphy 0>;
|
D | sun4i-a10.dtsi | 675 extcon = <&usbphy 0>;
|
D | sun6i-a31.dtsi | 556 extcon = <&usbphy 0>;
|
D | sun7i-a20.dtsi | 759 extcon = <&usbphy 0>;
|
/linux-4.4.14/drivers/ |
D | Makefile | 157 obj-$(CONFIG_EXTCON) += extcon/
|
D | Kconfig | 157 source "drivers/extcon/Kconfig"
|
/linux-4.4.14/Documentation/ |
D | 00-INDEX | 182 extcon/
|
/linux-4.4.14/ |
D | MAINTAINERS | 4240 T: git git://git.kernel.org/pub/scm/linux/kernel/git/chanwoo/extcon.git 4242 F: drivers/extcon/ 4243 F: include/linux/extcon/ 4244 F: include/linux/extcon.h 4245 F: Documentation/extcon/ 4246 F: Documentation/devicetree/bindings/extcon/ 6803 F: drivers/extcon/extcon-max14577.c 6804 F: drivers/extcon/extcon-max77693.c 11681 F: Documentation/devicetree/bindings/extcon/extcon-arizona.txt 11686 F: drivers/extcon/extcon-arizona.c
|