On 9 October 2018 at 07:31, Patrice Chotard <patrice.chot...@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.chot...@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 <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot