diff options
author | Shenwei Wang <shenwei.wang@nxp.com> | 2022-10-27 08:08:59 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-11-08 11:26:00 +0100 |
commit | f60c9eac54af28d7b5651fe49944bfd5098550e6 (patch) | |
tree | df50067dd98c830f467b6c764ff4f53631a09fda /fs/lockd/host.c | |
parent | 7c3ccedaf7a7b0260e8ac128f14d6564da8393fd (diff) |
gpio: mxc: enable pad wakeup on i.MX8x platforms
On i.MX8QM/QXP/DXL SoCs, even a GPIO is selected as the wakeup source,
the GPIO block will be powered off when system enters into suspend
state. This can greatly reduce the power consumption of suspend state
because the whole partition can be shutdown. This is called PAD wakeup
feature on i.MX8x platform.
This patch adds the noirq suspend/resume hooks and uses the pad wakeup
feature as the default wakeup method for GPIO modules on
i.MX8QM/QXP/DXL platforms.
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/r/20221027130859.1444412-6-shenwei.wang@nxp.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'fs/lockd/host.c')
0 files changed, 0 insertions, 0 deletions