Home
last modified time | relevance | path

Searched full:otg_switch (Results 1 – 19 of 19) sorted by relevance

/linux-6.12.1/drivers/misc/
Dhisi_hikey_usb.c34 struct gpio_desc *otg_switch; member
76 if (!hisi_hikey_usb->otg_switch) in usb_switch_ctrl()
79 gpiod_set_value_cansleep(hisi_hikey_usb->otg_switch, switch_to); in usb_switch_ctrl()
154 hisi_hikey_usb->otg_switch = devm_gpiod_get(dev, "otg-switch", in hisi_hikey_usb_of_role_switch()
156 if (IS_ERR(hisi_hikey_usb->otg_switch)) { in hisi_hikey_usb_of_role_switch()
158 PTR_ERR(hisi_hikey_usb->otg_switch)); in hisi_hikey_usb_of_role_switch()
159 return PTR_ERR(hisi_hikey_usb->otg_switch); in hisi_hikey_usb_of_role_switch()
/linux-6.12.1/drivers/usb/mtu3/
Dmtu3_dr.c19 return container_of(otg_sx, struct ssusb_mtk, otg_switch); in otg_sx_to_ssusb()
75 if (ssusb->otg_switch.is_u3_drd) { in switch_port_to_host()
94 if (ssusb->otg_switch.is_u3_drd) { in switch_port_to_device()
232 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_mode_switch()
263 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_role_sw_set()
309 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_otg_switch_init()
326 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_otg_switch_exit()
Dmtu3_host.c250 if (ssusb->otg_switch.is_u3_drd) in ssusb_host_resume()
327 ssusb_set_vbus(&ssusb->otg_switch, 1); in ssusb_host_setup()
333 ssusb_set_vbus(&ssusb->otg_switch, 0); in ssusb_host_cleanup()
Dmtu3_debugfs.c436 ssusb->otg_switch.manual_drd_enabled ? "manual" : "auto"); in ssusb_mode_show()
479 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_vbus_show()
497 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_vbus_write()
Dmtu3_plat.c195 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in ssusb_u3_drd_check()
221 struct otg_switch_mtk *otg_sx = &ssusb->otg_switch; in get_ssusb_rscs()
Dmtu3.h255 struct otg_switch_mtk otg_switch; member
/linux-6.12.1/Documentation/devicetree/bindings/mfd/
Drockchip,rk817.yaml97 The input supply for OTG_SWITCH on RK817,
103 "^(LDO_REG[1-9]|DCDC_REG[1-5]|BOOST|OTG_SWITCH|SWITCH_REG[1-2])$":
190 "^(BOOST|OTG_SWITCH)$": false
Drockchip,rk818.yaml97 The input supply for OTG_SWITCH.
102 "^(DCDC_REG[1-4]|DCDC_BOOST|LDO_REG[1-9]|SWITCH_REG|HDMI_SWITCH|OTG_SWITCH)$":
/linux-6.12.1/arch/arm64/boot/dts/rockchip/
Drk3566-pinenote.dtsi416 otg_switch: OTG_SWITCH { label
417 regulator-name = "otg_switch";
479 vbus-supply = <&otg_switch>;
Drk3566-anbernic-rgxx3.dtsi445 otg_switch: OTG_SWITCH { label
446 regulator-name = "otg_switch";
Drk3326-gameforce-chi.dts554 otg_switch: OTG_SWITCH { label
555 regulator-name = "otg_switch";
Drk3566-powkiddy-rk2023.dtsi604 otg_switch: OTG_SWITCH { label
605 regulator-name = "otg_switch";
Drk3566-quartz64-a.dts527 otg_switch: OTG_SWITCH { label
528 regulator-name = "otg_switch";
Drk3566-powkiddy-x55.dts636 otg_switch: OTG_SWITCH { label
637 regulator-name = "otg_switch";
Drk3566-pinetab2.dtsi544 vbus: OTG_SWITCH {
547 regulator-name = "otg_switch";
Drk3566-radxa-zero-3.dtsi410 vbus: OTG_SWITCH {
/linux-6.12.1/Documentation/devicetree/bindings/usb/
Dwillsemi,wusb3801.yaml68 vbus-supply = <&otg_switch>;
/linux-6.12.1/arch/arm64/boot/dts/amlogic/
Dmeson-g12b-odroid-go-ultra.dts506 OTG_SWITCH {
507 regulator-name = "otg_switch";
602 usb_host: OTG_SWITCH {
/linux-6.12.1/drivers/regulator/
Drk808-regulator.c1727 RK817_DESC_SWITCH(RK817_ID_BOOST_OTG_SW, "OTG_SWITCH", "vcc9",
1830 RK8XX_DESC_SWITCH(RK818_ID_OTG_SWITCH, "OTG_SWITCH", "usb",