Linux Kernel
3.7.1
|
#include <gpio-regulator.h>
Data Fields | |
const char * | supply_name |
int | enable_gpio |
unsigned | enable_high:1 |
unsigned | enabled_at_boot:1 |
unsigned | startup_delay |
struct gpio * | gpios |
int | nr_gpios |
struct gpio_regulator_state * | states |
int | nr_states |
enum regulator_type | type |
struct regulator_init_data * | init_data |
struct gpio_regulator_config - config structure : Name of the regulator supply : GPIO to use for enable control set to -EINVAL if not used : Polarity of enable GPIO 1 = Active high, 0 = Active low : Whether regulator has been enabled at boot or not. 1 = Yes, 0 = No This is used to keep the regulator at the default state : Start-up time in microseconds : Array containing the gpios needed to control the setting of the regulator : Number of gpios : Array of gpio_regulator_state entries describing the gpio state for specific voltages : Number of states available : either REGULATOR_CURRENT or REGULATOR_VOLTAGE : regulator_init_data
This structure contains gpio-voltage regulator configuration information that must be passed by platform code to the gpio-voltage regulator driver.
Definition at line 69 of file gpio-regulator.h.
int enable_gpio |
Definition at line 72 of file gpio-regulator.h.
unsigned enable_high |
Definition at line 73 of file gpio-regulator.h.
unsigned enabled_at_boot |
Definition at line 74 of file gpio-regulator.h.
Definition at line 77 of file gpio-regulator.h.
struct regulator_init_data* init_data |
Definition at line 84 of file gpio-regulator.h.
int nr_gpios |
Definition at line 78 of file gpio-regulator.h.
int nr_states |
Definition at line 81 of file gpio-regulator.h.
unsigned startup_delay |
Definition at line 75 of file gpio-regulator.h.
struct gpio_regulator_state* states |
Definition at line 80 of file gpio-regulator.h.
Definition at line 70 of file gpio-regulator.h.
enum regulator_type type |
Definition at line 83 of file gpio-regulator.h.