* [PATCH] docs: ABI: sysfs-driver-ufs: Add DeepSleep power mode
@ 2020-11-06 15:36 Adrian Hunter
2020-12-02 10:20 ` Adrian Hunter
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Hunter @ 2020-11-06 15:36 UTC (permalink / raw)
To: linux-doc; +Cc: Greg Kroah-Hartman, Martin K . Petersen, linux-scsi
A patch for DeepSleep is in the scsi queue, but as per mkp:
I left out the sysfs ABI piece due to the conflicts.
I suggest you send that piece through the doc tree.
Ergo this patch.
Link: https://lore.kernel.org/r/yq1imaksb3g.fsf@ca-mkp.ca.oracle.com/
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
---
Documentation/ABI/testing/sysfs-driver-ufs | 34 +++++++++++++---------
1 file changed, 20 insertions(+), 14 deletions(-)
diff --git a/Documentation/ABI/testing/sysfs-driver-ufs b/Documentation/ABI/testing/sysfs-driver-ufs
index adc0d0e91607..e77fa784d6d8 100644
--- a/Documentation/ABI/testing/sysfs-driver-ufs
+++ b/Documentation/ABI/testing/sysfs-driver-ufs
@@ -916,21 +916,24 @@ Date: September 2014
Contact: Subhash Jadavani <subhashj@codeaurora.org>
Description: This entry could be used to set or show the UFS device
runtime power management level. The current driver
- implementation supports 6 levels with next target states:
+ implementation supports 7 levels with next target states:
== ====================================================
- 0 an UFS device will stay active, an UIC link will
+ 0 UFS device will stay active, UIC link will
stay active
- 1 an UFS device will stay active, an UIC link will
+ 1 UFS device will stay active, UIC link will
hibernate
- 2 an UFS device will moved to sleep, an UIC link will
+ 2 UFS device will be moved to sleep, UIC link will
stay active
- 3 an UFS device will moved to sleep, an UIC link will
+ 3 UFS device will be moved to sleep, UIC link will
hibernate
- 4 an UFS device will be powered off, an UIC link will
+ 4 UFS device will be powered off, UIC link will
hibernate
- 5 an UFS device will be powered off, an UIC link will
+ 5 UFS device will be powered off, UIC link will
be powered off
+ 6 UFS device will be moved to deep sleep, UIC link
+ will be powered off. Note, deep sleep might not be
+ supported in which case this value will not be accepted
== ====================================================
What: /sys/bus/platform/drivers/ufshcd/*/rpm_target_dev_state
@@ -954,21 +957,24 @@ Date: September 2014
Contact: Subhash Jadavani <subhashj@codeaurora.org>
Description: This entry could be used to set or show the UFS device
system power management level. The current driver
- implementation supports 6 levels with next target states:
+ implementation supports 7 levels with next target states:
== ====================================================
- 0 an UFS device will stay active, an UIC link will
+ 0 UFS device will stay active, UIC link will
stay active
- 1 an UFS device will stay active, an UIC link will
+ 1 UFS device will stay active, UIC link will
hibernate
- 2 an UFS device will moved to sleep, an UIC link will
+ 2 UFS device will be moved to sleep, UIC link will
stay active
- 3 an UFS device will moved to sleep, an UIC link will
+ 3 UFS device will be moved to sleep, UIC link will
hibernate
- 4 an UFS device will be powered off, an UIC link will
+ 4 UFS device will be powered off, UIC link will
hibernate
- 5 an UFS device will be powered off, an UIC link will
+ 5 UFS device will be powered off, UIC link will
be powered off
+ 6 UFS device will be moved to deep sleep, UIC link
+ will be powered off. Note, deep sleep might not be
+ supported in which case this value will not be accepted
== ====================================================
What: /sys/bus/platform/drivers/ufshcd/*/spm_target_dev_state
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] docs: ABI: sysfs-driver-ufs: Add DeepSleep power mode
2020-11-06 15:36 [PATCH] docs: ABI: sysfs-driver-ufs: Add DeepSleep power mode Adrian Hunter
@ 2020-12-02 10:20 ` Adrian Hunter
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Hunter @ 2020-12-02 10:20 UTC (permalink / raw)
To: linux-doc; +Cc: Greg Kroah-Hartman, Martin K . Petersen, linux-scsi
On 6/11/20 5:36 pm, Adrian Hunter wrote:
> A patch for DeepSleep is in the scsi queue, but as per mkp:
>
> I left out the sysfs ABI piece due to the conflicts.
> I suggest you send that piece through the doc tree.
>
> Ergo this patch.
>
> Link: https://lore.kernel.org/r/yq1imaksb3g.fsf@ca-mkp.ca.oracle.com/
> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Will anyone apply this?
> ---
> Documentation/ABI/testing/sysfs-driver-ufs | 34 +++++++++++++---------
> 1 file changed, 20 insertions(+), 14 deletions(-)
>
> diff --git a/Documentation/ABI/testing/sysfs-driver-ufs b/Documentation/ABI/testing/sysfs-driver-ufs
> index adc0d0e91607..e77fa784d6d8 100644
> --- a/Documentation/ABI/testing/sysfs-driver-ufs
> +++ b/Documentation/ABI/testing/sysfs-driver-ufs
> @@ -916,21 +916,24 @@ Date: September 2014
> Contact: Subhash Jadavani <subhashj@codeaurora.org>
> Description: This entry could be used to set or show the UFS device
> runtime power management level. The current driver
> - implementation supports 6 levels with next target states:
> + implementation supports 7 levels with next target states:
>
> == ====================================================
> - 0 an UFS device will stay active, an UIC link will
> + 0 UFS device will stay active, UIC link will
> stay active
> - 1 an UFS device will stay active, an UIC link will
> + 1 UFS device will stay active, UIC link will
> hibernate
> - 2 an UFS device will moved to sleep, an UIC link will
> + 2 UFS device will be moved to sleep, UIC link will
> stay active
> - 3 an UFS device will moved to sleep, an UIC link will
> + 3 UFS device will be moved to sleep, UIC link will
> hibernate
> - 4 an UFS device will be powered off, an UIC link will
> + 4 UFS device will be powered off, UIC link will
> hibernate
> - 5 an UFS device will be powered off, an UIC link will
> + 5 UFS device will be powered off, UIC link will
> be powered off
> + 6 UFS device will be moved to deep sleep, UIC link
> + will be powered off. Note, deep sleep might not be
> + supported in which case this value will not be accepted
> == ====================================================
>
> What: /sys/bus/platform/drivers/ufshcd/*/rpm_target_dev_state
> @@ -954,21 +957,24 @@ Date: September 2014
> Contact: Subhash Jadavani <subhashj@codeaurora.org>
> Description: This entry could be used to set or show the UFS device
> system power management level. The current driver
> - implementation supports 6 levels with next target states:
> + implementation supports 7 levels with next target states:
>
> == ====================================================
> - 0 an UFS device will stay active, an UIC link will
> + 0 UFS device will stay active, UIC link will
> stay active
> - 1 an UFS device will stay active, an UIC link will
> + 1 UFS device will stay active, UIC link will
> hibernate
> - 2 an UFS device will moved to sleep, an UIC link will
> + 2 UFS device will be moved to sleep, UIC link will
> stay active
> - 3 an UFS device will moved to sleep, an UIC link will
> + 3 UFS device will be moved to sleep, UIC link will
> hibernate
> - 4 an UFS device will be powered off, an UIC link will
> + 4 UFS device will be powered off, UIC link will
> hibernate
> - 5 an UFS device will be powered off, an UIC link will
> + 5 UFS device will be powered off, UIC link will
> be powered off
> + 6 UFS device will be moved to deep sleep, UIC link
> + will be powered off. Note, deep sleep might not be
> + supported in which case this value will not be accepted
> == ====================================================
>
> What: /sys/bus/platform/drivers/ufshcd/*/spm_target_dev_state
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-02 10:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06 15:36 [PATCH] docs: ABI: sysfs-driver-ufs: Add DeepSleep power mode Adrian Hunter
2020-12-02 10:20 ` Adrian Hunter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).