Home
last modified time | relevance | path

Searched full:wusb3801 (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/usb/typec/
H A Dwusb3801.c3 * Willsemi WUSB3801 Type-C port controller driver
86 struct wusb3801 { struct
99 static enum typec_role wusb3801_get_default_role(struct wusb3801 *wusb3801) in wusb3801_get_default_role() argument
101 switch (wusb3801->port_type) { in wusb3801_get_default_role()
108 if (wusb3801->cap.prefer_role == TYPEC_SOURCE) in wusb3801_get_default_role()
183 struct wusb3801 *wusb3801 = typec_get_drvdata(port); in wusb3801_try_role() local
185 return regmap_update_bits(wusb3801->regmap, WUSB3801_REG_CTRL0, in wusb3801_try_role()
193 struct wusb3801 *wusb3801 = typec_get_drvdata(port); in wusb3801_port_type_set() local
196 ret = regmap_update_bits(wusb3801->regmap, WUSB3801_REG_CTRL0, in wusb3801_port_type_set()
202 wusb3801->port_type = type; in wusb3801_port_type_set()
[all …]
H A DKconfig104 tristate "Willsemi WUSB3801 Type-C port controller driver"
108 Say Y or M here if your system has a WUSB3801 Type-C port controller.
111 module will be called wusb3801.ko.
H A DMakefile13 obj-$(CONFIG_TYPEC_WUSB3801) += wusb3801.o
/linux/Documentation/devicetree/bindings/usb/
H A Dwillsemi,wusb3801.yaml4 $id: http://devicetree.org/schemas/usb/willsemi,wusb3801.yaml#
7 title: WUSB3801 Type-C port controller
10 The Will Semiconductor WUSB3801 is a USB Type-C port controller which
20 - willsemi,wusb3801
33 The managed USB Type-C connector. Since WUSB3801 does not support
60 compatible = "willsemi,wusb3801";