[U-Boot] [PATCH v3 2/9] dm: pinctrl: Add pinctrl_get_pin_name and pinctrl_get_pins_count

Simon Glass sjg at chromium.org
Fri Oct 19 03:28:03 UTC 2018


On 9 October 2018 at 07:31, Patrice Chotard <patrice.chotard at st.com> wrote:
> Add pinctrl_get_pin_name() and pinctrl_get_pins_count() methods
> to obtain pin's name and pin's muxing given a pin reference.
>
> This will be used by the new pinmux command.
>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
>
> Changes in v3:
>  - Replace const char **buf parameter by char *buf, int size parameters
>    for pinctrl_get_pin_name()
>
> Changes in v2: None
>
>  drivers/pinctrl/pinctrl-uclass.c | 23 +++++++++++++++++++++++
>  include/dm/pinctrl.h             | 23 +++++++++++++++++++++++
>  2 files changed, 46 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list