Commit 4d49177f authored by Markus Reichl's avatar Markus Reichl Committed by Mark Brown

regulator: mp8859: add supply entry

Add vin_supply to the regulator description to support a nice
regulator tree.
Signed-off-by: default avatarMarkus Reichl <m.reichl@fivetechno.de>
Reviewed-by: default avatarHeiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20200203110034.1448-1-m.reichl@fivetechno.deSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent bb6d3fb3
...@@ -95,6 +95,7 @@ static const struct regulator_desc mp8859_regulators[] = { ...@@ -95,6 +95,7 @@ static const struct regulator_desc mp8859_regulators[] = {
.id = 0, .id = 0,
.type = REGULATOR_VOLTAGE, .type = REGULATOR_VOLTAGE,
.name = "mp8859_dcdc", .name = "mp8859_dcdc",
.supply_name = "vin",
.of_match = of_match_ptr("mp8859_dcdc"), .of_match = of_match_ptr("mp8859_dcdc"),
.n_voltages = VOL_MAX_IDX + 1, .n_voltages = VOL_MAX_IDX + 1,
.linear_ranges = mp8859_dcdc_ranges, .linear_ranges = mp8859_dcdc_ranges,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment