power: fg-memif: Add workaround for DMA during SRAM access in PM8150B v1
Sometimes in PM8150B v1, FG SRAM can be accessed by HW over DMA
even after the access is granted to the SW by arbiter. When this
happens, FG SRAM data can get corrupted as HW might be modifying
it along with SW. As per the hardware recommendation, configure
PEEK_MUX4 to poll the status of ALG active. If it is asserted
low, wait for 1 ms before DMA is requested during FG SRAM access.
Change-Id: I0d1be7d86f40a515513e6a931264740344eb3263
Signed-off-by:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment