Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1362152
| From | Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints |
| Date | 2016-03-21 22:10 +0100 |
| Message-ID | <rfffk-2ON-19@gated-at.bofh.it> (permalink) |
| References | <rfdwS-1BU-21@gated-at.bofh.it> <rfdwS-1BU-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi, On 21.03.2016 21:18, Mark Brown wrote: > Currently we only attempt to set the voltage during constraints > application if an exact voltage is specified. Extend this so that if > the currently set voltage for the regualtor is outside the bounds set in regulator > constraints we will move the voltage to the nearest constraint, raising > to the minimum or lowering to the maximum as needed. This ensures that > drivers can probe without the hardware being driven out of spec. > > Reported-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> > Signed-off-by: Mark Brown <broonie@kernel.org> > --- > > Untested so far, will give it a spin later/tomorrow. > > drivers/regulator/core.c | 32 +++++++++++++++++++++++++------- > 1 file changed, 25 insertions(+), 7 deletions(-) > Patch 1 does not apply cleanly on 4.5-rc5, so I applied it by hand, however, you may add: Tested-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> Thanks, Ivo
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints Mark Brown <broonie@kernel.org> - 2016-03-21 20:20 +0100
Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2016-03-21 22:10 +0100
Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-24 07:20 +0100
Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-24 08:20 +0100
Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints Bjorn Andersson <bjorn@kryo.se> - 2016-03-27 01:00 +0100
Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints Mark Brown <broonie@kernel.org> - 2016-03-27 11:10 +0200
Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-03-28 18:20 +0200
Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints Geert Uytterhoeven <geert@linux-m68k.org> - 2016-03-29 14:10 +0200
Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints Mark Brown <broonie@kernel.org> - 2016-03-29 17:00 +0200
Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints Geert Uytterhoeven <geert@linux-m68k.org> - 2016-03-29 20:10 +0200
Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints Mark Brown <broonie@kernel.org> - 2016-03-29 20:30 +0200
RE: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints Haibo Chen <haibo.chen@nxp.com> - 2016-03-30 11:50 +0200
Re: [PATCH 2/2] regulator: core: Ensure we are at least in bounds for our constraints Mark Brown <broonie@kernel.org> - 2016-03-30 17:30 +0200
Applied "regulator: core: Ensure we are at least in bounds for our constraints" to the regulator tree Mark Brown <broonie@kernel.org> - 2016-03-23 14:50 +0100
csiph-web