mbox series

[0/2] pinctrl: stm32: Add possibility to configure only one pin

Message ID 20200615125951.28008-1-alexandre.torgue@st.com
Headers show
Series pinctrl: stm32: Add possibility to configure only one pin | expand

Message

Alexandre TORGUE June 15, 2020, 12:59 p.m. UTC
Hi,

Currently stm32 pinctrl driver offers only the possibility to configure pins
groups thanks "pin_config_group_set" callback. To configure pins thanks to the
GPIOlib (i.e. GPIO_PULL_UP ...) this driver needs also to support
"pin_config_set" callback.

Regards
Alex

Alexandre Torgue (2):
  pinctrl: stm32: return proper error code in pin_config_set
  pinctrl: stm32: add possibility to configure pins individually

 drivers/pinctrl/stm32/pinctrl-stm32.c | 25 ++++++++++++++++++++++---
 1 file changed, 22 insertions(+), 3 deletions(-)