Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
msm_otg_platform_data Struct Reference

#include <msm_hsusb.h>

Data Fields

intphy_init_seq
 
void(* vbus_power )(bool on)
 
unsigned power_budget
 
enum usb_mode_type mode
 
enum otg_control_type otg_control
 
enum usb_mode_type default_mode
 
enum msm_usb_phy_type phy_type
 
void(* setup_gpio )(enum usb_otg_state state)
 
charpclk_src_name
 

Detailed Description

struct msm_otg_platform_data - platform device data for msm_otg driver. : PHY configuration sequence. val, reg pairs terminated by -1. : VBUS power on/off routine. : VBUS power budget in mA (0 will be treated as 500mA). : Supported mode (OTG/peripheral/host). : OTG switch controlled by user/Id pin : Default operational mode. Applicable only if OTG switch is controller by user. : pclk is derived from ebi1_usb_clk in case of 7x27 and 8k dfab_usb_hs_clk in case of 8660 and 8960.

Definition at line 128 of file msm_hsusb.h.

Field Documentation

enum usb_mode_type default_mode

Definition at line 134 of file msm_hsusb.h.

enum usb_mode_type mode

Definition at line 132 of file msm_hsusb.h.

enum otg_control_type otg_control

Definition at line 133 of file msm_hsusb.h.

char* pclk_src_name

Definition at line 137 of file msm_hsusb.h.

int* phy_init_seq

Definition at line 129 of file msm_hsusb.h.

enum msm_usb_phy_type phy_type

Definition at line 135 of file msm_hsusb.h.

unsigned power_budget

Definition at line 131 of file msm_hsusb.h.

void(* setup_gpio)(enum usb_otg_state state)

Definition at line 136 of file msm_hsusb.h.

void(* vbus_power)(bool on)

Definition at line 130 of file msm_hsusb.h.


The documentation for this struct was generated from the following file: