]> git.sur5r.net Git - u-boot/blob - arch/arm/include/asm/arch-sunxi/usb_phy.h
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / arm / include / asm / arch-sunxi / usb_phy.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Sunxi usb-phy code
4  *
5  * Copyright (C) 2015 Hans de Goede <hdegoede@redhat.com>
6  * Copyright (C) 2014 Roman Byshko <rbyshko@gmail.com>
7  *
8  * Based on code from
9  * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
10  */
11
12 int sunxi_usb_phy_probe(void);
13 int sunxi_usb_phy_remove(void);
14 void sunxi_usb_phy_init(int index);
15 void sunxi_usb_phy_exit(int index);
16 void sunxi_usb_phy_power_on(int index);
17 void sunxi_usb_phy_power_off(int index);
18 int sunxi_usb_phy_vbus_detect(int index);
19 int sunxi_usb_phy_id_detect(int index);
20 void sunxi_usb_phy_enable_squelch_detect(int index, int enable);