Load BG with TWM firmware image before enter TWM.
Add interface to load diffrent BG firmware based on the
command.
Change-Id: Id7aef89735d7591b4810011dea5a3483cbb97028
Signed-off-by: Ajit Kumar <kajit@codeaurora.org>
Registers callbacks for APPS to notify BG
when ADSP SSR takes place.
Change-Id: I90a7c942a487719a393214b35d3776321a4950e1
Signed-off-by: Protik Biswas <protbisw@codeaurora.org>
Protik Biswasauthored and Ajit Kumarcommited 2020-01-27 16:48:52 +05:30
Add an interface to find if BG is in running state.
Change-Id: I8049e9d22cd0eb6e9df367f964bc72a538fd2db9
Signed-off-by: Ajit Kumar <kajit@codeaurora.org>
Ajit Kumarauthored and Arjun Singhcommited 2019-06-06 13:56:19 +05:30
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>
Ajit Kumarauthored and Gerrit - the friendly Code Review servercommited 2018-05-27 23:22:16 -07:00
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>