Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
fixed_voltage_config Struct Reference

#include <fixed.h>

Data Fields

const charsupply_name
 
const charinput_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_datainit_data
 

Detailed Description

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.

Definition at line 48 of file fixed.h.

Field Documentation

unsigned enable_high

Definition at line 55 of file fixed.h.

unsigned enabled_at_boot

Definition at line 56 of file fixed.h.

Definition at line 52 of file fixed.h.

unsigned gpio_is_open_drain

Definition at line 54 of file fixed.h.

Definition at line 57 of file fixed.h.

const char* input_supply

Definition at line 50 of file fixed.h.

int microvolts

Definition at line 51 of file fixed.h.

unsigned startup_delay

Definition at line 53 of file fixed.h.

const char* supply_name

Definition at line 49 of file fixed.h.


The documentation for this struct was generated from the following file: