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
regulator
max8660.h
Go to the documentation of this file.
1
/*
2
* max8660.h -- Voltage regulation for the Maxim 8660/8661
3
*
4
* Copyright (C) 2009 Wolfram Sang, Pengutronix e.K.
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; version 2 of the License.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program; if not, write to the Free Software
17
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
*/
19
20
#ifndef __LINUX_REGULATOR_MAX8660_H
21
#define __LINUX_REGULATOR_MAX8660_H
22
23
#include <
linux/regulator/machine.h
>
24
25
enum
{
26
MAX8660_V3
,
27
MAX8660_V4
,
28
MAX8660_V5
,
29
MAX8660_V6
,
30
MAX8660_V7
,
31
MAX8660_V_END
,
32
};
33
40
struct
max8660_subdev_data
{
41
int
id
;
42
char
*
name
;
43
struct
regulator_init_data
*
platform_data
;
44
};
45
52
struct
max8660_platform_data
{
53
int
num_subdevs
;
54
struct
max8660_subdev_data
*
subdevs
;
55
unsigned
en34_is_high
:1;
56
};
57
#endif
Generated on Thu Jan 10 2013 14:52:28 for Linux Kernel by
1.8.2