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

Commit a11489df authored by Mayank Rana's avatar Mayank Rana Committed by Matt Wagantall
Browse files

usb: phy: qusb: Add support to read TUNE2 using EFUSE register



QUSB_PHY_TUNE2 parameter's high nibble value may vary across
different devices. It needs to be read through EFUSE based
register. This change adds support which reads EFUSE based register,
and calculate TUNE2 parameter's high nibble value. It also requires
number of bits to use and starting position of bit with EFUSE
register to calculate this value. In case, EFUSE register based
value is zero, it uses 0xB as default high nibble value with low
nibble value (0x3 which always default value).

CRs-Fixed: 705188
Change-Id: I1a530e34342ea3a897e7f6cb80957af9c1fe3bf5
Signed-off-by: default avatarMayank Rana <mrana@codeaurora.org>
parent 7197f1f1
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