mbox series

[v3,0/2] Subject: [PATCH v3 0/2] Refactor ufshcd_setup_clocks() to remove param skip_ref_clk

Message ID 1606356063-38380-1-git-send-email-cang@codeaurora.org (mailing list archive)
Headers show
Series Subject: [PATCH v3 0/2] Refactor ufshcd_setup_clocks() to remove param skip_ref_clk | expand

Message

Can Guo Nov. 26, 2020, 2 a.m. UTC
Allow vendor drivers to decide which clock should be kept on when
clk gating or suspend disables clocks while link is active.

Change since v2:
- Fixed a typo in commit title
- Changed naming always_on_while_link_active to keep_link_active

Change since v1:
- Incorporated Stanley's idea which is to refactor func ufshcd_setup_clocks()

Can Guo (2):
  scsi: ufs: Refactor ufshcd_setup_clocks() to remove skip_ref_clk
  scsi: ufs-qcom: Keep core_clk_unipro ON while link is active

 drivers/scsi/ufs/ufs-qcom.c      |  6 ++++++
 drivers/scsi/ufs/ufshcd-pltfrm.c |  2 ++
 drivers/scsi/ufs/ufshcd.c        | 29 +++++++++--------------------
 drivers/scsi/ufs/ufshcd.h        |  3 +++
 4 files changed, 20 insertions(+), 20 deletions(-)

Comments

Martin K. Petersen Dec. 1, 2020, 5:14 a.m. UTC | #1
Can,

> Allow vendor drivers to decide which clock should be kept on when
> clk gating or suspend disables clocks while link is active.

Applied to 5.11/scsi-staging, thanks!
Martin K. Petersen Dec. 8, 2020, 4:52 a.m. UTC | #2
On Wed, 25 Nov 2020 18:00:59 -0800, Can Guo wrote:

> Allow vendor drivers to decide which clock should be kept on when
> clk gating or suspend disables clocks while link is active.
> 
> Change since v2:
> - Fixed a typo in commit title
> - Changed naming always_on_while_link_active to keep_link_active
> 
> [...]

Applied to 5.11/scsi-queue, thanks!

[1/2] scsi: ufs: Refactor ufshcd_setup_clocks() to remove skip_ref_clk
      https://git.kernel.org/mkp/scsi/c/81309c247a4d
[2/2] scsi: ufs-qcom: Keep core_clk_unipro ON while link is active
      https://git.kernel.org/mkp/scsi/c/96f08cc5943c