]> git.ipfire.org Git - people/ms/u-boot.git/commit
power: twl4030: Add CONFIG_CMD_POWEROFF support
authorAdam Ford <aford173@gmail.com>
Mon, 24 Apr 2017 18:34:43 +0000 (13:34 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 10 May 2017 00:35:38 +0000 (20:35 -0400)
commit4c2fb5fcc8159b1610dbb169f9acea2c043e7cc2
treee5d18a80dea9c1b79ee5e4c643908622061eb0ae
parent15fde737fc1dd1b796903dd33989defff3598f19
power: twl4030: Add CONFIG_CMD_POWEROFF support

With the addition of twl4030_power_off(), let's allow the 'poweroff' command
to run this function when CONFIG_CMD_POWEROFF is enabled.

Tested on a DM3730 with twl4030 PMIC.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/power/twl4030.c