1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * da9211.h - Regulator device driver for DA9211/DA9212
4 * /DA9213/DA9223/DA9214/DA9224/DA9215/DA9225
5 * Copyright (C) 2015 Dialog Semiconductor Ltd.
8 #ifndef __LINUX_REGULATOR_DA9211_H
9 #define __LINUX_REGULATOR_DA9211_H
11 #include <linux/regulator/machine.h>
13 #define DA9211_MAX_REGULATORS 2
35 struct gpio_desc *gpiod_ren[DA9211_MAX_REGULATORS];
36 struct device_node *reg_node[DA9211_MAX_REGULATORS];
37 struct regulator_init_data *init_data[DA9211_MAX_REGULATORS];