Message ID | 20240304-rk3588-saradc-v3-6-7424e2ed5d3b@theobroma-systems.com |
---|---|
State | Accepted |
Delegated to: | Kever Yang |
Headers | show |
Series | rockchip: add support for SARADCv2 and RK806 PMIC and regulators | expand |
On 2024/3/4 19:30, Quentin Schulz wrote: > From: Quentin Schulz <quentin.schulz@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@0leil.net> > Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Kever Yang <kever.yang@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" > ); >
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" );