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