mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-26 11:28:28 +00:00
8f1d169f99
EXYNOS4 has 2 phys for usb host and usb device. This patch supports to control usb host phy of EXYNOS4. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
23 lines
675 B
C
23 lines
675 B
C
/*
|
|
* Copyright (C) 2011 Samsung Electronics Co.Ltd
|
|
* Author: Joonyoung Shim <jy0922.shim@samsung.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at your
|
|
* option) any later version.
|
|
*/
|
|
|
|
#ifndef __PLAT_S5P_USB_PHY_H
|
|
#define __PLAT_S5P_USB_PHY_H
|
|
|
|
enum s5p_usb_phy_type {
|
|
S5P_USB_PHY_DEVICE,
|
|
S5P_USB_PHY_HOST,
|
|
};
|
|
|
|
extern int s5p_usb_phy_init(struct platform_device *pdev, int type);
|
|
extern int s5p_usb_phy_exit(struct platform_device *pdev, int type);
|
|
|
|
#endif /* __PLAT_S5P_REGS_USB_PHY_H */
|