Skip to content

Commit 4d49177

Browse files
Reichlbroonie
authored andcommitted
regulator: mp8859: add supply entry
Add vin_supply to the regulator description to support a nice regulator tree. Signed-off-by: Markus Reichl <[email protected]> Reviewed-by: Heiko Stuebner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent bb6d3fb commit 4d49177

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/regulator/mp8859.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ static const struct regulator_desc mp8859_regulators[] = {
9595
.id = 0,
9696
.type = REGULATOR_VOLTAGE,
9797
.name = "mp8859_dcdc",
98+
.supply_name = "vin",
9899
.of_match = of_match_ptr("mp8859_dcdc"),
99100
.n_voltages = VOL_MAX_IDX + 1,
100101
.linear_ranges = mp8859_dcdc_ranges,

0 commit comments

Comments
 (0)