devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] gpio: add suspend/resume support for i.mx8x SoCs
@ 2022-11-11 15:50 Shenwei Wang
  2022-11-11 15:50 ` [PATCH v5 1/3] arm64: dts: imx8dxl-ss-lsio: add gpio-ranges property Shenwei Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Shenwei Wang @ 2022-11-11 15:50 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Shawn Guo, Sascha Hauer
  Cc: Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
	Shenwei Wang, Peng Fan, Linus Walleij, devicetree,
	linux-arm-kernel, imx

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 series of patches enable this wakeup feature on i.MX8QM/QXP/DXL
platforms.

Changes in v5:
 - improve the commit log per Fabio's feedback.
 - remove the two patches accepted by Linus Walleij

Changes in v4:
 - fixed the format issues reported by Peng Fan.
 - change the return type of mxc_gpio_generic_config, and limit the
   suspend/resume behavior changes only on i.MX8QM/QXP/DXL platform.

Changes in v3:
 - According to the feedback from Linus Walleij, the wakeup feature is
   moved to pinctrl driver, and the array of gpio-pin mapping is moved
   to gpio device node and initialized via gpio-ranges property.

Shenwei Wang (3):
  arm64: dts: imx8dxl-ss-lsio: add gpio-ranges property
  arm64: dts: imx8qm-ss-lsio: add gpio-ranges property
  arm64: dts: imx8qxp-ss-lsio: add gpio-ranges property

 .../boot/dts/freescale/imx8dxl-ss-lsio.dtsi   | 41 +++++++++++++++++++
 .../boot/dts/freescale/imx8qm-ss-lsio.dtsi    | 38 +++++++++++++++++
 .../boot/dts/freescale/imx8qxp-ss-lsio.dtsi   | 25 +++++++++++
 3 files changed, 104 insertions(+)

--
2.34.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-11-14  8:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-11 15:50 [PATCH v5 0/3] gpio: add suspend/resume support for i.mx8x SoCs Shenwei Wang
2022-11-11 15:50 ` [PATCH v5 1/3] arm64: dts: imx8dxl-ss-lsio: add gpio-ranges property Shenwei Wang
2022-11-11 15:50 ` [PATCH v5 2/3] arm64: dts: imx8qm-ss-lsio: " Shenwei Wang
2022-11-11 15:50 ` [PATCH v5 3/3] arm64: dts: imx8qxp-ss-lsio: " Shenwei Wang
2022-11-14  8:52 ` [PATCH v5 0/3] gpio: add suspend/resume support for i.mx8x SoCs Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).