2 * max8698.h - Voltage regulator driver for the Maxim 8998
4 * Copyright (C) 2009-2010 Samsung Electrnoics
5 * Kyungmin Park <kyungmin.park@samsung.com>
6 * Marek Szyprowski <m.szyprowski@samsung.com>
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 #ifndef __LINUX_MFD_MAX8998_H
24 #define __LINUX_MFD_MAX8998_H
26 #include <linux/regulator/machine.h>
28 /* MAX 8998 regulator ids */
58 * max8998_regulator_data - regulator data
60 * @initdata: regulator init data (contraints, supplies, ...)
62 struct max8998_regulator_data {
64 struct regulator_init_data *initdata;
68 * struct max8998_board - packages regulator init data
69 * @num_regulators: number of regultors used
70 * @regulators: array of defined regulators
73 struct max8998_platform_data {
75 struct max8998_regulator_data *regulators;
78 #endif /* __LINUX_MFD_MAX8998_H */