mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-11-03 18:01:41 +01:00 
			
		
		
		
	Added a single driver for both USB2 PHY programming and USB3 PHY programming. USB3 PHY is taken from drivers/phy/phy-ti-pipe3.c in linux kernel. commit 56042e : phy: ti-pipe3: Fix suspend/resume and module reload. USB2 PHY is taken from drivers/phy/phy-omap-usb2.c in linux kernel. commit eb82a3 : phy: omap-usb2: Balance pm_runtime_enable() on probe failure and remove. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
		
			
				
	
	
		
			23 lines
		
	
	
		
			494 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			494 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* 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_ */
 |