mbox series

[v3,0/3] UFS: Add support for SM8150 UFS

Message ID 20191024074802.26526-1-vkoul@kernel.org
Headers show
Series UFS: Add support for SM8150 UFS | expand

Message

Vinod Koul Oct. 24, 2019, 7:47 a.m. UTC
This series adds compatible strings for ufs hc and ufs qmp phy found in
Qualcomm SM8150 SoC. Also update the qmp phy driver with version 4 and
support for ufs phy.

Changes since V2:
 - add review tags received
 - rename registers to QSERDES_V4_COM* and sort them and make these lower
   hex
 - reuse sdm845_ufs_phy_clk_l as it is same

Changes since v1:
 - make the numbers a lower case hex
 - add review tags received

Vinod Koul (3):
  dt-bindings: ufs: Add sm8150 compatible string
  dt-bindings: phy-qcom-qmp: Add sm8150 UFS phy compatible string
  phy: qcom-qmp: Add SM8150 QMP UFS PHY support

 .../devicetree/bindings/phy/qcom-qmp-phy.txt  |   7 +-
 .../devicetree/bindings/ufs/ufshcd-pltfrm.txt |   1 +
 drivers/phy/qualcomm/phy-qcom-qmp.c           | 120 ++++++++++++++++++
 drivers/phy/qualcomm/phy-qcom-qmp.h           |  96 ++++++++++++++
 4 files changed, 223 insertions(+), 1 deletion(-)

-- 
2.20.1

Comments

Vinod Koul Nov. 5, 2019, 6:02 a.m. UTC | #1
On 24-10-19, 13:18, Vinod Koul wrote:
> Document "qcom,sm8150-ufshc" compatible string for UFS HC found on

> SM8150.

> 

> Signed-off-by: Vinod Koul <vkoul@kernel.org>

> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

> Reviewed-by: Stephen Boyd <swboyd@chromium.org>

> Acked-by: Rob Herring <robh@kernel.org>


Martin,

Would you mind picking this up, Rob has acked this

> ---

>  Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt | 1 +

>  1 file changed, 1 insertion(+)

> 

> diff --git a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt

> index d78ef63935f9..415ccdd7442d 100644

> --- a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt

> +++ b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt

> @@ -13,6 +13,7 @@ Required properties:

>  			    "qcom,msm8996-ufshc", "qcom,ufshc", "jedec,ufs-2.0"

>  			    "qcom,msm8998-ufshc", "qcom,ufshc", "jedec,ufs-2.0"

>  			    "qcom,sdm845-ufshc", "qcom,ufshc", "jedec,ufs-2.0"

> +			    "qcom,sm8150-ufshc", "qcom,ufshc", "jedec,ufs-2.0"

>  - interrupts        : <interrupt mapping for UFS host controller IRQ>

>  - reg               : <registers mapping>

>  

> -- 

> 2.20.1


-- 
~Vinod
Martin K. Petersen Nov. 6, 2019, 5:21 a.m. UTC | #2
Vinod,

>> Document "qcom,sm8150-ufshc" compatible string for UFS HC found on

>> SM8150.


> Would you mind picking this up, Rob has acked this


Applied to 5.5/scsi-queue, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering