summaryrefslogtreecommitdiff
path: root/cmd/pmic.c
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2024-03-14 10:36:19 +0100
committerKever Yang <kever.yang@rock-chips.com>2024-03-14 18:19:44 +0800
commit808156189b92be4dcbf021b1c2ad75ef3ba45c2c (patch)
tree0fc0106a69257343d289d0eaa094483ee7628026 /cmd/pmic.c
parentf172575d92cdb53b0f7b99bc76d9d6d09dbbbb8b (diff)
downloadu-boot-808156189b92be4dcbf021b1c2ad75ef3ba45c2c.tar.gz
u-boot-808156189b92be4dcbf021b1c2ad75ef3ba45c2c.tar.bz2
u-boot-808156189b92be4dcbf021b1c2ad75ef3ba45c2c.zip
pmic: reword help text
Reword the help text for the pmic read and pmic write commands to better match what's expected from the user. Cc: Quentin Schulz <foss+uboot@0leil.net> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Diffstat (limited to 'cmd/pmic.c')
-rw-r--r--cmd/pmic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/pmic.c b/cmd/pmic.c
index 49a405fa29..c9e9730adf 100644
--- a/cmd/pmic.c
+++ b/cmd/pmic.c
@@ -225,6 +225,6 @@ U_BOOT_CMD(pmic, CONFIG_SYS_MAXARGS, 1, do_pmic,
"list - list pmic devices\n"
"pmic dev [name] - show or [set] operating PMIC device\n"
"pmic dump - dump registers\n"
- "pmic read address - read byte of register at address\n"
- "pmic write address - write byte to register at address\n"
+ "pmic read <reg> - read byte of 'reg' register\n"
+ "pmic write <reg> <byte> - write 'byte' byte to 'reg' register\n"
);