/* * Copyright (C) 2011 Samsung Electronics Co.Ltd * Author: Joonyoung Shim * * 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, S5P_USB_PHY_DRD, S5P_USB_PHY_OTGHOST, }; #if defined(CONFIG_LINK_DEVICE_HSIC) || defined(CONFIG_LINK_DEVICE_USB) || \ defined(CONFIG_CDMA_MODEM_MDM6600) enum s5p_host_state { S5P_HOST_OFF, S5P_HOST_ON, }; #endif extern int s5p_usb_phy_init(struct platform_device *pdev, int type); extern int s5p_usb_phy_exit(struct platform_device *pdev, int type); extern int s5p_usb_phy_suspend(struct platform_device *pdev, int type); extern int s5p_usb_phy_resume(struct platform_device *pdev, int type); extern int exynos4_check_usb_op(void); #endif /* __PLAT_S5P_REGS_USB_PHY_H */