Home
last modified time | relevance | path

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

123456

/linux-6.3-rc2/drivers/extcon/
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
16 obj-$(CONFIG_EXTCON_MAX3355) += extcon-max3355.o
19 obj-$(CONFIG_EXTCON_MAX8997) += extcon-max8997.o
20 obj-$(CONFIG_EXTCON_PALMAS) += extcon-palmas.o
21 obj-$(CONFIG_EXTCON_PTN5150) += extcon-ptn5150.o
[all …]
A DKconfig3 tristate "External Connector Class (extcon) support"
5 Say Y here to enable 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"
71 tristate "Intel Merrifield Basin Cove PMIC extcon driver"
141 tristate "Qualcomm USB extcon support"
171 tristate "USB GPIO extcon support"
[all …]
/linux-6.3-rc2/Documentation/ABI/testing/
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.3-rc2/drivers/usb/phy/
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 …]
A Dphy-tahvo.c52 struct extcon_dev *extcon; member
116 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in check_vbus_state()
125 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, true); in tahvo_usb_become_host()
144 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, false); in tahvo_usb_become_peripheral()
353 tu->extcon = devm_extcon_dev_allocate(&pdev->dev, tahvo_cable); in tahvo_usb_probe()
354 if (IS_ERR(tu->extcon)) { in tahvo_usb_probe()
356 ret = PTR_ERR(tu->extcon); in tahvo_usb_probe()
360 ret = devm_extcon_dev_register(&pdev->dev, tu->extcon); in tahvo_usb_probe()
368 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, in tahvo_usb_probe()
370 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in tahvo_usb_probe()
/linux-6.3-rc2/Documentation/devicetree/bindings/extcon/
A Dextcon-usb-gpio.txt7 - compatible: Should be "linux,extcon-usb-gpio"
13 Example: Examples of extcon-usb-gpio node in dra7-evm.dts as listed below:
15 compatible = "linux,extcon-usb-gpio";
20 extcon = <&extcon_usb1>;
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";
A Dextcon-usbc-tusb320.yaml4 $id: http://devicetree.org/schemas/extcon/extcon-usbc-tusb320.yaml#
A Dqcom,pm8941-misc.yaml4 $id: http://devicetree.org/schemas/extcon/qcom,pm8941-misc.yaml#
61 extcon = <&usb_id>;
A Dsiliconmitus,sm5502-muic.yaml4 $id: http://devicetree.org/schemas/extcon/siliconmitus,sm5502-muic.yaml#
47 extcon@25 {
A Dextcon-ptn5150.yaml4 $id: http://devicetree.org/schemas/extcon/extcon-ptn5150.yaml#
/linux-6.3-rc2/drivers/net/phy/
A Dvitesse.c86 int extcon; in vsc824x_add_skew() local
88 extcon = phy_read(phydev, MII_VSC8244_EXT_CON1); in vsc824x_add_skew()
90 if (extcon < 0) in vsc824x_add_skew()
91 return extcon; in vsc824x_add_skew()
93 extcon &= ~(MII_VSC8244_EXTCON1_TX_SKEW_MASK | in vsc824x_add_skew()
96 extcon |= (MII_VSC8244_EXTCON1_TX_SKEW | in vsc824x_add_skew()
99 err = phy_write(phydev, MII_VSC8244_EXT_CON1, extcon); in vsc824x_add_skew()
/linux-6.3-rc2/Documentation/devicetree/bindings/mfd/
A Dmaxim,max14577.yaml40 extcon:
73 extcon:
87 extcon:
112 extcon {
156 extcon {
A Dmaxim,max77843.yaml30 extcon:
31 $ref: /schemas/extcon/maxim,max77843.yaml
75 extcon {
/linux-6.3-rc2/arch/arm/boot/dts/
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.3-rc2/Documentation/devicetree/bindings/power/supply/
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.3-rc2/Documentation/devicetree/bindings/phy/
A Dphy-rockchip-typec.txt19 - extcon : extcon specifier for the Power Delivery
42 extcon = <&fusb0>;
66 extcon = <&fusb1>;
/linux-6.3-rc2/drivers/phy/renesas/
A Dphy-rcar-gen3-usb2.c113 struct extcon_dev *extcon; member
149 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, true); in rcar_gen3_phy_usb2_work()
150 extcon_set_state_sync(ch->extcon, EXTCON_USB, false); in rcar_gen3_phy_usb2_work()
152 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, false); in rcar_gen3_phy_usb2_work()
153 extcon_set_state_sync(ch->extcon, EXTCON_USB, true); in rcar_gen3_phy_usb2_work()
683 channel->extcon = devm_extcon_dev_allocate(dev, in rcar_gen3_phy_usb2_probe()
685 if (IS_ERR(channel->extcon)) in rcar_gen3_phy_usb2_probe()
686 return PTR_ERR(channel->extcon); in rcar_gen3_phy_usb2_probe()
688 ret = devm_extcon_dev_register(dev, channel->extcon); in rcar_gen3_phy_usb2_probe()
/linux-6.3-rc2/Documentation/devicetree/bindings/usb/
A Dallwinner,sun4i-a10-musb.yaml53 extcon:
75 - extcon
102 extcon = <&usbphy 0>;
/linux-6.3-rc2/Documentation/devicetree/bindings/display/bridge/
A Dite,it6505.yaml51 extcon:
53 description: extcon specifier for the Power Delivery
105 - extcon
127 extcon = <&usbc_extcon>;
/linux-6.3-rc2/Documentation/devicetree/bindings/display/rockchip/
A Dcdn-dp-rockchip.txt30 - extcon: extcon specifier for the Power Delivery
50 extcon = <&fusb0>, <&fusb1>;
/linux-6.3-rc2/arch/arm64/boot/dts/mediatek/
A Dmt2712-evb.dts44 compatible = "linux,extcon-usb-gpio";
49 compatible = "linux,extcon-usb-gpio";
201 extcon = <&extcon_usb>;
214 extcon = <&extcon_usb1>;
/linux-6.3-rc2/arch/arm64/boot/dts/qcom/
A Dmsm8916-samsung-e2015-common.dtsi15 /delete-node/ extcon@25;
17 muic: extcon@14 {
A Dmsm8916-samsung-j5-common.dtsi74 muic: extcon@25 {
119 extcon = <&muic>, <&muic>;
124 extcon = <&muic>;
/linux-6.3-rc2/drivers/gpu/drm/rockchip/
A Dcdn-dp-core.c153 struct extcon_dev *edev = port->extcon; in cdn_dp_get_port_lanes()
221 if (!extcon_get_state(port->extcon, EXTCON_DISP_DP)) in cdn_dp_check_sink_connection()
420 ret = extcon_get_property(port->extcon, EXTCON_DISP_DP, in cdn_dp_enable_phy()
1099 ret = devm_extcon_register_notifier(dp->dev, port->extcon, in cdn_dp_bind()
1179 struct extcon_dev *extcon; in cdn_dp_probe() local
1192 extcon = extcon_get_edev_by_phandle(dev, i); in cdn_dp_probe()
1195 if (PTR_ERR(extcon) == -EPROBE_DEFER || in cdn_dp_probe()
1199 if (IS_ERR(extcon) || IS_ERR(phy)) in cdn_dp_probe()
1206 port->extcon = extcon; in cdn_dp_probe()

Completed in 31 milliseconds

123456