1STRUCT REGULATOR_INI(9) API reference STRUCT REGULATOR_INI(9)
2
3
4
6 struct_regulator_init_data - regulator platform initialisation data.
7
9 struct regulator_init_data {
10 struct device * supply_regulator_dev;
11 struct regulation_constraints constraints;
12 int num_consumer_supplies;
13 struct regulator_consumer_supply * consumer_supplies;
14 int (* regulator_init) (void *driver_data);
15 void * driver_data;
16 };
17
19 supply_regulator_dev
20 Parent regulator (if any).
21
22 constraints
23 Constraints. These must be specified for the regulator to be
24 usable.
25
26 num_consumer_supplies
27 Number of consumer device supplies.
28
29 consumer_supplies
30 Consumer device supply configuration.
31
32 regulator_init
33 Callback invoked when the regulator has been registered.
34
35 driver_data
36 Data passed to regulator_init.
37
39 Initialisation constraints, our supply and consumers supplies.
40
42 Liam Girdwood <lrg@slimlogic.co.uk>
43 Author.
44
45 Mark Brown <broonie@opensource.wolfsonmicro.com>
46 Wolfson Microelectronics,
47
48
49 Author.
50
52Kernel Hackers Manual 2.6. June 2019 STRUCT REGULATOR_INI(9)