diff options
author | Tony Lindgren <[email protected]> | 2019-12-16 14:41:53 -0800 |
---|---|---|
committer | Tony Lindgren <[email protected]> | 2019-12-17 08:06:51 -0800 |
commit | 4c74ecf79227228f31d05d6d4766ccb5f8607b83 (patch) | |
tree | 70a4f8d1d91ea70e2393ea6c0b2889bb49a70788 /scripts/gdb/vmlinux-gdb.py | |
parent | c6797bcde3070bb143a5ccbb5fe054f1ef6252e9 (diff) |
dmaengine: ti: omap-dma: Add device tree match data and use it for cpu_pm
With old DMA code disabled for handling DMA requests for device tree based
SoCs, we can move omap3 specific context save and restore to the dmaengine
driver.
Let's do this by adding cpu_pm notifier handling to save and restore context,
and enable it based on device tree match data. This way we can use the match
data later to configure more SoC specific features later on too.
Note that we only clear the channels in use while the platform code also
clears reserved channels 0 and 1 on high-security SoCs. Based on testing
on n900, this is not needed though and the system idles just fine.
With the dmaengine driver handling context save and restore, we must now
remove the old custom calls for context save and restore.
Cc: Aaro Koskinen <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Peter Ujfalusi <[email protected]>
Cc: Russell King <[email protected]>
Cc: Vinod Koul <[email protected]>
Acked-by: Peter Ujfalusi <[email protected]>
Tested-by: Peter Ujfalusi <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions