Commit c73cd5e
scsi: ufs: host: mediatek: Support UFS PHY runtime PM and correct sequence
Add support for UFS PHY runtime power management by probing the PHY
device and enabling its runtime PM. Ensure the correct sequence of
operations during suspend and resume: PHY suspend -> UFS suspend -> UFS
resume -> PHY resume. Improve power management efficiency and system
stability with this enhancement.
Signed-off-by: Peter Wang <peter.wang@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent b2f8aba commit c73cd5e
2 files changed
Lines changed: 48 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2243 | 2243 | | |
2244 | 2244 | | |
2245 | 2245 | | |
2246 | | - | |
2247 | | - | |
2248 | | - | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
2249 | 2249 | | |
| 2250 | + | |
| 2251 | + | |
2250 | 2252 | | |
2251 | 2253 | | |
2252 | 2254 | | |
| |||
2273 | 2275 | | |
2274 | 2276 | | |
2275 | 2277 | | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
2276 | 2298 | | |
2277 | 2299 | | |
2278 | | - | |
2279 | | - | |
2280 | | - | |
| 2300 | + | |
2281 | 2301 | | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
2282 | 2313 | | |
| 2314 | + | |
| 2315 | + | |
2283 | 2316 | | |
2284 | 2317 | | |
2285 | 2318 | | |
| |||
2343 | 2376 | | |
2344 | 2377 | | |
2345 | 2378 | | |
| 2379 | + | |
2346 | 2380 | | |
2347 | 2381 | | |
2348 | 2382 | | |
| |||
2355 | 2389 | | |
2356 | 2390 | | |
2357 | 2391 | | |
| 2392 | + | |
| 2393 | + | |
| 2394 | + | |
2358 | 2395 | | |
2359 | 2396 | | |
2360 | 2397 | | |
2361 | 2398 | | |
2362 | 2399 | | |
2363 | 2400 | | |
| 2401 | + | |
2364 | 2402 | | |
2365 | 2403 | | |
2366 | 2404 | | |
2367 | 2405 | | |
2368 | 2406 | | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
2369 | 2410 | | |
2370 | 2411 | | |
2371 | 2412 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| |||
0 commit comments