printf: Remove unused 'bprintf'
[drm/drm-misc.git] / include / linux / usb / phy_companion.h
blob862aaeca231914ec4b11f5b64d76321a6191006d
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3 * phy-companion.h -- phy companion to indicate the comparator part of PHY
5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com
7 * Author: Kishon Vijay Abraham I <kishon@ti.com>
8 */
10 #ifndef __DRIVERS_PHY_COMPANION_H
11 #define __DRIVERS_PHY_COMPANION_H
13 #include <linux/usb/otg.h>
15 /* phy_companion to take care of VBUS, ID and srp capabilities */
16 struct phy_companion {
18 /* effective for A-peripheral, ignored for B devices */
19 int (*set_vbus)(struct phy_companion *x, bool enabled);
21 /* for B devices only: start session with A-Host */
22 int (*start_srp)(struct phy_companion *x);
25 #endif /* __DRIVERS_PHY_COMPANION_H */