Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
omap-usb2.c File Reference
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/io.h>
#include <linux/usb/omap_usb.h>
#include <linux/usb/phy_companion.h>
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/pm_runtime.h>
#include <linux/delay.h>

Go to the source code of this file.

Macros

#define DEV_PM_OPS   NULL
 

Functions

int omap_usb2_set_comparator (struct phy_companion *comparator)
 
 EXPORT_SYMBOL_GPL (omap_usb2_set_comparator)
 
 module_platform_driver (omap_usb2_driver)
 
 MODULE_ALIAS ("platform: omap_usb2")
 
 MODULE_AUTHOR ("Texas Instruments Inc.")
 
 MODULE_DESCRIPTION ("OMAP USB2 phy driver")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define DEV_PM_OPS   NULL

Definition at line 244 of file omap-usb2.c.

Function Documentation

EXPORT_SYMBOL_GPL ( omap_usb2_set_comparator  )
MODULE_ALIAS ( "platform: omap_usb2"  )
MODULE_AUTHOR ( "Texas Instruments Inc."  )
MODULE_DESCRIPTION ( "OMAP USB2 phy driver )
MODULE_LICENSE ( "GPL v2 )
module_platform_driver ( omap_usb2_driver  )
int omap_usb2_set_comparator ( struct phy_companion comparator)

omap_usb2_set_comparator - links the comparator present in the sytem with this phy - the companion phy(comparator) for this phy

The phy companion driver should call this API passing the phy_companion filled with set_vbus and start_srp to be used by usb phy.

For use by phy companion driver

Definition at line 41 of file omap-usb2.c.