rockchip: support disable/enable specific gpio when suspend/resume
authorCaesar Wang <wxt@rock-chips.com>
Fri, 9 Sep 2016 18:43:15 +0000 (02:43 +0800)
committerCaesar Wang <wxt@rock-chips.com>
Fri, 9 Sep 2016 20:06:44 +0000 (04:06 +0800)
commite550c6310118d1369796751ce98fe66167db0861
tree0cf3822182b414263ee0304e40fe69629eddd29e
parent536c2492456758d2fe7e28b11ece9001c4d79cc0
rockchip: support disable/enable specific gpio when suspend/resume

some specific board need to disable/enable specific gpio when
suspend/resume, so we add this function, bootloader can pass the
specific gpio, and we can handle these gpios in bl31 suspend/resuem
function.

Change-Id: I373b03ef9202ee4a05a2b9caacdfa01b47ee2177
plat/rockchip/common/include/plat_params.h
plat/rockchip/common/include/plat_private.h
plat/rockchip/common/params_setup.c
plat/rockchip/rk3399/drivers/pmu/pmu.c