Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1213419 > unrolled thread

Re: [PATCH V3] regulator: core: Define regulator_set_voltage_triplet()

Started byStephen Boyd <sboyd@codeaurora.org>
First post2015-08-26 01:00 +0200
Last post2015-08-26 01:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH V3] regulator: core: Define  regulator_set_voltage_triplet() Stephen Boyd <sboyd@codeaurora.org> - 2015-08-26 01:00 +0200

#1213419 — Re: [PATCH V3] regulator: core: Define regulator_set_voltage_triplet()

FromStephen Boyd <sboyd@codeaurora.org>
Date2015-08-26 01:00 +0200
SubjectRe: [PATCH V3] regulator: core: Define regulator_set_voltage_triplet()
Message-ID<q1vm9-422-3@gated-at.bofh.it>
On 08/17, Viresh Kumar wrote:
> Voltage tolerance isn't necessarily same on both sides of the target
> voltage and regulator_set_voltage_tol() wouldn't be suitable in such
> cases.
> 
> Add another routine regulator_set_voltage_triplet(), which accepts
> target, min and max voltages as arguments.
> 
> This first tries to set the voltage between the target voltage and the
> upper limit, then fall back on the full range. The idea behind this is
> to set regulator's voltage as close to the target voltage, as possible.
> 
> Based on regulator_set_voltage_tol().
> 
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---

Looks good to me.

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web