1. NAME

struct_regulator_init_data - regulator platform initialisation data.

2. SYNOPSIS



 
Sélectionnez
struct regulator_init_data {
  const char * supply_regulator;
  struct regulation_constraints constraints;
  int num_consumer_supplies;
  struct regulator_consumer_supply * consumer_supplies;
  int (* regulator_init) (void *driver_data);
  void * driver_data;
};

3. MEMBERS

supply_regulator
    Parent regulator. Specified using the regulator name as it appears in the name field in sysfs, which can be explicitly set using the constraints field AqnameAq.

constraints
    Constraints. These must be specified for the regulator to be usable.

num_consumer_supplies
    Number of consumer device supplies.

consumer_supplies
    Consumer device supply configuration.

regulator_init
    Callback invoked when the regulator has been registered.

driver_data
    Data passed to regulator_init.

4. DESCRIPTION

Initialisation constraints, our supply and consumers supplies.

5. AUTHORS

Liam Girdwood <>
    Author.

Mark Brown <>
Wolfson Microelectronics,
    Author.

6. COPYRIGHT