Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
wm831x-dcdc.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/init.h>
#include <linux/bitops.h>
#include <linux/err.h>
#include <linux/i2c.h>
#include <linux/platform_device.h>
#include <linux/regulator/driver.h>
#include <linux/regulator/machine.h>
#include <linux/gpio.h>
#include <linux/slab.h>
#include <linux/mfd/wm831x/core.h>
#include <linux/mfd/wm831x/regulator.h>
#include <linux/mfd/wm831x/pdata.h>

Go to the source code of this file.

Data Structures

struct  wm831x_dcdc
 

Macros

#define WM831X_BUCKV_MAX_SELECTOR   0x68
 
#define WM831X_BUCKP_MAX_SELECTOR   0x66
 
#define WM831X_DCDC_MODE_FAST   0
 
#define WM831X_DCDC_MODE_NORMAL   1
 
#define WM831X_DCDC_MODE_IDLE   2
 
#define WM831X_DCDC_MODE_STANDBY   3
 
#define WM831X_DCDC_MAX_NAME   9
 
#define WM831X_DCDC_CONTROL_1   0
 
#define WM831X_DCDC_CONTROL_2   1
 
#define WM831X_DCDC_ON_CONFIG   2
 
#define WM831X_DCDC_SLEEP_CONTROL   3
 
#define WM831X_DCDC_DVS_CONTROL   4
 
#define WM831X_EPE_BASE   6
 

Functions

 subsys_initcall (wm831x_dcdc_init)
 
 module_exit (wm831x_dcdc_exit)
 
 MODULE_AUTHOR ("Mark Brown")
 
 MODULE_DESCRIPTION ("WM831x DC-DC convertor driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:wm831x-buckv")
 
 MODULE_ALIAS ("platform:wm831x-buckp")
 
 MODULE_ALIAS ("platform:wm831x-epe")
 

Macro Definition Documentation

#define WM831X_BUCKP_MAX_SELECTOR   0x66

Definition at line 31 of file wm831x-dcdc.c.

#define WM831X_BUCKV_MAX_SELECTOR   0x68

Definition at line 30 of file wm831x-dcdc.c.

#define WM831X_DCDC_CONTROL_1   0

Definition at line 41 of file wm831x-dcdc.c.

#define WM831X_DCDC_CONTROL_2   1

Definition at line 42 of file wm831x-dcdc.c.

#define WM831X_DCDC_DVS_CONTROL   4

Definition at line 45 of file wm831x-dcdc.c.

#define WM831X_DCDC_MAX_NAME   9

Definition at line 38 of file wm831x-dcdc.c.

#define WM831X_DCDC_MODE_FAST   0

Definition at line 33 of file wm831x-dcdc.c.

#define WM831X_DCDC_MODE_IDLE   2

Definition at line 35 of file wm831x-dcdc.c.

#define WM831X_DCDC_MODE_NORMAL   1

Definition at line 34 of file wm831x-dcdc.c.

#define WM831X_DCDC_MODE_STANDBY   3

Definition at line 36 of file wm831x-dcdc.c.

#define WM831X_DCDC_ON_CONFIG   2

Definition at line 43 of file wm831x-dcdc.c.

#define WM831X_DCDC_SLEEP_CONTROL   3

Definition at line 44 of file wm831x-dcdc.c.

#define WM831X_EPE_BASE   6

Definition at line 877 of file wm831x-dcdc.c.

Function Documentation

MODULE_ALIAS ( "platform:wm831x-buckv"  )
MODULE_ALIAS ( "platform:wm831x-buckp"  )
MODULE_ALIAS ( "platform:wm831x-epe"  )
MODULE_AUTHOR ( "Mark Brown"  )
MODULE_DESCRIPTION ( "WM831x DC-DC convertor driver )
module_exit ( wm831x_dcdc_exit  )
MODULE_LICENSE ( "GPL"  )
subsys_initcall ( wm831x_dcdc_init  )