2 * da9211.h - Regulator device driver for DA9211/DA9213/DA9215
3 * Copyright (C) 2015 Dialog Semiconductor Ltd.
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
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_DA9211_H
17 #define __LINUX_REGULATOR_DA9211_H
19 #include <linux/regulator/machine.h>
21 #define DA9211_MAX_REGULATORS 2
36 int gpio_ren
[DA9211_MAX_REGULATORS
];
37 struct device_node
*reg_node
[DA9211_MAX_REGULATORS
];
38 struct regulator_init_data
*init_data
[DA9211_MAX_REGULATORS
];
This page took 0.116161 seconds and 5 git commands to generate.