mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-29 19:18:22 +00:00 
			
		
		
		
	Hookup OTG USB controller support and enable the otg controller + USB-keyb on various tablets. This allows tablet owners to interact with u-boot without needing to solder a serial console onto their tablet PCB. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
		
			
				
	
	
		
			23 lines
		
	
	
		
			617 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			617 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Sunxi usb-controller code shared between the ehci and musb controllers
 | |
|  *
 | |
|  * Copyright (C) 2014 Roman Byshko
 | |
|  *
 | |
|  * Roman Byshko <rbyshko@gmail.com>
 | |
|  *
 | |
|  * Based on code from
 | |
|  * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
 | |
|  *
 | |
|  * SPDX-License-Identifier:	GPL-2.0+
 | |
|  */
 | |
| 
 | |
| extern const struct musb_platform_ops sunxi_musb_ops;
 | |
| 
 | |
| void *sunxi_usbc_get_io_base(int index);
 | |
| int sunxi_usbc_request_resources(int index);
 | |
| int sunxi_usbc_free_resources(int index);
 | |
| void sunxi_usbc_enable(int index);
 | |
| void sunxi_usbc_disable(int index);
 | |
| void sunxi_usbc_vbus_enable(int index);
 | |
| void sunxi_usbc_vbus_disable(int index);
 |