0001
0002
0003
0004
0005
0006
0007
0008 #ifndef __LINUX_REGULATOR_DA9211_H
0009 #define __LINUX_REGULATOR_DA9211_H
0010
0011 #include <linux/regulator/machine.h>
0012
0013 #define DA9211_MAX_REGULATORS 2
0014
0015 struct gpio_desc;
0016
0017 enum da9211_chip_id {
0018 DA9211,
0019 DA9212,
0020 DA9213,
0021 DA9223,
0022 DA9214,
0023 DA9224,
0024 DA9215,
0025 DA9225,
0026 };
0027
0028 struct da9211_pdata {
0029
0030
0031
0032
0033
0034 int num_buck;
0035 struct gpio_desc *gpiod_ren[DA9211_MAX_REGULATORS];
0036 struct device_node *reg_node[DA9211_MAX_REGULATORS];
0037 struct regulator_init_data *init_data[DA9211_MAX_REGULATORS];
0038 };
0039 #endif