blob: 8d2097336c4288d64cef37fdde88fb5c653e2b7e [file] [log] [blame]
Hans de Goedea1441982015-01-07 15:08:43 +01001/*
2 * Sunxi usb-controller code shared between the ehci and musb controllers
3 *
4 * Copyright (C) 2014 Roman Byshko
5 *
6 * Roman Byshko <rbyshko@gmail.com>
7 *
8 * Based on code from
9 * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
10 *
11 * SPDX-License-Identifier: GPL-2.0+
12 */
13
14void *sunxi_usbc_get_io_base(int index);
15int sunxi_usbc_request_resources(int index);
16int sunxi_usbc_free_resources(int index);
17void sunxi_usbc_enable(int index);
18void sunxi_usbc_disable(int index);
19void sunxi_usbc_vbus_enable(int index);
20void sunxi_usbc_vbus_disable(int index);