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:Mayank Rana <mrana@codeaurora.org> Signed-off-by:
Dov Levenglick <dovl@codeaurora.org>
Loading
Please register or sign in to comment