/kernel/linux/linux-5.10/drivers/extcon/ |
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_ARIZONA) += extcon-arizona.o 10 obj-$(CONFIG_EXTCON_AXP288) += extcon-axp288.o 11 obj-$(CONFIG_EXTCON_FSA9480) += extcon-fsa9480.o 12 obj-$(CONFIG_EXTCON_GPIO) += extcon-gpio.o 13 obj-$(CONFIG_EXTCON_INTEL_INT3496) += extcon-intel-int3496.o 14 obj-$(CONFIG_EXTCON_INTEL_CHT_WC) += extcon-intel-cht-wc.o 15 obj-$(CONFIG_EXTCON_INTEL_MRFLD) += extcon-intel-mrfld.o [all …]
|
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. 53 tristate "GPIO extcon support" 56 Say Y here to enable GPIO based extcon support. Note that GPIO 57 extcon supports single state per extcon instance. 60 tristate "Intel INT3496 ACPI device extcon driver" 63 Say Y here to enable extcon support for USB OTG ports controlled by [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/usb/phy/ |
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 (!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() 125 otg_dev->vbus = extcon_get_state(extcon, EXTCON_USB); in omap_otg_probe() [all …]
|
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() 357 tu->extcon = devm_extcon_dev_allocate(&pdev->dev, tahvo_cable); in tahvo_usb_probe() 358 if (IS_ERR(tu->extcon)) { in tahvo_usb_probe() 360 ret = PTR_ERR(tu->extcon); in tahvo_usb_probe() 364 ret = devm_extcon_dev_register(&pdev->dev, tu->extcon); in tahvo_usb_probe() 372 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, in tahvo_usb_probe() 374 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in tahvo_usb_probe()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/extcon/ |
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>;
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
D | charger-manager.txt | 15 - cm-cable-extcon : name of extcon dev 79 cm-cable-extcon = "extcon-dev.0"; 85 cm-cable-extcon = "extcon-dev.0";
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
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>;
|
D | dra72-evm-common.dtsi | 98 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>;
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/ |
D | phy-rockchip-typec.txt | 19 - extcon : extcon specifier for the Power Delivery 42 extcon = <&fusb0>; 66 extcon = <&fusb1>;
|
D | qcom,usb-hs-phy.txt | 53 - extcon: 56 Definition: Should contain the vbus extcon 80 extcon = <&smbb>;
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
D | msm8916-longcheer-l8150.dts | 31 // FIXME: Use extcon device provided by charger driver when available 33 compatible = "linux,extcon-usb-gpio"; 89 extcon = <&usb_vbus>; 93 extcon = <&usb_vbus>;
|
D | msm8916-samsung-a2015-common.dtsi | 87 muic: extcon@25 { 164 extcon = <&muic>, <&muic>; 168 extcon = <&muic>;
|
/kernel/linux/linux-5.10/drivers/phy/renesas/ |
D | phy-rcar-gen3-usb2.c | 108 struct extcon_dev *extcon; member 137 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, true); in rcar_gen3_phy_usb2_work() 138 extcon_set_state_sync(ch->extcon, EXTCON_USB, false); in rcar_gen3_phy_usb2_work() 140 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, false); in rcar_gen3_phy_usb2_work() 141 extcon_set_state_sync(ch->extcon, EXTCON_USB, true); in rcar_gen3_phy_usb2_work() 641 channel->extcon = devm_extcon_dev_allocate(dev, in rcar_gen3_phy_usb2_probe() 643 if (IS_ERR(channel->extcon)) in rcar_gen3_phy_usb2_probe() 644 return PTR_ERR(channel->extcon); in rcar_gen3_phy_usb2_probe() 646 ret = devm_extcon_dev_register(dev, channel->extcon); in rcar_gen3_phy_usb2_probe()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/rockchip/ |
D | cdn-dp-rockchip.txt | 30 - extcon: extcon specifier for the Power Delivery 50 extcon = <&fusb0>, <&fusb1>;
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/mediatek/ |
D | mt2712-evb.dts | 44 compatible = "linux,extcon-usb-gpio"; 49 compatible = "linux,extcon-usb-gpio"; 200 extcon = <&extcon_usb>; 213 extcon = <&extcon_usb1>;
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/ |
D | cdn-dp-core.c | 146 struct extcon_dev *edev = port->extcon; in cdn_dp_get_port_lanes() 214 if (!extcon_get_state(port->extcon, EXTCON_DISP_DP)) in cdn_dp_check_sink_connection() 413 ret = extcon_get_property(port->extcon, EXTCON_DISP_DP, in cdn_dp_enable_phy() 1066 ret = devm_extcon_register_notifier(dp->dev, port->extcon, in cdn_dp_bind() 1146 struct extcon_dev *extcon; in cdn_dp_probe() local 1159 extcon = extcon_get_edev_by_phandle(dev, i); in cdn_dp_probe() 1162 if (PTR_ERR(extcon) == -EPROBE_DEFER || in cdn_dp_probe() 1166 if (IS_ERR(extcon) || IS_ERR(phy)) in cdn_dp_probe() 1173 port->extcon = extcon; in cdn_dp_probe()
|
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/ |
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
|
D | index.rst | 28 extcon-intel-int3496
|
/kernel/linux/linux-5.10/drivers/phy/allwinner/ |
D | phy-sun4i-usb.c | 141 struct extcon_dev *extcon; member 596 extcon_set_state_sync(data->extcon, EXTCON_USB_HOST, in sun4i_usb_phy0_id_vbus_det_scan() 616 extcon_set_state_sync(data->extcon, EXTCON_USB, vbus_det); in sun4i_usb_phy0_id_vbus_det_scan() 736 data->extcon = devm_extcon_dev_allocate(dev, sun4i_usb_phy0_cable); in sun4i_usb_phy_probe() 737 if (IS_ERR(data->extcon)) { in sun4i_usb_phy_probe() 739 return PTR_ERR(data->extcon); in sun4i_usb_phy_probe() 742 ret = devm_extcon_dev_register(dev, data->extcon); in sun4i_usb_phy_probe()
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
D | usb-omap1.h | 26 const char *extcon; /* extcon device for OTG */ member
|
/kernel/linux/linux-5.10/drivers/usb/musb/ |
D | sunxi.c | 85 struct extcon_dev *extcon; member 243 ret = devm_extcon_register_notifier(glue->dev, glue->extcon, in sunxi_musb_init() 747 glue->extcon = extcon_get_edev_by_phandle(&pdev->dev, 0); in sunxi_musb_probe() 748 if (IS_ERR(glue->extcon)) { in sunxi_musb_probe() 749 if (PTR_ERR(glue->extcon) == -EPROBE_DEFER) in sunxi_musb_probe() 752 return PTR_ERR(glue->extcon); in sunxi_musb_probe()
|
/kernel/linux/linux-5.10/drivers/phy/rockchip/ |
D | phy-rockchip-typec.c | 374 struct extcon_dev *extcon; member 808 struct extcon_dev *edev = tcphy->extcon; in tcphy_get_mode() 1154 tcphy->extcon = extcon_get_edev_by_phandle(dev, 0); in rockchip_typec_phy_probe() 1155 if (IS_ERR(tcphy->extcon)) { in rockchip_typec_phy_probe() 1156 if (PTR_ERR(tcphy->extcon) == -ENODEV) { in rockchip_typec_phy_probe() 1157 tcphy->extcon = NULL; in rockchip_typec_phy_probe() 1159 if (PTR_ERR(tcphy->extcon) != -EPROBE_DEFER) in rockchip_typec_phy_probe() 1161 return PTR_ERR(tcphy->extcon); in rockchip_typec_phy_probe()
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
D | rk3399-gru-chromebook.dtsi | 234 extcon = <&usbc_extcon0>, <&usbc_extcon1>; 303 compatible = "google,extcon-usbc-cros-ec"; 342 extcon = <&usbc_extcon1>; 363 extcon = <&usbc_extcon1>;
|