Home
last modified time | relevance | path

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

12345678

/linux-6.15/drivers/extcon/
H A DMakefile6 obj-$(CONFIG_EXTCON) += extcon-core.o
7 extcon-core-objs += extcon.o devres.o
8 obj-$(CONFIG_EXTCON_ADC_JACK) += extcon-adc-jack.o
9 obj-$(CONFIG_EXTCON_AXP288) += extcon-axp288.o
10 obj-$(CONFIG_EXTCON_FSA9480) += extcon-fsa9480.o
11 obj-$(CONFIG_EXTCON_GPIO) += extcon-gpio.o
17 obj-$(CONFIG_EXTCON_MAX3355) += extcon-max3355.o
20 obj-$(CONFIG_EXTCON_MAX8997) += extcon-max8997.o
21 obj-$(CONFIG_EXTCON_PALMAS) += extcon-palmas.o
22 obj-$(CONFIG_EXTCON_PTN5150) += extcon-ptn5150.o
[all …]
H A DKconfig3 tristate "External Connector Class (extcon) support"
8 multiple states; i.e., an extcon that may have multiple
19 tristate "ADC Jack extcon support"
45 tristate "GPIO extcon support"
49 extcon supports single state per extcon instance.
52 tristate "Intel INT3496 ACPI device extcon driver"
79 tristate "LC824206XA extcon Support"
154 tristate "Qualcomm USB extcon support"
184 tristate "USB GPIO extcon support"
198 tristate "TI TUSB320 USB-C extcon support"
[all …]
/linux-6.15/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.
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
31 What: /sys/class/extcon/.../state
59 This updates the whole state of the extcon device.
68 What: /sys/class/extcon/.../cable.X/name
75 What: /sys/class/extcon/.../cable.X/state
[all …]
/linux-6.15/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 …]
H A Dphy-tahvo.c53 struct extcon_dev *extcon; member
117 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in check_vbus_state()
126 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, true); in tahvo_usb_become_host()
145 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, false); in tahvo_usb_become_peripheral()
354 tu->extcon = devm_extcon_dev_allocate(&pdev->dev, tahvo_cable); in tahvo_usb_probe()
355 if (IS_ERR(tu->extcon)) { in tahvo_usb_probe()
357 ret = PTR_ERR(tu->extcon); in tahvo_usb_probe()
361 ret = devm_extcon_dev_register(&pdev->dev, tu->extcon); in tahvo_usb_probe()
369 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, in tahvo_usb_probe()
371 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in tahvo_usb_probe()
/linux-6.15/Documentation/driver-api/
H A Dextcon.rst144 .. kernel-doc:: drivers/extcon/extcon.c
147 .. kernel-doc:: drivers/extcon/extcon.c
150 .. kernel-doc:: drivers/extcon/extcon.c
153 .. kernel-doc:: drivers/extcon/extcon.c
174 #include <linux/extcon.h>
198 /* Initialize extcon device */
205 /* Register extcon device */
228 dev_info(data->dev, "My extcon driver removed\n");
233 { .compatible = "my,extcon-device", },
240 .name = "my-extcon-driver",
[all …]
/linux-6.15/Documentation/devicetree/bindings/extcon/
H A Dextcon-usbc-cros-ec.yaml4 $id: http://devicetree.org/schemas/extcon/extcon-usbc-cros-ec.yaml#
21 const: google,extcon-usbc-cros-ec
46 compatible = "google,extcon-usbc-cros-ec";
51 compatible = "google,extcon-usbc-cros-ec";
H A Dlinux,extcon-usb-gpio.yaml4 $id: http://devicetree.org/schemas/extcon/linux,extcon-usb-gpio.yaml#
18 const: linux,extcon-usb-gpio
35 compatible = "linux,extcon-usb-gpio";
H A Dextcon-usbc-tusb320.yaml4 $id: http://devicetree.org/schemas/extcon/extcon-usbc-tusb320.yaml#
H A Dqcom,pm8941-misc.yaml4 $id: http://devicetree.org/schemas/extcon/qcom,pm8941-misc.yaml#
65 extcon = <&usb_id>;
/linux-6.15/drivers/platform/x86/
H A Dlenovo-yoga-tab2-pro-1380-fastcharger.c43 struct extcon_dev *extcon; member
66 return extcon_get_state(fc->extcon, EXTCON_CHG_USB_DCP) > 0; in yt2_1380_fc_dedicated_charger_connected()
71 return extcon_get_state(fc->extcon, EXTCON_CHG_USB_FAST) > 0; in yt2_1380_fc_fast_charger_connected()
169 fc->extcon = extcon_get_extcon_dev(YT2_1380_FC_EXTCON_NAME); in yt2_1380_fc_serdev_probe()
170 if (IS_ERR(fc->extcon)) in yt2_1380_fc_serdev_probe()
171 return dev_err_probe(dev, PTR_ERR(fc->extcon), "getting extcon\n"); in yt2_1380_fc_serdev_probe()
212 ret = devm_extcon_register_notifier_all(dev, fc->extcon, &fc->nb); in yt2_1380_fc_serdev_probe()
/linux-6.15/Documentation/devicetree/bindings/mfd/
H A Dmaxim,max14577.yaml40 extcon:
73 extcon:
87 extcon:
112 extcon {
156 extcon {
H A Dmaxim,max77843.yaml30 extcon:
31 $ref: /schemas/extcon/maxim,max77843.yaml
75 extcon {
/linux-6.15/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>;
/linux-6.15/Documentation/devicetree/bindings/power/supply/
H A Dcharger-manager.yaml145 cm-cable-extcon:
146 description: name of extcon dev
159 - cm-cable-extcon
206 cm-cable-extcon = "extcon-dev.0";
212 cm-cable-extcon = "extcon-dev.0";
/linux-6.15/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";
104 extcon = <&usb_id>, <&usb_id>;
109 extcon = <&usb_id>;
H A Dmsm8916-wingtech-wt86528.dts58 compatible = "linux,extcon-usb-gpio";
116 extcon = <&usb_id>, <&usb_id>;
120 extcon = <&usb_id>;
/linux-6.15/Documentation/devicetree/bindings/phy/
H A Dphy-rockchip-typec.txt19 - extcon : extcon specifier for the Power Delivery
42 extcon = <&fusb0>;
66 extcon = <&fusb1>;
/linux-6.15/drivers/net/phy/
H A Dvitesse.c110 int extcon; in vsc824x_add_skew() local
112 extcon = phy_read(phydev, MII_VSC8244_EXT_CON1); in vsc824x_add_skew()
114 if (extcon < 0) in vsc824x_add_skew()
115 return extcon; in vsc824x_add_skew()
117 extcon &= ~(MII_VSC8244_EXTCON1_TX_SKEW_MASK | in vsc824x_add_skew()
120 extcon |= (MII_VSC8244_EXTCON1_TX_SKEW | in vsc824x_add_skew()
123 err = phy_write(phydev, MII_VSC8244_EXT_CON1, extcon); in vsc824x_add_skew()
/linux-6.15/Documentation/devicetree/bindings/usb/
H A Dallwinner,sun4i-a10-musb.yaml55 extcon:
77 - extcon
104 extcon = <&usbphy 0>;
/linux-6.15/Documentation/devicetree/bindings/display/bridge/
H A Dite,it6505.yaml54 extcon:
56 description: extcon specifier for the Power Delivery
111 - extcon
133 extcon = <&usbc_extcon>;
/linux-6.15/drivers/phy/renesas/
H A Dphy-rcar-gen3-usb2.c117 struct extcon_dev *extcon; member
154 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, true); in rcar_gen3_phy_usb2_work()
155 extcon_set_state_sync(ch->extcon, EXTCON_USB, false); in rcar_gen3_phy_usb2_work()
157 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, false); in rcar_gen3_phy_usb2_work()
158 extcon_set_state_sync(ch->extcon, EXTCON_USB, true); in rcar_gen3_phy_usb2_work()
730 channel->extcon = devm_extcon_dev_allocate(dev, in rcar_gen3_phy_usb2_probe()
732 if (IS_ERR(channel->extcon)) in rcar_gen3_phy_usb2_probe()
733 return PTR_ERR(channel->extcon); in rcar_gen3_phy_usb2_probe()
735 ret = devm_extcon_dev_register(dev, channel->extcon); in rcar_gen3_phy_usb2_probe()
/linux-6.15/Documentation/devicetree/bindings/display/rockchip/
H A Dcdn-dp-rockchip.txt30 - extcon: extcon specifier for the Power Delivery
50 extcon = <&fusb0>, <&fusb1>;
/linux-6.15/arch/arm64/boot/dts/mediatek/
H A Dmt2712-evb.dts45 compatible = "linux,extcon-usb-gpio";
50 compatible = "linux,extcon-usb-gpio";
203 extcon = <&extcon_usb>;
216 extcon = <&extcon_usb1>;

12345678