u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v3 1/2] cmd: pinmux: update result of do_status
       [not found] <20210521094728.v3.1.I6851dcbaea90c8b6ddcca5310e3c4ee58c824706@changeid>
@ 2021-07-23 12:33 ` Tom Rini
       [not found] ` <20210521094728.v3.2.I5b7085079ee5504cad399697bf6afef6710fa02a@changeid>
  1 sibling, 0 replies; 2+ messages in thread
From: Tom Rini @ 2021-07-23 12:33 UTC (permalink / raw)
  To: Patrick Delaunay; +Cc: u-boot, Sean Anderson, Simon Glass, U-Boot STM32

[-- Attachment #1: Type: text/plain, Size: 524 bytes --]

On Fri, May 21, 2021 at 09:47:31AM +0200, Patrick Delaunay wrote:

> Update the result of do_status and always returns a CMD_RET_ value
> (-ENOSYS was a possible result of show_pinmux).
> 
> This patch also adds pincontrol name in error messages (dev->name)
> and treats correctly the status sub command when pin-controller device is
> not selected.
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v3 2/2] cmd: pinmux: support pin name in status command
       [not found] ` <20210521094728.v3.2.I5b7085079ee5504cad399697bf6afef6710fa02a@changeid>
@ 2021-07-23 12:33   ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2021-07-23 12:33 UTC (permalink / raw)
  To: Patrick Delaunay
  Cc: u-boot, Bin Meng, Heinrich Schuchardt, Pragnesh Patel,
	Priyanka Jain, Simon Glass, U-Boot STM32

[-- Attachment #1: Type: text/plain, Size: 485 bytes --]

On Fri, May 21, 2021 at 09:47:32AM +0200, Patrick Delaunay wrote:

> Allow pin name parameter for pimux staus command,
> as gpio command to get status of one pin.
> 
> The possible usage of the command is:
> 
> > pinmux dev pinctrl
> > pinmux status
> 
> > pinmux status -a
> 
> > pinmux status <pin-name>
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-23 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210521094728.v3.1.I6851dcbaea90c8b6ddcca5310e3c4ee58c824706@changeid>
2021-07-23 12:33 ` [PATCH v3 1/2] cmd: pinmux: update result of do_status Tom Rini
     [not found] ` <20210521094728.v3.2.I5b7085079ee5504cad399697bf6afef6710fa02a@changeid>
2021-07-23 12:33   ` [PATCH v3 2/2] cmd: pinmux: support pin name in status command Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).