1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * National Semiconductors LP3972 PMIC chip client interface
8 #ifndef __LINUX_REGULATOR_LP3972_H
9 #define __LINUX_REGULATOR_LP3972_H
11 #include <linux/regulator/machine.h>
19 #define LP3972_DCDC1 5
20 #define LP3972_DCDC2 6
21 #define LP3972_DCDC3 7
23 #define LP3972_NUM_REGULATORS 8
25 struct lp3972_regulator_subdev {
27 struct regulator_init_data *initdata;
30 struct lp3972_platform_data {
32 struct lp3972_regulator_subdev *regulators;