msm: qpnp-power-on: Add finer control of PMIC power off type

Modify the qpnp_pon_system_pwr_off() function so that different
types of PMIC reset may be requested.  In particular, add support
so that both warm and hard reset may be used.  Warm reset
maintains the hardware state of some PMIC peripherals.  Hard
reset resets all PMIC peripherals.

Change-Id: Ibe1491acfe90364e96b776d26e158522dfea9c2b
CRs-Fixed: 507850
Signed-off-by: David Collins <collinsd@codeaurora.org>
platform: qpnp-power-on: Log the PMIC power-on reason

Indicate the reason which triggered a power-on of the PMIC.
This is useful information during the boot sequence.

Change-Id: If548c969968f36ddf3d9cb93f0b0e07237f80ee1
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>

Conflicts:

	drivers/platform/msm/qpnp-power-on.c

Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
Signed-off-by: Patrick Tjin <pattjin@google.com>
msm: qpnp-power-on: Initialize earlier

Some drivers need to use qpnp-power-on functionality ealier. So initialize
this earlier for that.

Change-Id: Ia555a2876acf3d1cb4046d9fe2262567bdb4610a
Signed-off-by: darren.kang <darren.kang@lge.com>
Signed-off-by: Devin Kim <dojip.kim@lge.com>
msm: qpnp-power-on: Remove the wakelocks

Change-Id: I1a11903c9bda682ffce18ba4c852a71554bb26fe