Linux Kernel
3.7.1
|
#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/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_ldo |
Macros | |
#define | WM831X_LDO_MAX_NAME 9 |
#define | WM831X_LDO_CONTROL 0 |
#define | WM831X_LDO_ON_CONTROL 1 |
#define | WM831X_LDO_SLEEP_CONTROL 2 |
#define | WM831X_ALIVE_LDO_ON_CONTROL 0 |
#define | WM831X_ALIVE_LDO_SLEEP_CONTROL 1 |
#define | WM831X_GP_LDO_SELECTOR_LOW 0xe |
#define | WM831X_GP_LDO_MAX_SELECTOR 0x1f |
#define | WM831X_ALDO_SELECTOR_LOW 0xc |
#define | WM831X_ALDO_MAX_SELECTOR 0x1f |
#define | WM831X_ALIVE_LDO_MAX_SELECTOR 0xf |
Functions | |
subsys_initcall (wm831x_ldo_init) | |
module_exit (wm831x_ldo_exit) | |
MODULE_AUTHOR ("Mark Brown <[email protected]>") | |
MODULE_DESCRIPTION ("WM831x LDO driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:wm831x-ldo") | |
MODULE_ALIAS ("platform:wm831x-aldo") | |
MODULE_ALIAS ("platform:wm831x-aliveldo") | |
#define WM831X_ALDO_MAX_SELECTOR 0x1f |
Definition at line 365 of file wm831x-ldo.c.
#define WM831X_ALDO_SELECTOR_LOW 0xc |
Definition at line 364 of file wm831x-ldo.c.
#define WM831X_ALIVE_LDO_MAX_SELECTOR 0xf |
Definition at line 617 of file wm831x-ldo.c.
#define WM831X_ALIVE_LDO_ON_CONTROL 0 |
Definition at line 34 of file wm831x-ldo.c.
#define WM831X_ALIVE_LDO_SLEEP_CONTROL 1 |
Definition at line 35 of file wm831x-ldo.c.
#define WM831X_GP_LDO_MAX_SELECTOR 0x1f |
Definition at line 66 of file wm831x-ldo.c.
#define WM831X_GP_LDO_SELECTOR_LOW 0xe |
Definition at line 65 of file wm831x-ldo.c.
#define WM831X_LDO_CONTROL 0 |
Definition at line 30 of file wm831x-ldo.c.
#define WM831X_LDO_MAX_NAME 9 |
Definition at line 28 of file wm831x-ldo.c.
#define WM831X_LDO_ON_CONTROL 1 |
Definition at line 31 of file wm831x-ldo.c.
#define WM831X_LDO_SLEEP_CONTROL 2 |
Definition at line 32 of file wm831x-ldo.c.
MODULE_ALIAS | ( | "platform:wm831x-ldo" | ) |
MODULE_ALIAS | ( | "platform:wm831x-aldo" | ) |
MODULE_ALIAS | ( | "platform:wm831x-aliveldo" | ) |
MODULE_AUTHOR | ( | "Mark Brown <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "WM831x LDO driver" | ) |
module_exit | ( | wm831x_ldo_exit | ) |
MODULE_LICENSE | ( | "GPL" | ) |
subsys_initcall | ( | wm831x_ldo_init | ) |