Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ae4b172d authored by Manu Gautam's avatar Manu Gautam Committed by Stephen Boyd
Browse files

msm: usb_bam: Use USB3 private memory for CI2.0 USB BAM FIFOs



Some peripheral BAMs e.g. QDSS cannot access DDR or any other
system memory but they can access USB3 private memory. Hence,
add support for using USB3 private memory with CI2.0 USB BAM.

This requires specifying BAM FIFOs' starting address and length
in USB private memory and configuring QSCRACTH RAM1 register
to let USB3 core know about the part of internal memory getting
used as BAM FIFO and it shouldn't try to access that. Also
turn ON clocks are required to access the memory as part of
cable connect and turn OFF on cable disconnect.

Change-Id: Iaa0ba67cd54aa3eaae784d0be3f16f67974083e1
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 36530bcc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment