mbox series

[v2,0/2] ufs: host: ufs-qcom: Add support for SM8550

Message ID 20230119151406.4168685-1-abel.vesa@linaro.org
Headers show
Series ufs: host: ufs-qcom: Add support for SM8550 | expand

Message

Abel Vesa Jan. 19, 2023, 3:14 p.m. UTC
This patchset adds UFS HC support for the new Qualcomm SM8550 SoC.

The v1 was here:
https://lore.kernel.org/all/20221116121732.2731448-1-abel.vesa@linaro.org/

Changes since v1:
 * replaced REG_UFS_PA_LINK_STARTUP_TIMER with REG_UFS_CFG0 and added a
   comment saying that the older version use the first name as reg name
 * moved QUNIPRO_G4_SEL in a separate section dedicated to CFG0 bits
 * forces the update_link_startup_timer condition to be skipped in case
   of HW version 5.x

To: Andy Gross <agross@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>
To: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Alim Akhtar <alim.akhtar@samsung.com>
To: Avri Altman <avri.altman@wdc.com>
To: Bart Van Assche <bvanassche@acm.org>
To: Rob Herring <robh+dt@kernel.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
To: "James E.J. Bottomley" <jejb@linux.ibm.com>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-scsi@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org

Abel Vesa (2):
  scsi: ufs: ufs-qcom: Clear qunipro_g4_sel for HW version major 5
  dt-bindings: ufs: qcom: Add SM8550 compatible string

 Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 2 ++
 drivers/ufs/host/ufs-qcom.c                         | 8 ++++++--
 drivers/ufs/host/ufs-qcom.h                         | 6 +++++-
 3 files changed, 13 insertions(+), 3 deletions(-)

Comments

Martin K. Petersen Feb. 8, 2023, 11:08 p.m. UTC | #1
Abel,

> This patchset adds UFS HC support for the new Qualcomm SM8550 SoC.

Applied to 6.3/scsi-staging, thanks!
Martin K. Petersen Feb. 14, 2023, 4:57 p.m. UTC | #2
On Thu, 19 Jan 2023 17:14:04 +0200, Abel Vesa wrote:

> This patchset adds UFS HC support for the new Qualcomm SM8550 SoC.
> 
> The v1 was here:
> https://lore.kernel.org/all/20221116121732.2731448-1-abel.vesa@linaro.org/
> 
> Changes since v1:
>  * replaced REG_UFS_PA_LINK_STARTUP_TIMER with REG_UFS_CFG0 and added a
>    comment saying that the older version use the first name as reg name
>  * moved QUNIPRO_G4_SEL in a separate section dedicated to CFG0 bits
>  * forces the update_link_startup_timer condition to be skipped in case
>    of HW version 5.x
> 
> [...]

Applied to 6.3/scsi-queue, thanks!

[1/2] scsi: ufs: ufs-qcom: Clear qunipro_g4_sel for HW version major 5
      https://git.kernel.org/mkp/scsi/c/9c02aa24bf40
[2/2] dt-bindings: ufs: qcom: Add SM8550 compatible string
      https://git.kernel.org/mkp/scsi/c/b8c203891121