xref: /OK3568_Linux_fs/u-boot/include/ti-usb-phy-uboot.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* include/ti_usb_phy_uboot.h
2*4882a593Smuzhiyun  *
3*4882a593Smuzhiyun  * Copyright (c) 2014 Texas Instruments Incorporated - http://www.ti.com
4*4882a593Smuzhiyun  *
5*4882a593Smuzhiyun  * USB2 and USB3 PHY uboot init
6*4882a593Smuzhiyun  *
7*4882a593Smuzhiyun  * SPDX-License-Identifier:     GPL-2.0+
8*4882a593Smuzhiyun  */
9*4882a593Smuzhiyun 
10*4882a593Smuzhiyun #ifndef __TI_USB_PHY_UBOOT_H_
11*4882a593Smuzhiyun #define __TI_USB_PHY_UBOOT_H_
12*4882a593Smuzhiyun 
13*4882a593Smuzhiyun struct ti_usb_phy_device {
14*4882a593Smuzhiyun 	void *pll_ctrl_base;
15*4882a593Smuzhiyun 	void *usb2_phy_power;
16*4882a593Smuzhiyun 	void *usb3_phy_power;
17*4882a593Smuzhiyun 	int index;
18*4882a593Smuzhiyun };
19*4882a593Smuzhiyun 
20*4882a593Smuzhiyun int ti_usb_phy_uboot_init(struct ti_usb_phy_device *dev);
21*4882a593Smuzhiyun void ti_usb_phy_uboot_exit(int index);
22*4882a593Smuzhiyun #endif /* __TI_USB_PHY_UBOOT_H_ */
23