diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2011-04-08 13:22:10 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-13 16:50:44 -0700 |
commit | 8f1d169f999fea892c3fcbf5a79ae8525a477572 (patch) | |
tree | bd440582799dcacc4348121242b8e89cdf448053 /arch/arm/plat-s5p/include/plat/usb-phy.h | |
parent | 3e112662129b48bf8571ee5f7c49a4dbb3b70f04 (diff) | |
download | lwn-8f1d169f999fea892c3fcbf5a79ae8525a477572.tar.gz lwn-8f1d169f999fea892c3fcbf5a79ae8525a477572.zip |
ARM: EXYNOS4: Add usb host phy control
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>
Diffstat (limited to 'arch/arm/plat-s5p/include/plat/usb-phy.h')
-rw-r--r-- | arch/arm/plat-s5p/include/plat/usb-phy.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/plat-s5p/include/plat/usb-phy.h b/arch/arm/plat-s5p/include/plat/usb-phy.h new file mode 100644 index 000000000000..6dd6bcfca3ce --- /dev/null +++ b/arch/arm/plat-s5p/include/plat/usb-phy.h @@ -0,0 +1,22 @@ +/* + * 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 */ |