/openbmc/linux/drivers/extcon/ |
H A D | Makefile | 6 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 12 obj-$(CONFIG_EXTCON_INTEL_INT3496) += extcon-intel-int3496.o 13 obj-$(CONFIG_EXTCON_INTEL_CHT_WC) += extcon-intel-cht-wc.o 14 obj-$(CONFIG_EXTCON_INTEL_MRFLD) += extcon-intel-mrfld.o 15 obj-$(CONFIG_EXTCON_MAX14577) += extcon-max14577.o [all …]
|
H A D | Kconfig | 3 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" 22 Say Y here to enable extcon device driver based on ADC values. 45 tristate "GPIO extcon support" 48 Say Y here to enable GPIO based extcon support. Note that GPIO 49 extcon supports single state per extcon instance. 52 tristate "Intel INT3496 ACPI device extcon driver" 55 Say Y here to enable extcon support for USB OTG ports controlled by [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A 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 …]
|
/openbmc/linux/drivers/usb/phy/ |
H A D | phy-omap-otg.c | 25 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 D | phy-tahvo.c | 52 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()
|
/openbmc/linux/Documentation/devicetree/bindings/extcon/ |
H A D | extcon-usb-gpio.txt | 7 - 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>;
|
/openbmc/linux/drivers/net/phy/ |
H A D | vitesse.c | 86 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()
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | dra7-evm-common.dtsi | 17 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>;
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8939-sony-xperia-kanuti-tulip.dts | 35 compatible = "linux,extcon-usb-gpio"; 75 extcon = <&usb_id>, <&usb_id>; 80 extcon = <&usb_id>;
|
H A D | msm8916-samsung-j5-common.dtsi | 76 muic: extcon@25 { 133 extcon = <&muic>, <&muic>; 138 extcon = <&muic>;
|
H A D | msm8916-longcheer-l8910.dts | 70 compatible = "linux,extcon-usb-gpio"; 142 extcon = <&usb_id>, <&usb_id>; 146 extcon = <&usb_id>;
|
H A D | msm8916-gplus-fl8005a.dts | 77 compatible = "linux,extcon-usb-gpio"; 145 extcon = <&usb_id>, <&usb_id>; 150 extcon = <&usb_id>;
|
H A D | msm8916-acer-a1-724.dts | 50 compatible = "linux,extcon-usb-gpio"; 150 extcon = <&usb_id>, <&usb_id>; 155 extcon = <&usb_id>;
|
H A D | msm8916-samsung-e2015-common.dtsi | 15 /delete-node/ extcon@25; 17 muic: extcon@14 {
|
H A D | msm8916-wingtech-wt88047.dts | 58 compatible = "linux,extcon-usb-gpio"; 186 extcon = <&usb_id>, <&usb_id>; 190 extcon = <&usb_id>;
|
H A D | msm8916-asus-z00l.dts | 64 compatible = "linux,extcon-usb-gpio"; 156 extcon = <&usb_id>, <&usb_id>; 160 extcon = <&usb_id>;
|
H A D | msm8916-ufi.dtsi | 108 extcon = <&pm8916_usbin>; 115 extcon = <&pm8916_usbin>;
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-rockchip-typec.txt | 19 - extcon : extcon specifier for the Power Delivery 42 extcon = <&fusb0>; 66 extcon = <&fusb1>;
|
/openbmc/linux/drivers/phy/renesas/ |
H A D | phy-rcar-gen3-usb2.c | 111 struct extcon_dev *extcon; member 147 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, true); in rcar_gen3_phy_usb2_work() 148 extcon_set_state_sync(ch->extcon, EXTCON_USB, false); in rcar_gen3_phy_usb2_work() 150 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, false); in rcar_gen3_phy_usb2_work() 151 extcon_set_state_sync(ch->extcon, EXTCON_USB, true); in rcar_gen3_phy_usb2_work() 679 channel->extcon = devm_extcon_dev_allocate(dev, in rcar_gen3_phy_usb2_probe() 681 if (IS_ERR(channel->extcon)) in rcar_gen3_phy_usb2_probe() 682 return PTR_ERR(channel->extcon); in rcar_gen3_phy_usb2_probe() 684 ret = devm_extcon_dev_register(dev, channel->extcon); in rcar_gen3_phy_usb2_probe()
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt2712-evb.dts | 45 compatible = "linux,extcon-usb-gpio"; 50 compatible = "linux,extcon-usb-gpio"; 202 extcon = <&extcon_usb>; 215 extcon = <&extcon_usb1>;
|
/openbmc/linux/Documentation/devicetree/bindings/display/rockchip/ |
H A D | cdn-dp-rockchip.txt | 30 - extcon: extcon specifier for the Power Delivery 50 extcon = <&fusb0>, <&fusb1>;
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | rk3399-gru-chromebook.dtsi | 229 extcon = <&usbc_extcon0>, <&usbc_extcon1>; 290 usbc_extcon1: extcon@1 { 291 compatible = "google,extcon-usbc-cros-ec"; 294 #extcon-cells = <0>; 332 extcon = <&usbc_extcon1>; 353 extcon = <&usbc_extcon1>;
|
H A D | dra7-evm-common.dtsi | 19 compatible = "linux,extcon-usb-gpio"; 193 extcon = <&extcon_usb1>; 198 extcon = <&extcon_usb1>;
|
/openbmc/linux/drivers/gpu/drm/rockchip/ |
H A D | cdn-dp-core.c | 152 struct extcon_dev *edev = port->extcon; in cdn_dp_get_port_lanes() 220 if (!extcon_get_state(port->extcon, EXTCON_DISP_DP)) in cdn_dp_check_sink_connection() 418 ret = extcon_get_property(port->extcon, EXTCON_DISP_DP, in cdn_dp_enable_phy() 1090 ret = devm_extcon_register_notifier(dp->dev, port->extcon, in cdn_dp_bind() 1170 struct extcon_dev *extcon; in cdn_dp_probe() local 1184 extcon = extcon_get_edev_by_phandle(dev, i); in cdn_dp_probe() 1187 if (PTR_ERR(extcon) == -EPROBE_DEFER || in cdn_dp_probe() 1191 if (IS_ERR(extcon) || IS_ERR(phy)) in cdn_dp_probe() 1198 port->extcon = extcon; in cdn_dp_probe()
|
/openbmc/linux/Documentation/firmware-guide/acpi/ |
H A D | extcon-intel-int3496.rst | 2 Intel INT3496 ACPI device extcon driver documentation 5 The Intel INT3496 ACPI device extcon driver is a driver for ACPI
|