[U-Boot] [PATCH v2] regulator: Allow autosetting fixed regulators

Simon Glass sjg at chromium.org
Sat Jun 22 19:10:19 UTC 2019


On Wed, 12 Jun 2019 at 07:32, Sven Schwermer <sven at svenschwermer.de> wrote:
>
> Fixed regulators don't have a set_value method. Therefore, trying to
> set their value will always return -ENOSYS.
>
> Signed-off-by: Sven Schwermer <sven at svenschwermer.de>
> Cc: Jaehoon Chung <jh80.chung at samsung.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> ---
>  drivers/power/regulator/regulator-uclass.c | 3 +++
>  1 file changed, 3 insertions(+)
>

Reviewed-by: Simon Glass <sjg at chromium.org>

It should be possible to create a simple test for this in test/dm/regulator.c


More information about the U-Boot mailing list