summaryrefslogtreecommitdiff
path: root/drivers/usb/class
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2020-06-03 13:15:43 +0800
committerJassi Brar <jaswinder.singh@linaro.org>2020-06-07 16:11:30 -0500
commitbb2b2624dbe27246bd1ee087f2d50f80daa6622c (patch)
treedcb7d66728c840a998d3e1dfcae2c12d26ff0abe /drivers/usb/class
parentba5f9fa0ca85a6137fa35efd3a1256d8bb6bc5ff (diff)
mailbox: imx: Add runtime PM callback to handle MU clocks
Some of i.MX8M SoCs have MU clock, they need to be managed in runtime to make sure the MU clock can be off in runtime, add runtime PM callback to handle MU clock. And on i.MX8MP, the MU clock is combined with power domain and runtime PM is enabled for the clock driver, during noirq suspend/resume phase, runtime PM is disabled by device suspend, but the MU context save/restore needs to enable MU clock for register access, calling clock prepare/enable will trigger runtime resume failure and lead to system suspend failed. Actually, the MU context save/restore is ONLY necessary for SCU IPC MU, other MUs especially on i.MX8MP platforms which have MU clock assigned, they need to runtime request/free mailbox channel in the consumer driver, so no need to save/restore MU context for them, hence it can avoid this issue, so the MU context save/restore is ONLY applied to i.MX platforms MU instance without clock present. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions