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 const char * supply_regulator;
11 struct device * supply_regulator_dev;
12 struct regulation_constraints constraints;
13 int num_consumer_supplies;
14 struct regulator_consumer_supply * consumer_supplies;
15 int (* regulator_init) (void *driver_data);
16 void * driver_data;
17 };
18
20 supply_regulator
21 Parent regulator. Specified using the regulator name as it appears
22 in the name field in sysfs, which can be explicitly set using the
23 constraints field 'name'.
24
25 supply_regulator_dev
26 Parent regulator (if any) - DEPRECATED in favour of
27 supply_regulator.
28
29 constraints
30 Constraints. These must be specified for the regulator to be
31 usable.
32
33 num_consumer_supplies
34 Number of consumer device supplies.
35
36 consumer_supplies
37 Consumer device supply configuration.
38
39 regulator_init
40 Callback invoked when the regulator has been registered.
41
42 driver_data
43 Data passed to regulator_init.
44
46 Initialisation constraints, our supply and consumers supplies.
47
49 Liam Girdwood <lrg@slimlogic.co.uk>
50 Author.
51
52 Mark Brown <broonie@opensource.wolfsonmicro.com>
53 Wolfson Microelectronics,
54
55
56 Author.
57
59Kernel Hackers Manual 2.6. November 2011 STRUCT REGULATOR_INI(9)