337dc3a768
This driver uses usb_phy interface to interact with s3c-hsotg. Supports phy_init and phy_shutdown functions to enable/disable usb phy. Support will be extended to host controllers and more Samsung SoCs. Signed-off-by: Praveen Paneri <p.paneri@samsung.com> Acked-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
27 lines
833 B
C
27 lines
833 B
C
/*
|
|
* Copyright (C) 2012 Samsung Electronics Co.Ltd
|
|
* http://www.samsung.com/
|
|
* Author: Praveen Paneri <p.paneri@samsung.com>
|
|
*
|
|
* Defines platform data for samsung usb phy driver.
|
|
*
|
|
* 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 __SAMSUNG_USBPHY_PLATFORM_H
|
|
#define __SAMSUNG_USBPHY_PLATFORM_H
|
|
|
|
/**
|
|
* samsung_usbphy_data - Platform data for USB PHY driver.
|
|
* @pmu_isolation: Function to control usb phy isolation in PMU.
|
|
*/
|
|
struct samsung_usbphy_data {
|
|
void (*pmu_isolation)(int on);
|
|
};
|
|
|
|
extern void samsung_usbphy_set_pdata(struct samsung_usbphy_data *pd);
|
|
|
|
#endif /* __SAMSUNG_USBPHY_PLATFORM_H */
|