root/include/linux/regulator/lp3972.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 /* SPDX-License-Identifier: GPL-2.0-or-later */
   2 /*
   3  * National Semiconductors LP3972 PMIC chip client interface
   4  *
   5  * Based on lp3971.h
   6  */
   7 
   8 #ifndef __LINUX_REGULATOR_LP3972_H
   9 #define __LINUX_REGULATOR_LP3972_H
  10 
  11 #include <linux/regulator/machine.h>
  12 
  13 #define LP3972_LDO1  0
  14 #define LP3972_LDO2  1
  15 #define LP3972_LDO3  2
  16 #define LP3972_LDO4  3
  17 #define LP3972_LDO5  4
  18 
  19 #define LP3972_DCDC1 5
  20 #define LP3972_DCDC2 6
  21 #define LP3972_DCDC3 7
  22 
  23 #define LP3972_NUM_REGULATORS 8
  24 
  25 struct lp3972_regulator_subdev {
  26         int id;
  27         struct regulator_init_data *initdata;
  28 };
  29 
  30 struct lp3972_platform_data {
  31         int num_regulators;
  32         struct lp3972_regulator_subdev *regulators;
  33 };
  34 
  35 #endif

/* [<][>][^][v][top][bottom][index][help] */