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

#include <pdata.h>

Data Fields

int wm831x_num
 
int(* pre_init )(struct wm831x *wm831x)
 
int(* post_init )(struct wm831x *wm831x)
 
bool irq_cmos
 
bool disable_touch
 
bool soft_shutdown
 
int irq_base
 
int gpio_base
 
int gpio_defaults [WM831X_GPIO_NUM]
 
struct wm831x_backlight_pdatabacklight
 
struct wm831x_backup_pdatabackup
 
struct wm831x_battery_pdatabattery
 
struct wm831x_touch_pdatatouch
 
struct wm831x_watchdog_pdatawatchdog
 
struct wm831x_status_pdatastatus [WM831X_MAX_STATUS]
 
struct regulator_init_datadcdc [WM831X_MAX_DCDC]
 
struct regulator_init_dataepe [WM831X_MAX_EPE]
 
struct regulator_init_dataldo [WM831X_MAX_LDO]
 
struct regulator_init_dataisink [WM831X_MAX_ISINK]
 

Detailed Description

Definition at line 111 of file pdata.h.

Field Documentation

Definition at line 132 of file pdata.h.

Definition at line 133 of file pdata.h.

Definition at line 134 of file pdata.h.

DCDC1 = 0 and so on

Definition at line 141 of file pdata.h.

bool disable_touch

Disable the touchscreen

Definition at line 124 of file pdata.h.

EPE1 = 0 and so on

Definition at line 143 of file pdata.h.

int gpio_base

Definition at line 130 of file pdata.h.

int gpio_defaults[WM831X_GPIO_NUM]

Definition at line 131 of file pdata.h.

int irq_base

Definition at line 129 of file pdata.h.

bool irq_cmos

Put the /IRQ line into CMOS mode

Definition at line 121 of file pdata.h.

ISINK1 = 0 and so on

Definition at line 147 of file pdata.h.

LDO1 = 0 and so on

Definition at line 145 of file pdata.h.

int(* post_init)(struct wm831x *wm831x)

Called after subdevices are set up

Definition at line 118 of file pdata.h.

int(* pre_init)(struct wm831x *wm831x)

Called before subdevices are set up

Definition at line 116 of file pdata.h.

bool soft_shutdown

The driver should initiate a power off sequence during shutdown

Definition at line 127 of file pdata.h.

LED1 = 0 and so on

Definition at line 139 of file pdata.h.

Definition at line 135 of file pdata.h.

Definition at line 136 of file pdata.h.

int wm831x_num

Used to distinguish multiple WM831x chips

Definition at line 113 of file pdata.h.


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