Lines Matching +full:usb +full:- +full:charge +full:- +full:current +full:- +full:limit
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright 2015-2017 Google, Inc
10 #include <linux/usb/typec.h>
54 #define TCPC_MUX_USB_ENABLED BIT(0) /* USB enabled */
59 * struct tcpc_dev - Port configuration and callback functions
61 * @get_vbus: Called to read current VBUS state
64 * and cc=Rp-def. This allows the tcpm to provide a fallback
65 * current-limit detection method for the cc=Rp-def case.
71 * @get_cc: Called to read current CC pin values
77 * Optional; called to set current limit as negotiated
82 * Optional; if supported by hardware, called to start dual-role
83 * toggling or single-role connection detection. Toggling stops
114 * Optional; The USB Communications Capable bit indicates if port
115 * partner is capable of communication over the USB data lines
116 * (e.g. D+/- or SS Tx/Rx). Called to notify the status of the bit.
132 int (*set_vbus)(struct tcpc_dev *dev, bool on, bool charge);