msm: mdm: Changes to implement notifications from the mdm-driver

mdm-driver can now send notifications.

Change-Id: Idacf0a1d26a40ecd277407240f797ede72fb5b31
Signed-off-by: Ameya Thakur <ameyat@codeaurora.org>
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
msm: audio: Notify QSC power on and off to LPASS

Register callback functions to receive QSC power on/off status
and send the APR messages to LPASS. So LPASS will not poll QSC
if QSC is in power down state

Change-Id: Ia4fad40b9e2cd554b8cbd13e2cba2e398995050c
Signed-off-by: Helen Zeng <xiaoyunz@codeaurora.org>
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>

Conflicts:

	sound/soc/msm/qdsp6/q6voice.c

Signed-off-by: Ameya Thakur <ameyat@codeaurora.org>
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
sysctl: add cold_boot sysctl entry

Add a cold_boot parameter which supplements the boot
reason sysctl entry with information about whether
the system was booted from cold or warm state

CRs-Fixed: 461256
Change-Id: I2bc5d80c8f26eb9e9dbb4b34960d991a51a224e4
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
mfd: pm8xxx: implement cold_boot sysctl parameter

Read PON_CNTRL_6 bit 7 to check whether a MSM WD has
occured during reset. If this bit is set it is used
as an indicator that a warm boot has occured.

CRs-Fixed: 461256
Change-Id: I69c527aa6636660aa3fab032c1bb5dc5eb4ecd8c
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
msm8930 sglte: Add subsys name for external QSC.

The QSC modem on 8930 SGLTE devices now has a name associated
with it in the mdm driver

Change-Id: I5f1093fbdd43de6284781e26bd07db795b0a0205
Signed-off-by: Ameya Thakur <ameyat@codeaurora.org>
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
msm: pil-q6v4: Change modem shutdown sequence

Existed sequence:
	axi_bus_halt(modem)
	pas_shutdown(modem)
	axi_bus_halt(modem_fw)
	pas_shutdown(modem_fw)

With the above sequence some outstanding transactions from Modem FW
when the clock reset happens, will cause a bus hang leading to a system
reset.

Do bus axi port halt for modem SW and modem FW together before making TZ
calls for either modem SW/FW reset. New sequence would be as below.

New sequence:
	axi_bus_halt(modem)
	axi_bus_halt(modem_fw)
	pas_shutdown(modem)
	pas_shutdown(modem_fw)

CRs-Fixed: 504698
Change-Id: I40ad1116f96b0d77ee3b6be29f3295cc7ae171a1
Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Merge "msm: pil-q6v4: Change modem shutdown sequence"
Merge "msm: mdm: Changes to implement notifications from the mdm-driver"
Merge "msm: audio: Notify QSC power on and off to LPASS"
Merge "sysctl: add cold_boot sysctl entry"
Merge "mfd: pm8xxx: implement cold_boot sysctl parameter"
Merge "msm8930 sglte: Add subsys name for external QSC."