[PATCH 2/4] test: dm: regulator: Add regulator_set_value_clamp() tests

Peng Fan peng.fan at oss.nxp.com
Mon Jun 29 07:31:15 CEST 2026


On Sun, Jun 28, 2026 at 10:25:24AM +0000, Jonas Karlman wrote:
>Add a sandbox LDO3 with a configurable 1.8V to 3.3V range and use it
>to test regulator_set_value_clamp().
>
>Test in-range requests, clamping against the regulator limits, invalid
>ranges outside the regulator limits and a min value higher than max.
>
>Signed-off-by: Jonas Karlman <jonas at kwiboo.se>

Reviewed-by: Peng Fan <peng.fan at nxp.com>


More information about the U-Boot mailing list