Commit Graph

9 Commits

Author SHA1 Message Date
Niranjan Pendharkar c836a0877c msm: sps: add the callback for BAM-level polling
Add the support to notify BAM client driver to poll all relevant pipes
of that BAM.

Bug: 24338185
Change-Id: I4e52bc6d8f4ea6fe1fa49ecc4f78e6cee04f0774
Signed-off-by: Yan He <yanhe@codeaurora.org>
Signed-off-by: Niranjan Pendharkar <npendhar@codeaurora.org>
2015-10-02 16:33:23 +00:00
Yan He 184cd0349f msm: sps: check the pending descriptor
Check if a pipe of a BAM has any pending descriptor.

Change-Id: I7313de53dc49cdc5ae14a7e10740f0ffb35fb26b
Signed-off-by: Yan He <yanhe@codeaurora.org>
2014-11-20 10:30:38 -08:00
Yan He aadac39369 msm: sps: add the support to disable a pipe
Add the support for BAM client drivers to disable a pipe of a BAM.

Change-Id: I1ae7feff755a9db8cc074fe8f986fefcb15dad0b
Signed-off-by: Yan He <yanhe@codeaurora.org>
2014-11-20 10:30:12 -08:00
Yan He 0dc1d18606 msm: sps: check the BAM clock status before access a BAM
BAM could be clock gated when apps side is active. Thus, callback
the BAM client to confirm clocks are on before access the BAM. Also
provide the option for client driver to process the BAM IRQ after
the clocks are turned on.

Change-Id: I71682296e4dde3963b338eb65791ff8013495021
Signed-off-by: Yan He <yanhe@codeaurora.org>
2014-08-18 19:39:44 +03:00
Yan He 3df955f598 msm: sps: add the support to reset a pipe
Add the support for BAM client drivers to reset a pipe of a BAM.

CRs-fixed: 659597
Change-Id: I83aaf5c7377b6217647aec3c8f69dc7ed4e10344
Signed-off-by: Yan He <yanhe@codeaurora.org>
2014-07-28 10:02:08 -07:00
Yan He 108ec67a7a msm: sps: add stubs for BAM DMA APIs
BAM DMA may not exist on some chipsets and the driver may not be
compiled. Thus, add the stubs for BAM DMA APIs.

Change-Id: I01cb62fe432dd9fff5b6fcf9a3f141f17ca25658
Signed-off-by: Yan He <yanhe@codeaurora.org>
2014-05-12 17:37:51 -07:00
Yan He 99e23c9dc5 msm: sps: extend sps macros for 64-bit
SPS driver has some existing macros to process HW descriptor format
for LPAE. Extend the macros for 64-bit address as well.

Change-Id: I872e49d4b65b70b4efc1ae4447c34cc8f24e18c2
Signed-off-by: Yan He <yanhe@codeaurora.org>
2014-02-15 17:01:56 -08:00
Yan He 6a76f26910 msm: sps: add handling of late EOT.
The EOT signal can come later after the descriptor has been closed
by BAM HW. Add the support to handle this late EOT at the pipe
level

Change-Id: Ibd2e467cf77e792888bb3748e8b31924911e2651
Signed-off-by: Yan He <yanhe@codeaurora.org>
Signed-off-by: Satish Kamuju <skamuj@codeaurora.org>
2014-02-05 09:34:17 -08:00
Dipen Parmar 6f52767297 msm: sps: Add 64-bit support for sps
Add 64-bit support to sps driver.

Change-Id: I3e3c6ed1afb20851dbda361ea046214fc317a4e6
Signed-off-by: Dipen Parmar <dipenp@codeaurora.org>
2014-02-05 09:33:54 -08:00