[U-Boot] [PATCH v3 4/9] cmd: pinmux: Add pinmux command
Simon Glass
sjg at chromium.org
Fri Oct 19 03:28:06 UTC 2018
On 9 October 2018 at 07:31, Patrice Chotard <patrice.chotard at st.com> wrote:
> pinmux command allows to :
> - list all pin-controllers available on platforms
> - select a pin-controller
> - display the muxing of all pins of the current pin-controller
> or all pin-controllers depending of given options
>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
>
> Changes in v3:
> - Update calls to pinctrl_get_pin_name() and pinctrl_get_pin_muxing
> due to prototype update.
>
> Changes in v2:
> - In order to make pin muxing display less SoC specific,
> use pinctrl_pins_count(), pinctrl_get_pin_name() and
> pinctrl_get_pin_muxing() methods instead of
> previous pinctrl_pinmux_show() method.
>
> cmd/Kconfig | 8 ++++
> cmd/Makefile | 1 +
> cmd/pinmux.c | 144 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 153 insertions(+)
> create mode 100644 cmd/pinmux.c
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list