Home
last modified time | relevance | path

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

123456

/linux/Documentation/ABI/testing/
H A 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/drivers/usb/phy/
H A Dphy-omap-otg.c25 struct extcon_dev *extcon; member
90 struct extcon_dev *extcon; in omap_otg_probe() local
94 if (!config || !config->extcon) in omap_otg_probe()
97 extcon = extcon_get_extcon_dev(config->extcon); in omap_otg_probe()
98 if (IS_ERR(extcon)) in omap_otg_probe()
99 return PTR_ERR(extcon); in omap_otg_probe()
109 otg_dev->extcon = extcon; in omap_otg_probe()
113 ret = devm_extcon_register_notifier(&pdev->dev, extcon, in omap_otg_probe()
118 ret = devm_extcon_register_notifier(&pdev->dev, extcon, in omap_otg_probe()
124 otg_dev->id = extcon_get_state(extcon, EXTCON_USB_HOST); in omap_otg_probe()
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Ddra7-evm-common.dtsi17 compatible = "linux,extcon-usb-gpio";
22 compatible = "linux,extcon-usb-gpio";
196 extcon = <&extcon_usb1>;
201 extcon = <&extcon_usb1>;
205 extcon = <&extcon_usb2>;
210 extcon = <&extcon_usb2>;
H A Ddra72-evm-common.dtsi98 compatible = "linux,extcon-usb-gpio";
103 compatible = "linux,extcon-usb-gpio";
401 extcon = <&extcon_usb1>;
405 extcon = <&extcon_usb2>;
410 extcon = <&extcon_usb1>;
415 extcon = <&extcon_usb2>;
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8939-sony-xperia-kanuti-tulip.dts35 compatible = "linux,extcon-usb-gpio";
79 extcon = <&usb_id>, <&usb_id>;
84 extcon = <&usb_id>;
H A Dmsm8916-motorola-common.dtsi38 compatible = "linux,extcon-usb-gpio";
107 extcon = <&usb_id>, <&usb_id>;
112 extcon = <&usb_id>;
H A Dmsm8916-wingtech-wt86528.dts58 compatible = "linux,extcon-usb-gpio";
116 extcon = <&usb_id>, <&usb_id>;
120 extcon = <&usb_id>;
H A Dmsm8916-wingtech-wt86518.dts73 extcon = <&pm8916_charger>;
77 extcon = <&pm8916_charger>;
H A Dmsm8916-samsung-e2015-common.dtsi15 /delete-node/ extcon@25;
17 muic: extcon@14 {
H A Dmsm8939-wingtech-wt82918.dtsi81 compatible = "linux,extcon-usb-gpio";
174 extcon = <&usb_id>, <&usb_id>;
179 extcon = <&usb_id>;
H A Dmsm8939-huawei-kiwi.dts63 compatible = "linux,extcon-usb-gpio";
176 extcon = <&usb_id>, <&usb_id>;
181 extcon = <&usb_id>;
H A Dmsm8916-samsung-j5-common.dtsi78 muic: extcon@25 {
175 extcon = <&muic>, <&muic>;
180 extcon = <&muic>;
H A Dmsm8916-gplus-fl8005a.dts100 compatible = "linux,extcon-usb-gpio";
195 extcon = <&usb_id>, <&usb_id>;
200 extcon = <&usb_id>;
H A Dmsm8916-asus-z00l.dts66 compatible = "linux,extcon-usb-gpio";
180 extcon = <&usb_id>, <&usb_id>;
184 extcon = <&usb_id>;
H A Dmsm8939-asus-z00t.dts64 compatible = "linux,extcon-usb-gpio";
177 extcon = <&usb_id>, <&usb_id>;
183 extcon = <&usb_id>;
H A Dmsm8916-lg-c50.dts94 extcon = <&pm8916_usbin>;
99 extcon = <&pm8916_usbin>;
H A Dmsm8916-ufi.dtsi108 extcon = <&pm8916_usbin>;
115 extcon = <&pm8916_usbin>;
H A Dmsm8916-acer-a1-724.dts52 compatible = "linux,extcon-usb-gpio";
203 extcon = <&usb_id>, <&usb_id>;
208 extcon = <&usb_id>;
H A Dsm6125-xiaomi-ginkgo.dts65 extcon_usb: extcon-usb {
66 compatible = "linux,extcon-usb-gpio";
294 extcon = <&extcon_usb>;
H A Dmsm8916-wingtech-wt88047.dts82 compatible = "linux,extcon-usb-gpio";
249 extcon = <&usb_id>, <&usb_id>;
253 extcon = <&usb_id>;
/linux/drivers/phy/renesas/
H A Dphy-rcar-gen3-usb2.c134 struct extcon_dev *extcon; member
172 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, true); in rcar_gen3_phy_usb2_work()
173 extcon_set_state_sync(ch->extcon, EXTCON_USB, false); in rcar_gen3_phy_usb2_work()
175 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, false); in rcar_gen3_phy_usb2_work()
176 extcon_set_state_sync(ch->extcon, EXTCON_USB, true); in rcar_gen3_phy_usb2_work()
827 channel->extcon = devm_extcon_dev_allocate(dev, in rcar_gen3_phy_usb2_probe()
829 if (IS_ERR(channel->extcon)) in rcar_gen3_phy_usb2_probe()
830 return PTR_ERR(channel->extcon); in rcar_gen3_phy_usb2_probe()
832 ret = devm_extcon_dev_register(dev, channel->extcon); in rcar_gen3_phy_usb2_probe()
/linux/Documentation/firmware-guide/acpi/
H A Dextcon-intel-int3496.rst2 Intel INT3496 ACPI device extcon driver documentation
5 The Intel INT3496 ACPI device extcon driver is a driver for ACPI
/linux/drivers/phy/allwinner/
H A Dphy-sun4i-usb.c129 struct extcon_dev *extcon; member
634 extcon_set_state_sync(data->extcon, EXTCON_USB_HOST, in sun4i_usb_phy0_id_vbus_det_scan()
654 extcon_set_state_sync(data->extcon, EXTCON_USB, vbus_det); in sun4i_usb_phy0_id_vbus_det_scan()
770 data->extcon = devm_extcon_dev_allocate(dev, sun4i_usb_phy0_cable); in sun4i_usb_phy_probe()
771 if (IS_ERR(data->extcon)) { in sun4i_usb_phy_probe()
773 return PTR_ERR(data->extcon); in sun4i_usb_phy_probe()
776 ret = devm_extcon_dev_register(dev, data->extcon); in sun4i_usb_phy_probe()
/linux/drivers/power/supply/
H A Dmax8971_charger.c646 struct device_node *extcon; in max8971_probe() local
689 extcon = of_graph_get_remote_node(dev->of_node, -1, -1); in max8971_probe()
690 if (!extcon) in max8971_probe()
693 priv->edev = extcon_find_edev_by_node(extcon); in max8971_probe()
694 of_node_put(extcon); in max8971_probe()
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mq-tqma8mq-mba8mx.dts24 extcon_usbotg: extcon-usbotg0 {
25 compatible = "linux,extcon-usb-gpio";
154 extcon = <&extcon_usbotg>;

123456