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 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
20 Parent regulator. Specified using the regulator name as it appears
21 in the name field in sysfs, which can be explicitly set using the
22 constraints field 'name'.
23
24 constraints
25 Constraints. These must be specified for the regulator to be
26 usable.
27
28 num_consumer_supplies
29 Number of consumer device supplies.
30
31 consumer_supplies
32 Consumer device supply configuration.
33
34 regulator_init
35 Callback invoked when the regulator has been registered.
36
37 driver_data
38 Data passed to regulator_init.
39
41 Initialisation constraints, our supply and consumers supplies.
42
44 Liam Girdwood <lrg@slimlogic.co.uk>
45 Author.
46
47 Mark Brown <broonie@opensource.wolfsonmicro.com>
48 Wolfson Microelectronics,
49
50
51 Author.
52
54Kernel Hackers Manual 3.10 June 2019 STRUCT REGULATOR_INI(9)