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