1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * National Semiconductors LP3971 PMIC chip client interface
5 * Copyright (C) 2009 Samsung Electronics
6 * Author: Marek Szyprowski <m.szyprowski@samsung.com>
11 #ifndef __LINUX_REGULATOR_LP3971_H
12 #define __LINUX_REGULATOR_LP3971_H
14 #include <linux/regulator/machine.h>
22 #define LP3971_DCDC1 5
23 #define LP3971_DCDC2 6
24 #define LP3971_DCDC3 7
26 #define LP3971_NUM_REGULATORS 8
28 struct lp3971_regulator_subdev {
30 struct regulator_init_data *initdata;
33 struct lp3971_platform_data {
35 struct lp3971_regulator_subdev *regulators;