mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v1 1/3] ARM: riotboard: provide standby on power off option
@ 2017-07-06 14:00 Oleksij Rempel
  2017-07-06 14:00 ` [PATCH v1 2/3] ARM: i.MX: provide handler for power off over standby Oleksij Rempel
  2017-07-06 14:00 ` [PATCH v1 3/3] regulator: pfuze: provide power over standby handler Oleksij Rempel
  0 siblings, 2 replies; 5+ messages in thread
From: Oleksij Rempel @ 2017-07-06 14:00 UTC (permalink / raw)
  To: barebox, l.stach; +Cc: Oleksij Rempel

This board, as well as some other boards with i.MX6 and a PMIC, uses a
"PMIC_STBY_REQ" line to notify the PMIC about a state change.
The PMIC is programmed for a specific state change before triggering the
line.
In this case, PMIC_STBY_REQ can be used for stand by, sleep
and power off modes.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 arch/arm/dts/imx6s-riotboard.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/dts/imx6s-riotboard.dts b/arch/arm/dts/imx6s-riotboard.dts
index 575887267e..ddd0d5ba2d 100644
--- a/arch/arm/dts/imx6s-riotboard.dts
+++ b/arch/arm/dts/imx6s-riotboard.dts
@@ -42,3 +42,10 @@
 	barebox,provide-mac-address = <&fec 0x620>;
 };
 
+&clks {
+	fsl,pmic-stby-poweroff;
+};
+
+&pmic {
+	fsl,pmic-stby-poweroff;
+};
-- 
2.11.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2017-07-06 16:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-06 14:00 [PATCH v1 1/3] ARM: riotboard: provide standby on power off option Oleksij Rempel
2017-07-06 14:00 ` [PATCH v1 2/3] ARM: i.MX: provide handler for power off over standby Oleksij Rempel
2017-07-06 14:00 ` [PATCH v1 3/3] regulator: pfuze: provide power over standby handler Oleksij Rempel
2017-07-06 14:12   ` Lucas Stach
2017-07-06 16:34     ` Oleksij Rempel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox