* [PATCH] regulator: pf8x00: Use regulator_map_voltage_ascend for pf8x00_buck7_ops
@ 2021-02-16 6:01 Axel Lin
2021-02-16 23:56 ` Adrien Grassein
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Axel Lin @ 2021-02-16 6:01 UTC (permalink / raw)
To: Mark Brown
Cc: Jagan Teki, Adrien Grassein, Liam Girdwood, linux-kernel, Axel Lin
The voltages in pf8x00_sw7_voltages are in ascendant order, so use
regulator_map_voltage_ascend.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/regulator/pf8x00-regulator.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/regulator/pf8x00-regulator.c b/drivers/regulator/pf8x00-regulator.c
index 9b28bd63208d..5d319fb81288 100644
--- a/drivers/regulator/pf8x00-regulator.c
+++ b/drivers/regulator/pf8x00-regulator.c
@@ -359,6 +359,7 @@ static const struct regulator_ops pf8x00_buck7_ops = {
.disable = regulator_disable_regmap,
.is_enabled = regulator_is_enabled_regmap,
.list_voltage = regulator_list_voltage_table,
+ .map_voltage = regulator_map_voltage_ascend,
.set_voltage_sel = regulator_set_voltage_sel_regmap,
.get_voltage_sel = regulator_get_voltage_sel_regmap,
.get_current_limit = regulator_get_current_limit_regmap,
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] regulator: pf8x00: Use regulator_map_voltage_ascend for pf8x00_buck7_ops
2021-02-16 6:01 [PATCH] regulator: pf8x00: Use regulator_map_voltage_ascend for pf8x00_buck7_ops Axel Lin
@ 2021-02-16 23:56 ` Adrien Grassein
2021-02-26 9:48 ` Jagan Teki
2021-03-01 23:37 ` Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Adrien Grassein @ 2021-02-16 23:56 UTC (permalink / raw)
To: Axel Lin; +Cc: Mark Brown, Jagan Teki, Liam Girdwood, linux-kernel
Le mar. 16 févr. 2021 à 07:01, Axel Lin <axel.lin@ingics.com> a écrit :
>
> The voltages in pf8x00_sw7_voltages are in ascendant order, so use
> regulator_map_voltage_ascend.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> drivers/regulator/pf8x00-regulator.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/regulator/pf8x00-regulator.c b/drivers/regulator/pf8x00-regulator.c
> index 9b28bd63208d..5d319fb81288 100644
> --- a/drivers/regulator/pf8x00-regulator.c
> +++ b/drivers/regulator/pf8x00-regulator.c
> @@ -359,6 +359,7 @@ static const struct regulator_ops pf8x00_buck7_ops = {
> .disable = regulator_disable_regmap,
> .is_enabled = regulator_is_enabled_regmap,
> .list_voltage = regulator_list_voltage_table,
> + .map_voltage = regulator_map_voltage_ascend,
> .set_voltage_sel = regulator_set_voltage_sel_regmap,
> .get_voltage_sel = regulator_get_voltage_sel_regmap,
> .get_current_limit = regulator_get_current_limit_regmap,
> --
> 2.25.1
>
Reviewed-by: Adrien Grassein <adrien.grassein@gmail.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] regulator: pf8x00: Use regulator_map_voltage_ascend for pf8x00_buck7_ops
2021-02-16 6:01 [PATCH] regulator: pf8x00: Use regulator_map_voltage_ascend for pf8x00_buck7_ops Axel Lin
2021-02-16 23:56 ` Adrien Grassein
@ 2021-02-26 9:48 ` Jagan Teki
2021-03-01 23:37 ` Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Jagan Teki @ 2021-02-26 9:48 UTC (permalink / raw)
To: Axel Lin; +Cc: Mark Brown, Adrien Grassein, Liam Girdwood, linux-kernel
On Tue, Feb 16, 2021 at 11:31 AM Axel Lin <axel.lin@ingics.com> wrote:
>
> The voltages in pf8x00_sw7_voltages are in ascendant order, so use
> regulator_map_voltage_ascend.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] regulator: pf8x00: Use regulator_map_voltage_ascend for pf8x00_buck7_ops
2021-02-16 6:01 [PATCH] regulator: pf8x00: Use regulator_map_voltage_ascend for pf8x00_buck7_ops Axel Lin
2021-02-16 23:56 ` Adrien Grassein
2021-02-26 9:48 ` Jagan Teki
@ 2021-03-01 23:37 ` Mark Brown
2 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2021-03-01 23:37 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, Adrien Grassein, Jagan Teki, Liam Girdwood
On Tue, 16 Feb 2021 14:01:28 +0800, Axel Lin wrote:
> The voltages in pf8x00_sw7_voltages are in ascendant order, so use
> regulator_map_voltage_ascend.
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[1/1] regulator: pf8x00: Use regulator_map_voltage_ascend for pf8x00_buck7_ops
commit: 6930ab7ac03c1be5d1944473cbf327c9d4d14ce4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-03-02 7:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16 6:01 [PATCH] regulator: pf8x00: Use regulator_map_voltage_ascend for pf8x00_buck7_ops Axel Lin
2021-02-16 23:56 ` Adrien Grassein
2021-02-26 9:48 ` Jagan Teki
2021-03-01 23:37 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).