summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJonas Karlman <[email protected]>2026-07-09 23:02:40 +0000
committerPeng Fan <[email protected]>2026-07-12 16:18:32 +0800
commit10acd5bc9a6c453b86486156e76f1fbbe116e285 (patch)
tree545fbe5352d3551f541b943dad02d240b4b753fe /doc
parent0663b4f553789f8d38220a543116563885693120 (diff)
test: dm: regulator: Add regulator_set_value_clamp() tests
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 <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r--doc/usage/cmd/dm.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/usage/cmd/dm.rst b/doc/usage/cmd/dm.rst
index 196b22d1376..ac1c437bd9c 100644
--- a/doc/usage/cmd/dm.rst
+++ b/doc/usage/cmd/dm.rst
@@ -409,7 +409,8 @@ This example shows the abridged sandbox output::
regulator 1 [ ] sandbox_buck | | |-- buck2
regulator 2 [ ] sandbox_ldo | | |-- ldo1
regulator 3 [ ] sandbox_ldo | | |-- ldo2
- regulator 4 [ ] sandbox_buck | | `-- no_match_by_nodename
+ regulator 4 [ ] sandbox_buck | | |-- no_match_by_nodename
+ regulator 5 [ ] sandbox_ldo | | `-- ldo3
pmic 1 [ ] mc34708_pmic | `-- pmic@41
bootcount 0 [ + ] bootcount-rtc |-- bootcount@0
bootcount 1 [ ] bootcount-i2c-eeprom |-- bootcount