Skip to content

Commit

Permalink
regulator: mp8859: add supply entry
Browse files Browse the repository at this point in the history
Add vin_supply to the regulator description to support a nice
regulator tree.

Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20200203110034.1448-1-m.reichl@fivetechno.de
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Markus Reichl authored and Mark Brown committed Feb 11, 2020
1 parent bb6d3fb commit 4d49177
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/regulator/mp8859.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ static const struct regulator_desc mp8859_regulators[] = {
.id = 0,
.type = REGULATOR_VOLTAGE,
.name = "mp8859_dcdc",
.supply_name = "vin",
.of_match = of_match_ptr("mp8859_dcdc"),
.n_voltages = VOL_MAX_IDX + 1,
.linear_ranges = mp8859_dcdc_ranges,
Expand Down

0 comments on commit 4d49177

Please sign in to comment.