Lines Matching +full:usb +full:- +full:sdp

1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * - linux/include/linux/extcon.h for extcon consumer device driver.
26 #define EXTCON_TYPE_USB BIT(0) /* USB connector */
37 /* USB external connector */
44 * When one SDP charger connector was reported, we should also report
45 * the USB connector, which means EXTCON_CHG_USB_SDP should always
60 #define EXTCON_CHG_USB_PD 12 /* USB Power Delivery */
73 #define EXTCON_DISP_HDMI 40 /* High-Definition Multimedia Interface */
74 #define EXTCON_DISP_MHL 41 /* Mobile High-Definition Link */
78 #define EXTCON_DISP_HMD 45 /* Head-Mounted Display */
99 * EXTCON_PROP_USB_[property name] : USB property
108 * - EXTCON_PROP_USB_VBUS
112 * - EXTCON_PROP_USB_TYPEC_POLARITY
116 * - EXTCON_PROP_USB_SS (SuperSpeed)
118 * @value: 0 (USB/USB2) or 1 (USB3)
119 * @default: 0 (USB/USB2)
128 #define EXTCON_PROP_USB_CNT (EXTCON_PROP_USB_MAX - EXTCON_PROP_USB_MIN + 1)
133 #define EXTCON_PROP_CHG_CNT (EXTCON_PROP_CHG_MAX - EXTCON_PROP_CHG_MIN + 1)
138 #define EXTCON_PROP_JACK_CNT (EXTCON_PROP_JACK_MAX - EXTCON_PROP_JACK_MIN + 1)
143 * - EXTCON_PROP_DISP_HPD (Hot Plug Detect)
154 #define EXTCON_PROP_DISP_CNT (EXTCON_PROP_DISP_MAX - EXTCON_PROP_DISP_MIN + 1)
267 return -ENOSYS; in devm_extcon_register_notifier()
276 return ERR_PTR(-ENODEV); in extcon_get_extcon_dev()
281 return ERR_PTR(-ENODEV); in extcon_find_edev_by_node()
287 return ERR_PTR(-ENODEV); in extcon_get_edev_by_phandle()
311 return -EINVAL; in extcon_register_interest()
316 return -EINVAL; in extcon_unregister_interest()