[PATCH] scsi: ufs-qcom: add number of lanes per direction

2018-02-05 Thread Can Guo
ilure. Signed-off-by: Gilad Broner Signed-off-by: Subhash Jadavani Signed-off-by: Can Guo diff --git a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt index 5357919..4cee3f9 100644 --- a/Documentation/devicetree/bindings/ufs/u

[PATCH v2] scsi: ufs-qcom: add number of lanes for Tx and Rx links

2018-02-26 Thread Can Guo
usion about failure. Signed-off-by: Gilad Broner Signed-off-by: Subhash Jadavani Signed-off-by: Can Guo --- Changes since v1: - Change commit subject for better description. - Incorporated Rob's review comments to use lanes-tx and lanes-rx to handle asymmetric T

[PATCH v1] scsi: ufs: add 2 lane support

2018-03-02 Thread Can Guo
From: Venkat Gopalakrishnan Qcom ufs controller v3.1.0 supports 2 lanes, add support to configure 2 lanes during phy initialization. Signed-off-by: Venkat Gopalakrishnan Signed-off-by: Subhash Jadavani Signed-off-by: Can Guo --- drivers/scsi/ufs/ufs-qcom.c | 20 +--- 1 file

[PATCH v1 0/2] Introduce a vops for resetting host controller

2019-10-22 Thread Can Guo
Some UFS host controllers need their specific implementations of resetting to get them into a good state. Provide a new vops to allow the platform driver to implement this own reset operation. Can Guo (2): scsi: ufs: Introduce a vops for resetting host controller scsi: ufs-qcom: Add reset

[PATCH v2 1/1] scsi: ufs: make UFS Tx lane1 clock optional for QCOM platforms

2018-10-11 Thread Can Guo
when enable/disable lane clocks just for symmetry. Signed-off-by: Venkat Gopalakrishnan Signed-off-by: Subhash Jadavani Signed-off-by: Can Guo --- Changes since v1: - Incorporated review comments from Doug. - Update the commit title and commit message. drivers/scsi/ufs/ufs-qcom.c

[PATCH v9 4/7] scsi: ufs: Add core reset support

2018-09-20 Thread Can Guo
From: Dov Levenglick Enables core reset support. Add full initialization of the PHY and the controller before initializing UFS PHY and during link recovery. Signed-off-by: Dov Levenglick Signed-off-by: Amit Nischal Signed-off-by: Subhash Jadavani Signed-off-by: Can Guo --- drivers/scsi/ufs

[PATCH v9 5/7] scsi: ufs: Power on phy after it is initialized

2018-09-20 Thread Can Guo
From: Can Guo Before UFS PHY is initialized, powering on it has no effect but increases the PHY's power on count. Then when power on PHY to enable it after phy initialization where it is really needed, as PHY's power on count is not zero, again it would do nothing but directly return

[PATCH 1/1] scsi: ufs: make UFS Tx lane1 clock optional

2018-10-07 Thread Can Guo
From: Venkat Gopalakrishnan The UFS Tx lane1 clock could be muxed, hence keep it optional by ignoring it if it is not provided in device tree. Signed-off-by: Venkat Gopalakrishnan Signed-off-by: Subhash Jadavani Signed-off-by: Can Guo --- drivers/scsi/ufs/ufs-qcom.c | 46

[PATCH v3 1/1] scsi: ufs: make UFS Tx lane1 clock optional for QCOM platforms

2018-10-11 Thread Can Guo
when enable/disable lane clocks just for symmetry. Signed-off-by: Venkat Gopalakrishnan Signed-off-by: Subhash Jadavani Signed-off-by: Can Guo --- Changes since v2: - Incorporated review comments from Doug. Changes since v1: - Incorporated review comments from Doug. - Update the commit title and c

[PATCH v4 1/1] scsi: ufs: make UFS Tx lane1 clock optional for QCOM platforms

2018-10-12 Thread Can Guo
when enable/disable lane clocks just for symmetry. Signed-off-by: Venkat Gopalakrishnan Signed-off-by: Subhash Jadavani Signed-off-by: Can Guo Reviewed-by: Vivek Gautam Reviewed-by: Douglas Anderson Tested-by: Douglas Anderson --- Changes since v3: - Incorporated review comments from Doug. Ch

