Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tps6507x-regulator.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include <linux/regulator/tps6507x.h>
#include <linux/slab.h>
#include <linux/mfd/tps6507x.h>

Go to the source code of this file.

Data Structures

struct  tps_info
 
struct  tps6507x_pmic
 

Macros

#define TPS6507X_DCDC_1   0
 
#define TPS6507X_DCDC_2   1
 
#define TPS6507X_DCDC_3   2
 
#define TPS6507X_LDO_1   3
 
#define TPS6507X_LDO_2   4
 
#define TPS6507X_MAX_REG_ID   TPS6507X_LDO_2
 
#define TPS6507X_NUM_DCDC   3
 
#define TPS6507X_NUM_LDO   2
 
#define TPS6507X_NUM_REGULATOR   (TPS6507X_NUM_DCDC + TPS6507X_NUM_LDO)
 
#define LDO2_VSEL_table   VDCDCx_VSEL_table
 

Functions

 subsys_initcall (tps6507x_pmic_init)
 
 module_exit (tps6507x_pmic_cleanup)
 
 MODULE_AUTHOR ("Texas Instruments")
 
 MODULE_DESCRIPTION ("TPS6507x voltage regulator driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS ("platform:tps6507x-pmic")
 

Macro Definition Documentation

#define LDO2_VSEL_table   VDCDCx_VSEL_table

Definition at line 74 of file tps6507x-regulator.c.

#define TPS6507X_DCDC_1   0

Definition at line 30 of file tps6507x-regulator.c.

#define TPS6507X_DCDC_2   1

Definition at line 31 of file tps6507x-regulator.c.

#define TPS6507X_DCDC_3   2

Definition at line 32 of file tps6507x-regulator.c.

#define TPS6507X_LDO_1   3

Definition at line 34 of file tps6507x-regulator.c.

#define TPS6507X_LDO_2   4

Definition at line 35 of file tps6507x-regulator.c.

#define TPS6507X_MAX_REG_ID   TPS6507X_LDO_2

Definition at line 37 of file tps6507x-regulator.c.

#define TPS6507X_NUM_DCDC   3

Definition at line 40 of file tps6507x-regulator.c.

#define TPS6507X_NUM_LDO   2

Definition at line 42 of file tps6507x-regulator.c.

#define TPS6507X_NUM_REGULATOR   (TPS6507X_NUM_DCDC + TPS6507X_NUM_LDO)

Definition at line 44 of file tps6507x-regulator.c.

Function Documentation

MODULE_ALIAS ( "platform:tps6507x-pmic"  )
MODULE_AUTHOR ( "Texas Instruments"  )
MODULE_DESCRIPTION ( "TPS6507x voltage regulator driver )
module_exit ( tps6507x_pmic_cleanup  )
MODULE_LICENSE ( "GPL v2 )
subsys_initcall ( tps6507x_pmic_init  )