Home
last modified time | relevance | path

Searched full:vbus (Results 1 – 25 of 649) sorted by relevance

12345678910>>...26

/linux/Documentation/devicetree/bindings/regulator/
H A Dqcom,usb-vbus-regulator.yaml4 $id: http://devicetree.org/schemas/regulator/qcom,usb-vbus-regulator.yaml#
7 title: The Qualcomm PMIC VBUS output regulator driver
13 This regulator driver controls the VBUS output by the Qualcomm PMIC. This
24 - qcom,pm8150b-vbus-reg
27 - qcom,pm4125-vbus-reg
28 - qcom,pm6150-vbus-reg
29 - qcom,pm7250b-vbus-reg
30 - qcom,pmi632-vbus-reg
31 - const: qcom,pm8150b-vbus-reg
35 description: VBUS output base address
[all …]
/linux/Documentation/devicetree/bindings/phy/
H A Dnvidia,tegra194-xusb-padctl.yaml40 for the USB signal, the VBUS power supply, the USB 2.0 companion port for
72 description: USB I/Os, VBUS, ID, REXT, D+/D- power supply. Must
254 vbus-supply:
255 description: A phandle to the regulator supplying the VBUS
292 vbus-supply:
293 description: A phandle to the regulator supplying the VBUS
330 vbus-supply:
331 description: A phandle to the regulator supplying the VBUS
368 vbus-supply:
369 description: A phandle to the regulator supplying the VBUS
[all …]
H A Dnvidia,tegra210-xusb-padctl.yaml40 for the USB signal, the VBUS power supply, the USB 2.0 companion port for
382 vbus-supply:
383 description: A phandle to the regulator supplying the VBUS
420 vbus-supply:
421 description: A phandle to the regulator supplying the VBUS
458 vbus-supply:
459 description: A phandle to the regulator supplying the VBUS
496 vbus-supply:
497 description: A phandle to the regulator supplying the VBUS
507 vbus-supply:
[all …]
H A Dnvidia,tegra186-xusb-padctl.yaml40 for the USB signal, the VBUS power supply, the USB 2.0 companion port for
74 description: USB I/Os, VBUS, ID, REXT, D+/D- power supply. Must
263 vbus-supply:
264 description: A phandle to the regulator supplying the VBUS
301 vbus-supply:
302 description: A phandle to the regulator supplying the VBUS
339 vbus-supply:
340 description: A phandle to the regulator supplying the VBUS
367 vbus-supply:
368 description: A phandle to the regulator supplying the VBUS
[all …]
H A Dnvidia,tegra124-xusb-padctl.yaml40 for the USB signal, the VBUS power supply, the USB 2.0 companion port for
360 vbus-supply:
361 description: A phandle to the regulator supplying the VBUS
395 vbus-supply:
396 description: A phandle to the regulator supplying the VBUS
430 vbus-supply:
431 description: A phandle to the regulator supplying the VBUS
444 vbus-supply:
445 description: A phandle to the regulator supplying the VBUS
452 vbus-supply:
[all …]
/linux/drivers/extcon/
H A Dextcon-usb-gpio.c44 * "USB" = VBUS and "USB-HOST" = !ID, so we have:
47 * even if VBUS is on.
49 * State | ID | VBUS
57 * - VBUS only - we want to distinguish between [1] and [2], so ID is always 1.
58 * - ID only - we want to distinguish between [1] and [4], so VBUS = ID.
62 int id, vbus; in usb_extcon_detect_cable() local
67 /* check ID and VBUS and update cable state */ in usb_extcon_detect_cable()
70 vbus = info->vbus_gpiod ? in usb_extcon_detect_cable()
76 if (!vbus) in usb_extcon_detect_cable()
82 if (vbus) in usb_extcon_detect_cable()
[all …]
H A Dextcon-intel-int3496.c54 { "vbus-gpios", &vbus_gpios, 1 },
77 dev_err(data->dev, "Error updating Vbus boost regulator: %d\n", ret); in int3496_set_vbus_boost()
90 * Peripheral: set USB mux to peripheral and disable VBUS in int3496_do_usb_id()
91 * Host: set USB mux to host and enable VBUS in int3496_do_usb_id()
151 data->gpio_vbus_en = devm_gpiod_get(dev, "vbus", GPIOD_ASIS); in int3496_probe()
153 dev_dbg(dev, "can't request VBUS EN GPIO\n"); in int3496_probe()
154 data->vbus_boost = devm_regulator_get_optional(dev, "vbus"); in int3496_probe()
/linux/drivers/phy/socionext/
H A Dphy-uniphier-usb2.c42 struct regulator *vbus; member
52 if (priv->vbus) in uniphier_u2phy_power_on()
53 ret = regulator_enable(priv->vbus); in uniphier_u2phy_power_on()
62 if (priv->vbus) in uniphier_u2phy_power_off()
63 regulator_disable(priv->vbus); in uniphier_u2phy_power_off()
140 priv->vbus = devm_regulator_get_optional(dev, "vbus"); in uniphier_u2phy_probe()
141 if (IS_ERR(priv->vbus)) { in uniphier_u2phy_probe()
142 if (PTR_ERR(priv->vbus) == -EPROBE_DEFER) { in uniphier_u2phy_probe()
143 ret = PTR_ERR(priv->vbus); in uniphier_u2phy_probe()
146 priv->vbus = NULL; in uniphier_u2phy_probe()
H A Dphy-uniphier-usb3ss.c59 struct regulator *vbus; member
124 if (priv->vbus) { in uniphier_u3ssphy_power_on()
125 ret = regulator_enable(priv->vbus); in uniphier_u3ssphy_power_on()
146 if (priv->vbus) in uniphier_u3ssphy_power_off()
147 regulator_disable(priv->vbus); in uniphier_u3ssphy_power_off()
267 priv->vbus = devm_regulator_get_optional(dev, "vbus"); in uniphier_u3ssphy_probe()
268 if (IS_ERR(priv->vbus)) { in uniphier_u3ssphy_probe()
269 if (PTR_ERR(priv->vbus) == -EPROBE_DEFER) in uniphier_u3ssphy_probe()
270 return PTR_ERR(priv->vbus); in uniphier_u3ssphy_probe()
271 priv->vbus = NULL; in uniphier_u3ssphy_probe()
H A Dphy-uniphier-usb3hs.c73 struct regulator *vbus; member
220 if (priv->vbus) { in uniphier_u3hsphy_power_on()
221 ret = regulator_enable(priv->vbus); in uniphier_u3hsphy_power_on()
242 if (priv->vbus) in uniphier_u3hsphy_power_off()
243 regulator_disable(priv->vbus); in uniphier_u3hsphy_power_off()
376 priv->vbus = devm_regulator_get_optional(dev, "vbus"); in uniphier_u3hsphy_probe()
377 if (IS_ERR(priv->vbus)) { in uniphier_u3hsphy_probe()
378 if (PTR_ERR(priv->vbus) == -EPROBE_DEFER) in uniphier_u3hsphy_probe()
379 return PTR_ERR(priv->vbus); in uniphier_u3hsphy_probe()
380 priv->vbus = NULL; in uniphier_u3hsphy_probe()
/linux/Documentation/devicetree/bindings/usb/
H A Dusb-nop-xceiv.yaml36 vbus-detect-gpio:
37 description: Should specify the GPIO detecting a VBus insertion
40 vbus-supply:
41 description: regulator supplying VBUS. It will be enabled and disabled
68 vbus-detect-gpio = <&gpio2 13 GPIO_ACTIVE_HIGH>;
69 vbus-supply = <&vbus_regulator>;
H A Datmel-usb.txt16 - atmel,vbus-gpio: If present, specifies a gpio that needs to be
70 - atmel,vbus-gpio: If present, specifies a gpio that needs to be
79 atmel,vbus-gpio = <&pioC 5 0>;
104 - atmel,vbus-gpio: If present, specifies a gpio that allows to detect whether
105 vbus is present (USB is connected).
124 atmel,vbus-gpio = <&pioB 19 0>;
H A Dfcs,fusb302.yaml22 vbus-supply:
23 description: VBUS power supply
34 - vbus-supply
53 vbus-supply = <&vbus_typec>;
/linux/drivers/phy/samsung/
H A Dphy-samsung-usb2.c27 if (drv->vbus) { in samsung_usb2_phy_power_on()
28 ret = regulator_enable(drv->vbus); in samsung_usb2_phy_power_on()
54 if (drv->vbus) in samsung_usb2_phy_power_on()
55 regulator_disable(drv->vbus); in samsung_usb2_phy_power_on()
77 if (drv->vbus) in samsung_usb2_phy_power_off()
78 ret = regulator_disable(drv->vbus); in samsung_usb2_phy_power_off()
212 drv->vbus = devm_regulator_get(dev, "vbus"); in samsung_usb2_phy_probe()
213 if (IS_ERR(drv->vbus)) { in samsung_usb2_phy_probe()
214 ret = PTR_ERR(drv->vbus); in samsung_usb2_phy_probe()
217 drv->vbus = NULL; in samsung_usb2_phy_probe()
/linux/drivers/usb/phy/
H A Dphy-omap-otg.c24 bool vbus; member
52 if (!otg_dev->id && otg_dev->vbus) in omap_otg_set_mode()
55 else if (otg_dev->vbus) in omap_otg_set_mode()
59 /* Set B-session end to indicate no VBUS. */ in omap_otg_set_mode()
80 otg_dev->vbus = event; in omap_otg_vbus_notifier()
125 otg_dev->vbus = extcon_get_state(extcon, EXTCON_USB); in omap_otg_probe()
131 "OMAP USB OTG controller rev %d.%d (%s, id=%d, vbus=%d)\n", in omap_otg_probe()
133 otg_dev->vbus); in omap_otg_probe()
/linux/include/linux/usb/
H A Dtcpm.h61 * @get_vbus: Called to read current VBUS state
75 * @set_vbus: Called to enable or disable VBUS
93 * Optional; Called to notify that vbus is now being sourced.
97 * support hardware to autonomously dischrge vbus upon disconnecting
103 * vbus threshold voltage below which the vbus discharge circuit
104 * will be turned on. requested_vbus_voltage is set to 0 when vbus
109 * detect VSAFE0V voltage level at vbus. When detection of VSAFE0V
111 * whether vbus is at VSAFE0V when needed.
112 * Returns true when vbus i
[all...]
/linux/arch/arm/boot/dts/allwinner/
H A Dsunxi-common-regulators.dtsi2 * sunxi boards common regulator (ahci target power supply, usb-vbus) code
59 reg_usb0_vbus: usb0-vbus {
61 regulator-name = "usb0-vbus";
69 reg_usb1_vbus: usb1-vbus {
71 regulator-name = "usb1-vbus";
80 reg_usb2_vbus: usb2-vbus {
82 regulator-name = "usb2-vbus";
/linux/drivers/regulator/
H A Dqcom_usb_vbus-regulator.c3 // Qualcomm PMIC VBUS output regulator driver
83 dev_err(dev, "not able to register vbus reg %d\n", ret); in qcom_usb_vbus_regulator_probe()
87 /* Disable HW logic for VBUS enable */ in qcom_usb_vbus_regulator_probe()
94 { .compatible = "qcom,pm8150b-vbus-reg" },
101 .name = "qcom-usb-vbus-regulator",
109 MODULE_DESCRIPTION("Qualcomm USB vbus regulator driver");
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-prti6q.dtsi21 reg_usb_h1_vbus: regulator-h1-vbus {
23 regulator-name = "h1-vbus";
28 reg_usb_otg_vbus: regulator-otg-vbus {
30 regulator-name = "otg-vbus";
69 vbus-supply = <&reg_usb_h1_vbus>;
77 vbus-supply = <&reg_usb_otg_vbus>;
/linux/Documentation/devicetree/bindings/reset/
H A Drenesas,rzg2l-usbphy-ctrl.yaml45 regulator-vbus:
47 description: USB VBUS regulator
58 - regulator-vbus
74 regulator-vbus {
75 regulator-name = "vbus";
/linux/drivers/usb/chipidea/
H A Dotg.c35 * If using extcon framework for VBUS and/or ID signal in hw_read_otgsc()
92 /* Don't enable vbus interrupt if using external notifier */ in hw_write_otgsc()
146 * hw_wait_vbus_lower_bsv - When we switch to device mode, the vbus value
183 * vbus disconnect event is lost due to role in ci_handle_id_switch()
193 * Wait vbus lower than OTGSC_BSV before connecting in ci_handle_id_switch()
196 * care vbus on the board, since it will not affect in ci_handle_id_switch()
202 /* vbus change may have already occurred */ in ci_handle_id_switch()
209 * ci_otg_work - perform otg (vbus/id) event handle
/linux/arch/arm64/boot/dts/qcom/
H A Dpm4125.dtsi39 pm4125_vbus: usb-vbus-regulator@1100 {
40 compatible = "qcom,pm4125-vbus-reg", "qcom,pm8150b-vbus-reg";
60 "vbus-change",
64 vdd-vbus-supply = <&pm4125_vbus>;
/linux/drivers/phy/rockchip/
H A Dphy-rockchip-usb.c76 struct regulator *vbus; member
99 if (phy->vbus) in rockchip_usb_phy480m_disable()
100 regulator_disable(phy->vbus); in rockchip_usb_phy480m_disable()
157 if (phy->vbus) { in rockchip_usb_phy_power_on()
160 ret = regulator_enable(phy->vbus); in rockchip_usb_phy_power_on()
290 rk_phy->vbus = devm_regulator_get_optional(&rk_phy->phy->dev, "vbus"); in rockchip_usb_phy_init()
291 if (IS_ERR(rk_phy->vbus)) { in rockchip_usb_phy_init()
292 if (PTR_ERR(rk_phy->vbus) == -EPROBE_DEFER) in rockchip_usb_phy_init()
293 return PTR_ERR(rk_phy->vbus); in rockchip_usb_phy_init()
294 rk_phy->vbus = NULL; in rockchip_usb_phy_init()
/linux/drivers/phy/freescale/
H A Dphy-fsl-imx8mq-usb.c57 struct regulator *vbus; member
326 ret = regulator_enable(imx_phy->vbus); in imx8mq_phy_power_on()
338 regulator_disable(imx_phy->vbus); in imx8mq_phy_power_off()
395 imx_phy->vbus = devm_regulator_get(dev, "vbus"); in imx8mq_usb_phy_probe()
396 if (IS_ERR(imx_phy->vbus)) in imx8mq_usb_phy_probe()
397 return dev_err_probe(dev, PTR_ERR(imx_phy->vbus), "failed to get vbus\n"); in imx8mq_usb_phy_probe()
/linux/Documentation/firmware-guide/acpi/
H A Dextcon-intel-int3496.rst10 USB-otg port, as well as how it optionally can enable Vbus output on the
19 Index 1 The output gpio for enabling Vbus output from the device to the otg
20 port, write 1 to enable the Vbus output (this gpio descriptor may
31 vbus index 1

12345678910>>...26