Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
lp872x.h File Reference
#include <linux/regulator/machine.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>

Go to the source code of this file.

Data Structures

struct  lp872x_dvs
 
struct  lp872x_regulator_data
 
struct  lp872x_platform_data
 

Macros

#define LP872X_MAX_REGULATORS   9
 

Enumerations

enum  lp872x_regulator_id {
  LP8720_ID_BASE, LP8720_ID_LDO1 = LP8720_ID_BASE, LP8720_ID_LDO2, LP8720_ID_LDO3,
  LP8720_ID_LDO4, LP8720_ID_LDO5, LP8720_ID_BUCK, LP8725_ID_BASE,
  LP8725_ID_LDO1 = LP8725_ID_BASE, LP8725_ID_LDO2, LP8725_ID_LDO3, LP8725_ID_LDO4,
  LP8725_ID_LDO5, LP8725_ID_LILO1, LP8725_ID_LILO2, LP8725_ID_BUCK1,
  LP8725_ID_BUCK2, LP872X_ID_MAX
}
 
enum  lp872x_dvs_state { DVS_LOW = GPIOF_OUT_INIT_LOW, DVS_HIGH = GPIOF_OUT_INIT_HIGH }
 
enum  lp872x_dvs_sel { SEL_V1, SEL_V2 }
 

Macro Definition Documentation

#define LP872X_MAX_REGULATORS   9

Definition at line 19 of file lp872x.h.

Enumeration Type Documentation

Enumerator:
SEL_V1 
SEL_V2 

Definition at line 49 of file lp872x.h.

Enumerator:
DVS_LOW 
DVS_HIGH 

Definition at line 44 of file lp872x.h.

Enumerator:
LP8720_ID_BASE 
LP8720_ID_LDO1 
LP8720_ID_LDO2 
LP8720_ID_LDO3 
LP8720_ID_LDO4 
LP8720_ID_LDO5 
LP8720_ID_BUCK 
LP8725_ID_BASE 
LP8725_ID_LDO1 
LP8725_ID_LDO2 
LP8725_ID_LDO3 
LP8725_ID_LDO4 
LP8725_ID_LDO5 
LP8725_ID_LILO1 
LP8725_ID_LILO2 
LP8725_ID_BUCK1 
LP8725_ID_BUCK2 
LP872X_ID_MAX 

Definition at line 21 of file lp872x.h.