2 Commits

Author SHA1 Message Date
Ajit Kumar
51fd240d1b soc: qcom: bgdaemon: add interface to get TWM exit flag
Add an interface to find if the device bootup is after traditional
watch mode exit.

Change-Id: I174850bf09a8c91c2265c4675d4df735292d7fde
Signed-off-by: Ajit Kumar <kajit@codeaurora.org>
Signed-off-by: Ramesh Yadav Javadi <javadi@codeaurora.org>
2018-05-27 23:22:16 -07:00
Ramesh Yadav Javadi
43ff877475 soc: qcom: Add BG PIL and feature drivers for msm8909w
BG is a companion chip for msm8909 for low power needs.
Add BG PIL driver to provide load, subsystem restart
and ramdump collection support.

The driver loads the BG firmware into memory and sends
a command to the secure userspace application to initiate
secure transfer of the BG firmware into internal memory
of BG and reset BG. The subsystem restart depends on four
GPIOs present between MSM8909 and BG.

Snapshot of BG PIL and feature drivers taken from msm-3.18
kernel version@ commit 5554caa9f538fe ("soc: qcom: Add 
Blackghost(BG) chip PIL driver")

Change-Id: Ica6fa7a7df94a869ff09a1697ea04ee65afbd501
Signed-off-by: Ramesh Yadav Javadi <javadi@codeaurora.org>
2018-04-19 11:59:52 +05:30