mbox series

[v1,0/4] arm64: dts: freescale: verdin-imx8mm/imx8mp: add sleep-moci support

Message ID 20240405160720.5977-1-eichest@gmail.com (mailing list archive)
Headers show
Series arm64: dts: freescale: verdin-imx8mm/imx8mp: add sleep-moci support | expand

Message

Stefan Eichenberger April 5, 2024, 4:07 p.m. UTC
From: Stefan Eichenberger <stefan.eichenberger@toradex.com>

This patch series adds support for sleep-moci to the Verdin iMX8MM and
iMX8MP in combination with the Dahlia carrier board. sleep-moci is a
GPIO that allows the system on module to turn off regulators that are
not needed in suspend mode on the carrier board.

Stefan Eichenberger (4):
  arm64: dts: freescale: imx8mp-verdin: replace sleep-moci hog with
    regulator
  arm64: dts: freescale: imx8mp-verdin-dahlia: support sleep-moci
  arm64: dts: freescale: imx8mm-verdin: replace sleep-moci hog with
    regulator
  arm64: dts: freescale: imx8mm-verdin-dahlia: support sleep-moci

 .../dts/freescale/imx8mm-verdin-dahlia.dtsi   | 39 +++++++++++++++
 .../boot/dts/freescale/imx8mm-verdin-dev.dtsi |  5 ++
 .../dts/freescale/imx8mm-verdin-yavia.dtsi    |  5 ++
 .../boot/dts/freescale/imx8mm-verdin.dtsi     | 26 ++++++----
 .../dts/freescale/imx8mp-verdin-dahlia.dtsi   | 50 +++++++++++++++++++
 .../boot/dts/freescale/imx8mp-verdin-dev.dtsi |  5 ++
 .../dts/freescale/imx8mp-verdin-yavia.dtsi    |  5 ++
 .../boot/dts/freescale/imx8mp-verdin.dtsi     | 26 ++++++----
 8 files changed, 141 insertions(+), 20 deletions(-)

Comments

Francesco Dolcini April 5, 2024, 4:48 p.m. UTC | #1
On Fri, Apr 05, 2024 at 06:07:18PM +0200, Stefan Eichenberger wrote:
> From: Stefan Eichenberger <stefan.eichenberger@toradex.com>
> 
> Previously, we had the sleep-moci pin set to always on. However, the
> Dahlia carrier board supports disabling the sleep-moci when the system
> is suspended to power down peripherals that support it. This reduces
> overall power consumption. This commit adds support for this feature by
> disabling the reg_force_sleep_moci regulator and adding two new
> regulators for the USB hub and PCIe that can be turned off when the
> system is suspended.
> 
> Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>

Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Shawn Guo April 22, 2024, 4:37 a.m. UTC | #2
On Fri, Apr 05, 2024 at 06:07:16PM +0200, Stefan Eichenberger wrote:
> From: Stefan Eichenberger <stefan.eichenberger@toradex.com>
> 
> This patch series adds support for sleep-moci to the Verdin iMX8MM and
> iMX8MP in combination with the Dahlia carrier board. sleep-moci is a
> GPIO that allows the system on module to turn off regulators that are
> not needed in suspend mode on the carrier board.
> 
> Stefan Eichenberger (4):
>   arm64: dts: freescale: imx8mp-verdin: replace sleep-moci hog with
>     regulator
>   arm64: dts: freescale: imx8mp-verdin-dahlia: support sleep-moci
>   arm64: dts: freescale: imx8mm-verdin: replace sleep-moci hog with
>     regulator
>   arm64: dts: freescale: imx8mm-verdin-dahlia: support sleep-moci

Applied all, thanks!