diff options
author | Markus Reichl <m.reichl@fivetechno.de> | 2020-02-03 12:00:33 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-02-11 11:33:15 +0000 |
commit | 4d49177f2cd7dce6e669584a5114b073b26a0d0f (patch) | |
tree | 840bf8f5bd6d31c33476ff1ef9a6716ba99ccebe /drivers/regulator | |
parent | bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 (diff) | |
download | linux-4d49177f2cd7dce6e669584a5114b073b26a0d0f.tar.bz2 |
regulator: mp8859: add supply entry
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>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/mp8859.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/mp8859.c b/drivers/regulator/mp8859.c index 1d26b506ee5b..6ed987648188 100644 --- 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, |