2 * act8865.h -- Voltage regulation for active-semi act88xx PMUs
4 * Copyright (C) 2013 Atmel Corporation.
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.
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.
16 #ifndef __LINUX_REGULATOR_ACT8865_H
17 #define __LINUX_REGULATOR_ACT8865_H
19 #include <linux/regulator/machine.h>
68 * act8865_regulator_data - regulator data
70 * @name: regulator name
71 * @init_data: regulator init data
72 * @of_node: device tree node (optional)
74 struct act8865_regulator_data
{
77 struct regulator_init_data
*init_data
;
78 struct device_node
*of_node
;
82 * act8865_platform_data - platform data for act8865
83 * @num_regulators: number of regulators used
84 * @regulators: pointer to regulators used
86 struct act8865_platform_data
{
88 struct act8865_regulator_data
*regulators
;