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

#include <voltage.h>

Data Fields

int slew_rate
 
int step_size
 
u32 on_volt
 
u32 onlp_volt
 
u32 ret_volt
 
u32 off_volt
 
u16 volt_setup_time
 
u16 i2c_slave_addr
 
u16 volt_reg_addr
 
u16 cmd_reg_addr
 
u8 vp_erroroffset
 
u8 vp_vstepmin
 
u8 vp_vstepmax
 
u8 vp_vddmin
 
u8 vp_vddmax
 
u8 vp_timeout_us
 
bool i2c_high_speed
 
u8 i2c_mcode
 
unsigned long(* vsel_to_uv )(const u8 vsel)
 
u8(* uv_to_vsel )(unsigned long uV)
 

Detailed Description

struct omap_voltdm_pmic - PMIC specific data required by voltage driver. : PMIC slew rate (in uv/us) : PMIC voltage step size (in uv) : I2C slave address of PMIC : voltage configuration register address : command (on, on-LP, ret, off) configuration register address : whether VC uses I2C high-speed mode to PMIC : master code value for I2C high-speed preamble transmission : PMIC API to convert vsel value to actual voltage in uV. : PMIC API to convert voltage in uV to vsel value.

Definition at line 107 of file voltage.h.

Field Documentation

u16 cmd_reg_addr

Definition at line 117 of file voltage.h.

bool i2c_high_speed

Definition at line 124 of file voltage.h.

u8 i2c_mcode

Definition at line 125 of file voltage.h.

u16 i2c_slave_addr

Definition at line 115 of file voltage.h.

u32 off_volt

Definition at line 113 of file voltage.h.

u32 on_volt

Definition at line 110 of file voltage.h.

u32 onlp_volt

Definition at line 111 of file voltage.h.

u32 ret_volt

Definition at line 112 of file voltage.h.

int slew_rate

Definition at line 108 of file voltage.h.

int step_size

Definition at line 109 of file voltage.h.

u8(* uv_to_vsel)(unsigned long uV)

Definition at line 127 of file voltage.h.

u16 volt_reg_addr

Definition at line 116 of file voltage.h.

u16 volt_setup_time

Definition at line 114 of file voltage.h.

u8 vp_erroroffset

Definition at line 118 of file voltage.h.

u8 vp_timeout_us

Definition at line 123 of file voltage.h.

u8 vp_vddmax

Definition at line 122 of file voltage.h.

u8 vp_vddmin

Definition at line 121 of file voltage.h.

u8 vp_vstepmax

Definition at line 120 of file voltage.h.

u8 vp_vstepmin

Definition at line 119 of file voltage.h.

unsigned long(* vsel_to_uv)(const u8 vsel)

Definition at line 126 of file voltage.h.


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