[PATCH v3 06/16] pmic: reword help text
Kever Yang
kever.yang at rock-chips.com
Mon Mar 11 11:12:12 CET 2024
On 2024/3/4 19:30, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz at theobroma-systems.com>
>
> 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 at 0leil.net>
> Signed-off-by: Quentin Schulz <quentin.schulz at theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
> cmd/pmic.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/cmd/pmic.c b/cmd/pmic.c
> index 49a405fa297..c9e9730adf9 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"
> );
>
More information about the U-Boot
mailing list