Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Kishon Vijay Abraham I | e99e37b | 2015-02-23 18:40:12 +0530 | [diff] [blame] | 2 | /* include/ti_usb_phy_uboot.h |
| 3 | * |
Nishanth Menon | eaa39c6 | 2023-11-01 15:56:03 -0500 | [diff] [blame] | 4 | * Copyright (c) 2014 Texas Instruments Incorporated - https://www.ti.com |
Kishon Vijay Abraham I | e99e37b | 2015-02-23 18:40:12 +0530 | [diff] [blame] | 5 | * |
| 6 | * USB2 and USB3 PHY uboot init |
Kishon Vijay Abraham I | e99e37b | 2015-02-23 18:40:12 +0530 | [diff] [blame] | 7 | */ |
| 8 | |
| 9 | #ifndef __TI_USB_PHY_UBOOT_H_ |
| 10 | #define __TI_USB_PHY_UBOOT_H_ |
| 11 | |
| 12 | struct ti_usb_phy_device { |
| 13 | void *pll_ctrl_base; |
| 14 | void *usb2_phy_power; |
| 15 | void *usb3_phy_power; |
| 16 | int index; |
| 17 | }; |
| 18 | |
| 19 | int ti_usb_phy_uboot_init(struct ti_usb_phy_device *dev); |
| 20 | void ti_usb_phy_uboot_exit(int index); |
| 21 | #endif /* __TI_USB_PHY_UBOOT_H_ */ |