blob: 46899621868ed7ae116e6b236b3f703e9832dc1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/**
* dwc3-exynos.h - Samsung EXYNOS DWC3 Specific Glue layer header
*
* Copyright (c) 2012 Samsung Electronics Co., Ltd.
* http://www.samsung.com
*
* Author: Anton Tikhomirov <av.tikhomirov@samsung.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 of
* the License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __LINUX_USB_DWC3_EXYNOS_H
#define __LINUX_USB_DWC3_EXYNOS_H
extern bool dwc3_exynos_rsw_available(struct device *dev);
extern int dwc3_exynos_rsw_setup(struct device *dev, struct otg_fsm *fsm);
extern void dwc3_exynos_rsw_exit(struct device *dev);
extern int dwc3_exynos_rsw_start(struct device *dev);
extern void dwc3_exynos_rsw_stop(struct device *dev);
extern int dwc3_exynos_id_event(struct device *dev, int state);
extern int dwc3_exynos_vbus_event(struct device *dev, bool vbus_active);
extern int dwc3_exynos_start_ldo(struct device *dev, bool on);
extern int dwc3_exynos_phy_enable(int owner, bool on);
#endif /* __LINUX_USB_DWC3_EXYNOS_H */
|