From 2ffdfeb80f4dfc7fb98138ff2ce221949afe8fe1 Mon Sep 17 00:00:00 2001 From: Asutosh Das Date: Tue, 10 Dec 2019 15:03:09 -0800 Subject: [PATCH] ARM: dts: msm: Add limit rate on G4 for Lahaina rumi This patch limits the HS-G4 rate to rate-B for rumi platforms. RUMI doesn't function properly to rate-A. Hence, limit the rate to B. Change-Id: I750cd4ae3bde5cee4817af6965189b62b0d83681 --- bindings/ufs/ufs-qcom.txt | 3 ++- qcom/lahaina-rumi.dtsi | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bindings/ufs/ufs-qcom.txt b/bindings/ufs/ufs-qcom.txt index 8fbe169c..ac1ea587 100644 --- a/bindings/ufs/ufs-qcom.txt +++ b/bindings/ufs/ufs-qcom.txt @@ -32,7 +32,8 @@ Optional properties: - vddp-ref-clk-supply : phandle to UFS device ref_clk pad power supply - vddp-ref-clk-max-microamp : specifies max. load that can be drawn from this supply - resets : specifies the PHY reset in the UFS controller - +- limit-rate : specifies if the rate has to be limited to A or B. + 1 = rate B, 0 = rate A. Example: ufsphy1: ufsphy@fc597000 { diff --git a/qcom/lahaina-rumi.dtsi b/qcom/lahaina-rumi.dtsi index 8b7bca6d..99632211 100644 --- a/qcom/lahaina-rumi.dtsi +++ b/qcom/lahaina-rumi.dtsi @@ -14,6 +14,7 @@ &ufshc_mem { limit-tx-hs-gear = <1>; limit-rx-hs-gear = <1>; + limit-rate = <1>; vdd-hba-supply = <&gcc_ufs_phy_gdsc>; vdd-hba-fixed-regulator;