phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845
authorManu Gautam <mgautam@codeaurora.org>
Tue, 16 Oct 2018 07:22:07 +0000 (12:52 +0530)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 21 Nov 2018 07:43:58 +0000 (13:13 +0530)
commitc88520db18ba0b9a41326c3b8680e7c09eb4c381
treef915b673d927ffbf63c897a99bd719749e9ac13c
parent6e34d358b24ffc40764eb3681164c79091765429
phy: qcom-qusb2: Fix HSTX_TRIM tuning with fused value for SDM845

Tune1 register on sdm845 is used to update HSTX_TRIM with fused
setting. Enable same by specifying update_tune1_with_efuse flag
for sdm845, otherwise driver ends up programming tune2 register.

Fixes: ef17f6e212ca ("phy: qcom-qusb2: Add QUSB2 PHYs support for sdm845")
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Acked-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/qualcomm/phy-qcom-qusb2.c