ufs: Remove the clock gating code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | ufs: core: Change the type of an ufshcd_clkgate_delay_set() argumentdrivers/ include/ | +4 | 0 replies | |
| 2/7 | ufs: host: mediatek: Use ufshcd_clkgate_delay_set()drivers/ | +1 | 0 replies | |
| 3/7 | ufs: core: Redirect clock gating to RPMdrivers/ include/ | +32 | 0 replies | |
| 4/7 | ufs: core: Switch from clock gating to RPMdrivers/ | +8 | 0 replies | |
| 5/7 | ufs: core: Remove unused code and data structuresdrivers/ drivers/ include/ | +4 | 0 replies | |
| 6/7 | ufs: core: Remove superfluous ufshcd_{hold,release}() callsdrivers/ drivers/ | +0 | 0 replies | |
| 7/7 | ufs: core: Remove ufshcd_{hold,release}() calls from the I/O pathdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] ufs: Remove the clock gating code
Hi Martin,
There is some duplicate code in the UFS driver: both the runtime power management (RPM) code and the clock gating code switch between the same low-power and fully-powered state. Since the RPM code is more efficient, this patch series remove the clock gating code. This change has been realized without modifying the driver behavior and without breaking the UFS driver sysfs interface.
Please consider this patch series for the next merge window.
Thanks,
Bart.
Bart Van Assche (7):
ufs: core: Change the type of an ufshcd_clkgate_delay_set() argument
ufs: host: mediatek: Use ufshcd_clkgate_delay_set()
ufs: core: Redirect clock gating to RPM
ufs: core: Switch from clock gating to RPM
ufs: core: Remove unused code and data structures
ufs: core: Remove superfluous ufshcd_{hold,release}() calls
ufs: core: Remove ufshcd_{hold,release}() calls from the I/O path
drivers/ufs/core/ufs-sysfs.c | 2 - drivers/ufs/core/ufs_trace.h | 27 --- drivers/ufs/core/ufshcd.c | 319 +++++--------------------------- drivers/ufs/host/ufs-mediatek.c | 5 +- include/ufs/ufshcd.h | 37 +--- 5 files changed, 48 insertions(+), 342 deletions(-)