soc: qcom: geni-se: Update Tx and Rx fifo depth based on QUP HW version
authorVisweswara Tanuku <quic_vtanuku@quicinc.com>
Wed, 15 Feb 2023 05:05:28 +0000 (21:05 -0800)
committerBjorn Andersson <andersson@kernel.org>
Tue, 14 Mar 2023 00:15:12 +0000 (17:15 -0700)
commitfe8aa1ba078366ba23fc676efab57183b12a3a81
tree33df5640c312e4f5c43b9023af708c2c019b8ff6
parent112d96fd29272726b2a4bc59d027f76fe1e78af3
soc: qcom: geni-se: Update Tx and Rx fifo depth based on QUP HW version

From QUP HW Version 3.10 and above the Tx and Rx
fifo depth bits are increased to 23:16 bits from
21:16 bits in SE_HW_PARAM registers accomodating
256bytes of fifo depth.

Updated geni_se_get_tx_fifo_depth and
geni_se_get_rx_fifo_depth to retrieve right fifo
depth based on QUP HW version.

Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230215050528.9507-1-quic_vtanuku@quicinc.com
include/linux/soc/qcom/geni-se.h