![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0+ 0002 /* 0003 * phy-companion.h -- phy companion to indicate the comparator part of PHY 0004 * 0005 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com 0006 * 0007 * Author: Kishon Vijay Abraham I <kishon@ti.com> 0008 */ 0009 0010 #ifndef __DRIVERS_PHY_COMPANION_H 0011 #define __DRIVERS_PHY_COMPANION_H 0012 0013 #include <linux/usb/otg.h> 0014 0015 /* phy_companion to take care of VBUS, ID and srp capabilities */ 0016 struct phy_companion { 0017 0018 /* effective for A-peripheral, ignored for B devices */ 0019 int (*set_vbus)(struct phy_companion *x, bool enabled); 0020 0021 /* for B devices only: start session with A-Host */ 0022 int (*start_srp)(struct phy_companion *x); 0023 }; 0024 0025 #endif /* __DRIVERS_PHY_COMPANION_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |