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

#include <max8998.h>

Data Fields

struct max8998_regulator_dataregulators
 
int num_regulators
 
int irq_base
 
int ono
 
bool buck_voltage_lock
 
int buck1_voltage1
 
int buck1_voltage2
 
int buck1_voltage3
 
int buck1_voltage4
 
int buck2_voltage1
 
int buck2_voltage2
 
int buck1_set1
 
int buck1_set2
 
int buck1_default_idx
 
int buck2_set3
 
int buck2_default_idx
 
bool wakeup
 
bool rtc_delay
 
int eoc
 
int restart
 
int timeout
 

Detailed Description

struct max8998_board - packages regulator init data : array of defined regulators : number of regulators used : base IRQ number for max8998, required for IRQs : power onoff IRQ number for max8998 : Do NOT change the values of the following six registers set by buck?_voltage?. The voltage of BUCK1/2 cannot be other than the preset values. : BUCK1 DVS mode 1 voltage register : BUCK1 DVS mode 2 voltage register : BUCK1 DVS mode 3 voltage register : BUCK1 DVS mode 4 voltage register : BUCK2 DVS mode 1 voltage register : BUCK2 DVS mode 2 voltage register : BUCK1 gpio pin 1 to set output voltage : BUCK1 gpio pin 2 to set output voltage : Default for BUCK1 gpio pin 1, 2 : BUCK2 gpio pin to set output voltage : Default for BUCK2 gpio pin. : Allow to wake up from suspend : LP3974 RTC chip bug that requires delay after a register write before reading it. : End of Charge Level in percent: 10% ~ 45% by 5% step If it equals 0, leave it unchanged. Otherwise, it is a invalid value. : Restart Level in mV: 100, 150, 200, and -1 for disable. If it equals 0, leave it unchanged. Otherwise, it is a invalid value. : Full Timeout in hours: 5, 6, 7, and -1 for disable. If it equals 0, leave it unchanged. Otherwise, leave it unchanged.

Definition at line 100 of file max8998.h.

Field Documentation

int buck1_default_idx

Definition at line 114 of file max8998.h.

int buck1_set1

Definition at line 112 of file max8998.h.

int buck1_set2

Definition at line 113 of file max8998.h.

int buck1_voltage1

Definition at line 106 of file max8998.h.

int buck1_voltage2

Definition at line 107 of file max8998.h.

int buck1_voltage3

Definition at line 108 of file max8998.h.

int buck1_voltage4

Definition at line 109 of file max8998.h.

int buck2_default_idx

Definition at line 116 of file max8998.h.

int buck2_set3

Definition at line 115 of file max8998.h.

int buck2_voltage1

Definition at line 110 of file max8998.h.

int buck2_voltage2

Definition at line 111 of file max8998.h.

bool buck_voltage_lock

Definition at line 105 of file max8998.h.

int eoc

Definition at line 119 of file max8998.h.

int irq_base

Definition at line 103 of file max8998.h.

int num_regulators

Definition at line 102 of file max8998.h.

int ono

Definition at line 104 of file max8998.h.

Definition at line 101 of file max8998.h.

int restart

Definition at line 120 of file max8998.h.

bool rtc_delay

Definition at line 118 of file max8998.h.

int timeout

Definition at line 121 of file max8998.h.

bool wakeup

Definition at line 117 of file max8998.h.


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