projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb6d3fb
)
regulator: mp8859: add supply entry
author
Markus Reichl
<m.reichl@fivetechno.de>
Mon, 3 Feb 2020 11:00:33 +0000
(12:00 +0100)
committer
Mark Brown
<broonie@kernel.org>
Tue, 11 Feb 2020 11:33:15 +0000
(11:33 +0000)
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>
drivers/regulator/mp8859.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/mp8859.c
b/drivers/regulator/mp8859.c
index 1d26b506ee5b06cbe48852b4c02708b1ba5816d3..6ed987648188702045a59eaa65f67ddc5791c5b2 100644
(file)
--- a/
drivers/regulator/mp8859.c
+++ b/
drivers/regulator/mp8859.c
@@
-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,