summaryrefslogtreecommitdiffstats
path: root/drivers/power/reset/sc27xx-poweroff.c
Commit message (Collapse)AuthorAgeFilesLines
* power: reset: make function sc27xx_poweroff_shutdown staticColin Ian King2018-03-131-1/+1
| | | | | | | | | | | | The function sc27xx_poweroff_shutdown is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warning: drivers/power/reset/sc27xx-poweroff.c:28:6: warning: symbol 'sc27xx_poweroff_shutdown' was not declared. Should it be static? Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
* power: reset: Add Spreadtrum SC27xx PMIC power off supportBaolin Wang2018-03-091-0/+66
On Spreadtrum platform, we need power off system through external SC27xx series PMICs including the SC2720, SC2721, SC2723, SC2730 and SC2731 chips. Thus this patch adds SC27xx series PMICs power-off support. Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>