[PATCH v5 1/1] scsi: ufs: make UFS Tx lane1 clock optional for QCOM platforms

2018-10-12 Thread Can Guo
when enable/disable lane clocks just for symmetry. Signed-off-by: Venkat Gopalakrishnan Signed-off-by: Subhash Jadavani Signed-off-by: Can Guo Reviewed-by: Vivek Gautam Reviewed-by: Douglas Anderson Tested-by: Douglas Anderson --- Changes since v4: - fixed one typo Changes since v3: - Incorpo

[PATCH v9 0/7] Support for Qualcomm UFS QMP PHY on SDM845

2018-09-10 Thread Can Guo
ments from Vivek and Rob. Changes since v2: - Incorporated review comments from Vivek and Rob. - Remove "ref_aux" from sdm845 ufs phy clock list structure. Changes since v1: - Incorporated review comments from Vivek and Manu. - Update the commit title of patch 2. Can Guo (6): phy: Upda

[PATCH v9 0/7] Support for Qualcomm UFS QMP PHY on SDM845

2018-09-10 Thread Can Guo
ments from Vivek and Rob. Changes since v2: - Incorporated review comments from Vivek and Rob. - Remove "ref_aux" from sdm845 ufs phy clock list structure. Changes since v1: - Incorporated review comments from Vivek and Manu. - Update the commit title of patch 2. Can Guo (6): phy: Upda

[PATCH v9 0/7] Support for Qualcomm UFS QMP PHY on SDM845

2018-09-10 Thread Can Guo
ments from Vivek and Rob. Changes since v2: - Incorporated review comments from Vivek and Rob. - Remove "ref_aux" from sdm845 ufs phy clock list structure. Changes since v1: - Incorporated review comments from Vivek and Manu. - Update the commit title of patch 2. Can Guo (6): phy: Upda

[PATCH v9 0/7] Support for Qualcomm UFS QMP PHY on SDM845

2018-09-10 Thread Can Guo
ments from Vivek and Rob. Changes since v2: - Incorporated review comments from Vivek and Rob. - Remove "ref_aux" from sdm845 ufs phy clock list structure. Changes since v1: - Incorporated review comments from Vivek and Manu. - Update the commit title of patch 2. Can Guo (6): phy: Upda

[PATCH v9 0/7] Support for Qualcomm UFS QMP PHY on SDM845

2018-09-13 Thread Can Guo
ments from Vivek and Rob. Changes since v2: - Incorporated review comments from Vivek and Rob. - Remove "ref_aux" from sdm845 ufs phy clock list structure. Changes since v1: - Incorporated review comments from Vivek and Manu. - Update the commit title of patch 2. Can Guo (6): phy: Upda

[PATCH v9 0/7] Support for Qualcomm UFS QMP PHY on SDM845

2018-09-13 Thread Can Guo
ments from Vivek and Rob. Changes since v2: - Incorporated review comments from Vivek and Rob. - Remove "ref_aux" from sdm845 ufs phy clock list structure. Changes since v1: - Incorporated review comments from Vivek and Manu. - Update the commit title of patch 2. Can Guo (6): phy: Upda

[PATCH v9 0/7] Support for Qualcomm UFS QMP PHY on SDM845

2018-09-20 Thread Can Guo
From: Can Guo This patch series adds support for UFS QMP PHY on SDM845 and the compatible string for it. This patch series depends on the current proposed QMP V3 USB3 UNI PHY support for sdm845 driver [1], on the DT bindings for the QMP V3 USB3 PHYs based dirver [2], and also rebased on updated

[PATCH v9 0/7] Support for Qualcomm UFS QMP PHY on SDM845

2018-09-20 Thread Can Guo
From: Can Guo This patch series adds support for UFS QMP PHY on SDM845 and the compatible string for it. This patch series depends on the current proposed QMP V3 USB3 UNI PHY support for sdm845 driver [1], on the DT bindings for the QMP V3 USB3 PHYs based dirver [2], and also rebased on updated