summaryrefslogtreecommitdiff
path: root/include/ti-usb-phy-uboot.h
blob: 93f7101cb179a661f01406b9ea5b0ce51cd5c74f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* include/ti_usb_phy_uboot.h
 *
 * Copyright (c) 2014 Texas Instruments Incorporated - http://www.ti.com
 *
 * USB2 and USB3 PHY uboot init
 *
 * SPDX-License-Identifier:     GPL-2.0+
 */

#ifndef __TI_USB_PHY_UBOOT_H_
#define __TI_USB_PHY_UBOOT_H_

struct ti_usb_phy_device {
	void *pll_ctrl_base;
	void *usb2_phy_power;
	void *usb3_phy_power;
	int index;
};

int ti_usb_phy_uboot_init(struct ti_usb_phy_device *dev);
void ti_usb_phy_uboot_exit(int index);
#endif /* __TI_USB_PHY_UBOOT_H_ */