Linux Kernel
3.7.1
|
#include <fixed.h>
Data Fields | |
const char * | supply_name |
const char * | input_supply |
int | microvolts |
int | gpio |
unsigned | startup_delay |
unsigned | gpio_is_open_drain:1 |
unsigned | enable_high:1 |
unsigned | enabled_at_boot:1 |
struct regulator_init_data * | init_data |
struct fixed_voltage_config - fixed_voltage_config structure : Name of the regulator supply : Name of the input regulator supply : Output voltage of regulator : GPIO to use for enable control set to -EINVAL if not used : Start-up time in microseconds : Gpio pin is open drain or normal type. If it is open drain type then HIGH will be set through PULL-UP with setting gpio as input and low will be set as gpio-output with driven to low. For non-open-drain case, the gpio will will be in output and drive to low/high accordingly. : 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 : regulator_init_data
This structure contains fixed voltage regulator configuration information that must be passed by platform code to the fixed voltage regulator driver.
struct regulator_init_data* init_data |