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

Skip to content
Commit 4ac2a21e authored by Dov Levenglick's avatar Dov Levenglick
Browse files

ARM: dts: mdm9630: Enable TX FIFO Resize functionality



Currently TX FIFO resize functionality is disabled. Enable
it by adding property tx-fifo-resize and providing total
available RAM memory using qcom,dwc-usb3-msm-tx-fifo-size
which helps to have better allocation of available internal
RAM for each BULK IN and Interrupt endpoints. With this,
BULK IN endpoint assigns TX FIFO size = 388 * 8 = 3104 bytes
Whereas Interrupt endpoint TX FIFO size is allocated based
on MaxPacketSize.

For 9025 USB default composition, TX FIFO is allocated as below:
ep1in-bulk: dep->endpoint.maxpacket:400 Size: 388 * 8
ep2in-bulk: dep->endpoint.maxpacket:400 Size: 388 * 8
ep3in-bulk: dep->endpoint.maxpacket:400 Size: 388 * 8
ep4in-int:  dep->endpoint.maxpacket:a   Size: 4 * 8
ep5in-bulk: dep->endpoint.maxpacket:400 Size: 388 * 8
ep6in-int:  dep->endpoint.maxpacket:a   Size: 4 * 8
ep7in-bulk: dep->endpoint.maxpacket:400 Size: 388 * 8
ep8in-int:  dep->endpoint.maxpacket:8   Size: 3 * 8
ep9in-bulk: dep->endpoint.maxpacket:400 Size: 388 * 8

Change-Id: I950314c985adc032e4dd93e2da114ce0a7c5e899
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
Signed-off-by: default avatarDov Levenglick <dovl@codeaurora.org>
parent 135d6c3f
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