Home
last modified time | relevance | path

Searched refs:typec_vbus (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/misc/
H A Dhisi_hikey_usb.c36 struct gpio_desc *typec_vbus; member
86 if (!hisi_hikey_usb->typec_vbus) in usb_typec_power_ctrl()
89 gpiod_set_value_cansleep(hisi_hikey_usb->typec_vbus, value); in usb_typec_power_ctrl()
163 hisi_hikey_usb->typec_vbus = devm_gpiod_get(dev, "typec-vbus", in hisi_hikey_usb_of_role_switch()
165 if (IS_ERR(hisi_hikey_usb->typec_vbus)) { in hisi_hikey_usb_of_role_switch()
167 PTR_ERR(hisi_hikey_usb->typec_vbus)); in hisi_hikey_usb_of_role_switch()
168 return PTR_ERR(hisi_hikey_usb->typec_vbus); in hisi_hikey_usb_of_role_switch()