|
@@ -157,7 +157,11 @@ struct regulator_consumer_supply {
|
|
*
|
|
*
|
|
* Initialisation constraints, our supply and consumers supplies.
|
|
* Initialisation constraints, our supply and consumers supplies.
|
|
*
|
|
*
|
|
- * @supply_regulator_dev: Parent regulator (if any).
|
|
|
|
|
|
+ * @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 'name'.
|
|
|
|
+ * @supply_regulator_dev: Parent regulator (if any) - DEPRECATED in favour
|
|
|
|
+ * of supply_regulator.
|
|
*
|
|
*
|
|
* @constraints: Constraints. These must be specified for the regulator to
|
|
* @constraints: Constraints. These must be specified for the regulator to
|
|
* be usable.
|
|
* be usable.
|
|
@@ -168,7 +172,8 @@ struct regulator_consumer_supply {
|
|
* @driver_data: Data passed to regulator_init.
|
|
* @driver_data: Data passed to regulator_init.
|
|
*/
|
|
*/
|
|
struct regulator_init_data {
|
|
struct regulator_init_data {
|
|
- struct device *supply_regulator_dev; /* or NULL for LINE */
|
|
|
|
|
|
+ const char *supply_regulator; /* or NULL for system supply */
|
|
|
|
+ struct device *supply_regulator_dev; /* or NULL for system supply */
|
|
|
|
|
|
struct regulation_constraints constraints;
|
|
struct regulation_constraints constraints;
|
|
|
|
|