
19 Oct
2018
19 Oct
'18
5:28 a.m.
On 9 October 2018 at 07:31, Patrice Chotard patrice.chotard@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@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@chromium.org