Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
mfd
da9055
pdata.h
Go to the documentation of this file.
1
/* Copyright (C) 2012 Dialog Semiconductor Ltd.
2
*
3
* This program is free software; you can redistribute it and/or modify
4
* it under the terms of the GNU General Public License as published by
5
* the Free Software Foundation; either version 2 of the License, or
6
* (at your option) any later version.
7
*
8
*/
9
#ifndef __DA9055_PDATA_H
10
#define __DA9055_PDATA_H
11
12
#define DA9055_MAX_REGULATORS 8
13
14
struct
da9055
;
15
16
enum
gpio_select
{
17
NO_GPIO
= 0,
18
GPIO_1
,
19
GPIO_2
20
};
21
22
struct
da9055_pdata
{
23
int
(*
init
) (
struct
da9055
*
da9055
);
24
int
irq_base
;
25
int
gpio_base
;
26
27
struct
regulator_init_data
*
regulators
[
DA9055_MAX_REGULATORS
];
28
bool
reset_enable
;
/* Enable RTC in RESET Mode */
29
enum
gpio_select
*
gpio_rsel
;
/* Select regulator set thru GPIO 1/2 */
30
enum
gpio_select
*
gpio_ren
;
/* Enable regulator thru GPIO 1/2 */
31
};
32
#endif
/* __DA9055_PDATA_H */
Generated on Thu Jan 10 2013 14:51:52 for Linux Kernel by
1.8.2