[PATCH v1 0/2] Add post change sequence for link start notify

palash.kambar@oss.qualcomm.com posted 2 patches 3 weeks, 6 days ago
There is a newer version of this series
drivers/ufs/core/ufshcd.c   | 39 +++++++++++++++++++++++++++++++++++++
drivers/ufs/host/ufs-qcom.c | 11 +++++++++++
drivers/ufs/host/ufs-qcom.h | 11 +++++++++++
3 files changed, 61 insertions(+)
[PATCH v1 0/2] Add post change sequence for link start notify
Posted by palash.kambar@oss.qualcomm.com 3 weeks, 6 days ago
From: Palash Kambar <palash.kambar@oss.qualcomm.com>

This patch series introduces two updates to the UFS subsystem aimed at
improving link stability and power efficiency on platforms using the
Qualcomm UFS host controller.

During link startup, the number of active TX/RX lanes discovered may be
fewer than the lanes specified in the device tree. The current UFS core
driver configures all DT-defined lanes unconditionally, which can lead to
mismatches during power mode changes. Patch 1/2 ensures to warn on this.

Additionally, certain Qualcomm platforms support Auto Hibern8 (AH8), where
the UFS controller autonomously de-asserts clk_req signals to the GCC
during Hibern8 state. Enabling this mechanism allows the clock controller
to gate unused clocks, providing meaningful power savings. Patch 2/2 adds
support for enabling this feature as recommended by the Hardware
Programming Guidelines.

Palash Kambar (2):
  ufs: core: Configure only active lanes during link
  ufs: ufs-qcom: Enable Auto Hibern8 clock request support

 drivers/ufs/core/ufshcd.c   | 39 +++++++++++++++++++++++++++++++++++++
 drivers/ufs/host/ufs-qcom.c | 11 +++++++++++
 drivers/ufs/host/ufs-qcom.h | 11 +++++++++++
 3 files changed, 61 insertions(+)

-- 
2.34.1