struct regulator_config — Dynamic regulator descriptor
struct regulator_config { struct device * dev; const struct regulator_init_data * init_data; void * driver_data; struct device_node * of_node; struct regmap * regmap; bool ena_gpio_initialized; int ena_gpio; unsigned int ena_gpio_invert:1; unsigned int ena_gpio_flags; };
struct device for the regulator
platform provided init data, passed through by driver
private regulator data
OpenFirmware node to parse for device tree bindings (may be NULL).
regmap to use for core regmap helpers if dev_get_regmap
is
insufficient.
GPIO controlling regulator enable was properly initialized, meaning that >= 0 is a valid gpio identifier and < 0 is a non existent gpio.
GPIO controlling regulator enable.
Sense for GPIO enable control.
Flags to use when calling gpio_request_one