[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190522152925.12419-1-benjamin.gaignard@st.com>
Date: Wed, 22 May 2019 17:29:23 +0200
From: Benjamin Gaignard <benjamin.gaignard@...com>
To: <linus.walleij@...aro.org>, <alexandre.torgue@...com>,
<amelie.delaunay@...com>
CC: <linux-gpio@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<linux-arm-kernel@...ts.infradead.org>,
<benjamin.gaignard@...aro.org>,
Benjamin Gaignard <benjamin.gaignard@...com>
Subject: [PATCH 0/2] Allow pinctrl framework to create links
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
Powered by blists - more mailing lists