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:
Manu Gautam <mgautam@codeaurora.org>
Loading
Please register or sign in to comment