Some pin controllers may need to ensure suspend/resume calls ordering between themselves and their clients. That is the case for STMFX (an I2C GPIO expender) which need to be suspended after all it clients to let them call pinctrl_pm_select_sleep_state() before perform it own suspend function. It is the same problem for resume but in reverse order. This series allow to let pinctrl core knows if a controller would like to create link between itself and it client by setting create_link to true. Benjamin Gaignard (2): pinctrl: Allow to create link between controller and consumer pinctrl: stmfx: enable links creations drivers/pinctrl/core.c | 11 +++++++++++ drivers/pinctrl/pinctrl-stmfx.c | 1 + include/linux/pinctrl/pinctrl.h | 2 ++ 3 files changed, 14 insertions(+) -- 2.15.0