Name
struct regulator_config —
Dynamic regulator descriptor
Synopsis
struct regulator_config {
struct device * dev;
const struct regulator_init_data * init_data;
void * driver_data;
struct device_node * of_node;
struct regmap * regmap;
};
Members
- dev
struct device for the regulator
- init_data
platform provided init data, passed through by driver
- driver_data
private regulator data
- of_node
OpenFirmware node to parse for device tree bindings (may be
NULL).
- regmap
regmap to use for core regmap helpers
Description
Each regulator registered with the core is described with a
structure of this type and a struct regulator_desc. This structure
contains the runtime variable parts of the regulator description.