Message ID | 20240910-topic-ufs-qcom-controller-v1-0-54c0d2231b10@linaro.org |
---|---|
Headers | show |
Series | ufs: add support for Qualcomm UFS Controller | expand |
Hi Bhupesh, Neha Malcom Francis, On 10/09/2024 11:50, Neil Armstrong wrote: > This iass Add Support for the Host Controller driver for UFS HC > present on Qualcomm Snapdragon SoCs. > > It adds 2 ops to allow more control on the UFS device. > > It has been successfully tested on SDM845, SM8250, SM8550 ant SM8650 SoCs. > > It builds-depends on the following serie: > https://lore.kernel.org/all/20240910-topic-ufs-enhancements-v1-0-3ee0bffacc64@linaro.org/ > > And at runtime it depends on: > https://lore.kernel.org/all/20240910-topic-ufs-qcom-phy-v1-0-21ff4b87b962@linaro.org/ Could you review this patchset ? Thanks, Neil > > Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> > --- > Bhupesh Sharma (1): > ufs: Add Support for Qualcomm UFS HC driver > > Neil Armstrong (3): > ufs: add device_reset callback > ufs: add get_max_pwr_mode callback > ufs: allow UFSHCI version 4.0 > > drivers/ufs/Kconfig | 7 + > drivers/ufs/Makefile | 1 + > drivers/ufs/ufs-qcom.c | 670 +++++++++++++++++++++++++++++++++++++++++++++++++ > drivers/ufs/ufs-qcom.h | 147 +++++++++++ > drivers/ufs/ufs.c | 13 +- > drivers/ufs/ufs.h | 21 ++ > drivers/ufs/unipro.h | 6 + > 7 files changed, 863 insertions(+), 2 deletions(-) > --- > base-commit: 7725e4eb07c03ca0842b0a7ed425af28e1b8ed37 > change-id: 20240910-topic-ufs-qcom-controller-4b2905610963 > > Best regards,
On 10.09.24 11:50, Neil Armstrong wrote: > This iass Add Support for the Host Controller driver for UFS HC > present on Qualcomm Snapdragon SoCs. > > It adds 2 ops to allow more control on the UFS device. > > It has been successfully tested on SDM845, SM8250, SM8550 ant SM8650 SoCs. > > It builds-depends on the following serie: > https://lore.kernel.org/all/20240910-topic-ufs-enhancements-v1-0-3ee0bffacc64@linaro.org/ > > And at runtime it depends on: > https://lore.kernel.org/all/20240910-topic-ufs-qcom-phy-v1-0-21ff4b87b962@linaro.org/ > > Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> > --- > Bhupesh Sharma (1): > ufs: Add Support for Qualcomm UFS HC driver > > Neil Armstrong (3): > ufs: add device_reset callback > ufs: add get_max_pwr_mode callback > ufs: allow UFSHCI version 4.0 > > drivers/ufs/Kconfig | 7 + > drivers/ufs/Makefile | 1 + > drivers/ufs/ufs-qcom.c | 670 +++++++++++++++++++++++++++++++++++++++++++++++++ > drivers/ufs/ufs-qcom.h | 147 +++++++++++ > drivers/ufs/ufs.c | 13 +- > drivers/ufs/ufs.h | 21 ++ > drivers/ufs/unipro.h | 6 + > 7 files changed, 863 insertions(+), 2 deletions(-) > --- > base-commit: 7725e4eb07c03ca0842b0a7ed425af28e1b8ed37 > change-id: 20240910-topic-ufs-qcom-controller-4b2905610963 Tested successfully on SM8150 tablet. However, some merge conflicts had to be fixed and maybe also add CONFIG_QCOM_UFS=y to qcom_defconfig Tested-by: Julius Lehmann <lehmanju@devpi.de> > > Best regards,
On 10/09/2024 11:50, Neil Armstrong wrote: > This iass Add Support for the Host Controller driver for UFS HC > present on Qualcomm Snapdragon SoCs. > > It adds 2 ops to allow more control on the UFS device. > > It has been successfully tested on SDM845, SM8250, SM8550 ant SM8650 SoCs. > > It builds-depends on the following serie: > https://lore.kernel.org/all/20240910-topic-ufs-enhancements-v1-0-3ee0bffacc64@linaro.org/ > > And at runtime it depends on: > https://lore.kernel.org/all/20240910-topic-ufs-qcom-phy-v1-0-21ff4b87b962@linaro.org/ > > Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Tested on the RB3 Gen 2 with lore.kernel.org/u-boot/20241012132251.1840147-1-caleb.connolly@linaro.org Tested-by: Caleb Connolly <caleb.connolly@linaro.org> #rb3gen2 > --- > Bhupesh Sharma (1): > ufs: Add Support for Qualcomm UFS HC driver > > Neil Armstrong (3): > ufs: add device_reset callback > ufs: add get_max_pwr_mode callback > ufs: allow UFSHCI version 4.0 > > drivers/ufs/Kconfig | 7 + > drivers/ufs/Makefile | 1 + > drivers/ufs/ufs-qcom.c | 670 +++++++++++++++++++++++++++++++++++++++++++++++++ > drivers/ufs/ufs-qcom.h | 147 +++++++++++ > drivers/ufs/ufs.c | 13 +- > drivers/ufs/ufs.h | 21 ++ > drivers/ufs/unipro.h | 6 + > 7 files changed, 863 insertions(+), 2 deletions(-) > --- > base-commit: 7725e4eb07c03ca0842b0a7ed425af28e1b8ed37 > change-id: 20240910-topic-ufs-qcom-controller-4b2905610963 > > Best regards,
Hi, On Tue, 10 Sep 2024 11:50:09 +0200, Neil Armstrong wrote: > This iass Add Support for the Host Controller driver for UFS HC > present on Qualcomm Snapdragon SoCs. > > It adds 2 ops to allow more control on the UFS device. > > It has been successfully tested on SDM845, SM8250, SM8550 ant SM8650 SoCs. > > [...] Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-ufs (u-boot-ufs-next) [1/4] ufs: add device_reset callback https://source.denx.de/u-boot/custodians/u-boot-ufs/-/commit/182e19225bbf66bae2280173a177c569e131c0dc [2/4] ufs: add get_max_pwr_mode callback https://source.denx.de/u-boot/custodians/u-boot-ufs/-/commit/b3f89c1d6ed47b7c7a6eaf854d3289dbfe31f332 [3/4] ufs: allow UFSHCI version 4.0 https://source.denx.de/u-boot/custodians/u-boot-ufs/-/commit/690db792cfe06ee072c35cc930be6f0155282eea [4/4] ufs: Add Support for Qualcomm UFS HC driver https://source.denx.de/u-boot/custodians/u-boot-ufs/-/commit/0c9c501a87e0070b944ffcd8f0d9942353048f41
This iass Add Support for the Host Controller driver for UFS HC present on Qualcomm Snapdragon SoCs. It adds 2 ops to allow more control on the UFS device. It has been successfully tested on SDM845, SM8250, SM8550 ant SM8650 SoCs. It builds-depends on the following serie: https://lore.kernel.org/all/20240910-topic-ufs-enhancements-v1-0-3ee0bffacc64@linaro.org/ And at runtime it depends on: https://lore.kernel.org/all/20240910-topic-ufs-qcom-phy-v1-0-21ff4b87b962@linaro.org/ Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> --- Bhupesh Sharma (1): ufs: Add Support for Qualcomm UFS HC driver Neil Armstrong (3): ufs: add device_reset callback ufs: add get_max_pwr_mode callback ufs: allow UFSHCI version 4.0 drivers/ufs/Kconfig | 7 + drivers/ufs/Makefile | 1 + drivers/ufs/ufs-qcom.c | 670 +++++++++++++++++++++++++++++++++++++++++++++++++ drivers/ufs/ufs-qcom.h | 147 +++++++++++ drivers/ufs/ufs.c | 13 +- drivers/ufs/ufs.h | 21 ++ drivers/ufs/unipro.h | 6 + 7 files changed, 863 insertions(+), 2 deletions(-) --- base-commit: 7725e4eb07c03ca0842b0a7ed425af28e1b8ed37 change-id: 20240910-topic-ufs-qcom-controller-4b2905610963 Best regards,