]> git.ipfire.org Git - people/ms/u-boot.git/commit
imx: ventana: gsc: add gsc sleep command
authorTim Harvey <tharvey@gateworks.com>
Tue, 24 May 2016 18:03:50 +0000 (11:03 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 31 May 2016 15:24:15 +0000 (17:24 +0200)
commitefa7ed7236ee5bfab871f35ce70f3e3e1d39b4f6
tree3c715c338a8dadc59bbeec9c09dcea5cc5220edb
parent6052b1c6f4fadee751dd7c90a4148943f65ab7b0
imx: ventana: gsc: add gsc sleep command

The Gateworks System Controller on Ventana boards has the ability to
disable the board's primary power supply until the RTC hits a specific
time. When sleeping a button-down event on the GSC user pushbutton will
wake the board before it's wake time has been reached. This feature is
referred to as GSC sleep.

Add a command to invoke sleep mode for a specified number of seconds.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/gsc.c