|
Linux Kernel
3.7.1
|
#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/slab.h>#include <linux/regmap.h>#include <linux/mfd/palmas.h>#include <linux/of.h>#include <linux/of_platform.h>#include <linux/regulator/of_regulator.h>Go to the source code of this file.
Data Structures | |
| struct | regs_info |
Macros | |
| #define | SMPS_CTRL_MODE_OFF 0x00 |
| #define | SMPS_CTRL_MODE_ON 0x01 |
| #define | SMPS_CTRL_MODE_ECO 0x02 |
| #define | SMPS_CTRL_MODE_PWM 0x03 |
| #define | PALMAS_SMPS_NUM_VOLTAGES 116 |
| #define | PALMAS_SMPS10_NUM_VOLTAGES 2 |
| #define | PALMAS_LDO_NUM_VOLTAGES 50 |
| #define | SMPS10_VSEL (1<<3) |
| #define | SMPS10_BOOST_EN (1<<2) |
| #define | SMPS10_BYPASS_EN (1<<1) |
| #define | SMPS10_SWITCH_EN (1<<0) |
| #define | REGULATOR_SLAVE 0 |
Functions | |
| subsys_initcall (palmas_init) | |
| module_exit (palmas_exit) | |
| MODULE_AUTHOR ("Graeme Gregory <[email protected]>") | |
| MODULE_DESCRIPTION ("Palmas voltage regulator driver") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_ALIAS ("platform:palmas-pmic") | |
| MODULE_DEVICE_TABLE (of, of_palmas_match_tbl) | |
| #define PALMAS_LDO_NUM_VOLTAGES 50 |
Definition at line 161 of file palmas-regulator.c.
| #define PALMAS_SMPS10_NUM_VOLTAGES 2 |
Definition at line 160 of file palmas-regulator.c.
| #define PALMAS_SMPS_NUM_VOLTAGES 116 |
Definition at line 159 of file palmas-regulator.c.
| #define REGULATOR_SLAVE 0 |
Definition at line 168 of file palmas-regulator.c.
| #define SMPS10_BOOST_EN (1<<2) |
Definition at line 164 of file palmas-regulator.c.
| #define SMPS10_BYPASS_EN (1<<1) |
Definition at line 165 of file palmas-regulator.c.
| #define SMPS10_SWITCH_EN (1<<0) |
Definition at line 166 of file palmas-regulator.c.
| #define SMPS10_VSEL (1<<3) |
Definition at line 163 of file palmas-regulator.c.
| #define SMPS_CTRL_MODE_ECO 0x02 |
Definition at line 150 of file palmas-regulator.c.
| #define SMPS_CTRL_MODE_OFF 0x00 |
Definition at line 148 of file palmas-regulator.c.
| #define SMPS_CTRL_MODE_ON 0x01 |
Definition at line 149 of file palmas-regulator.c.
| #define SMPS_CTRL_MODE_PWM 0x03 |
Definition at line 151 of file palmas-regulator.c.
| MODULE_ALIAS | ( | "platform:palmas-pmic" | ) |
| MODULE_AUTHOR | ( | "Graeme Gregory <[email protected]>" | ) |
| MODULE_DEVICE_TABLE | ( | of | , |
| of_palmas_match_tbl | |||
| ) |
| module_exit | ( | palmas_exit | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| subsys_initcall | ( | palmas_init | ) |
1.8.2