mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-14 13:39:10 +00:00
efc1bb8a6f
This patch adds core power management (suspend-to-RAM) support for DaVinci SoCs. The code depends on the the "deepsleep" feature to suspend the SoC and saves power by gating the input clock. The wakeup can be based on an external event as supported by the SoC. Assembly code (in sleep.S) is added to aid gating DDR2 clocks. Code doing this work should not be accessing DDR2. The assembly code is relocated to SRAM by the code in pm.c The support has been validated on DA850/OMAP-L138 only though the code is (hopefully) generic enough that other SoCs supporting deepsleep feature simply requires SoC specific code to start using this driver. Note that all the device drivers don't support suspend/resume still and are being worked on. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
38 lines
1.3 KiB
Makefile
38 lines
1.3 KiB
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
#
|
|
|
|
# Common objects
|
|
obj-y := time.o clock.o serial.o io.o psc.o \
|
|
gpio.o dma.o usb.o common.o sram.o
|
|
|
|
obj-$(CONFIG_DAVINCI_MUX) += mux.o
|
|
|
|
# Chip specific
|
|
obj-$(CONFIG_ARCH_DAVINCI_DM644x) += dm644x.o devices.o
|
|
obj-$(CONFIG_ARCH_DAVINCI_DM355) += dm355.o devices.o
|
|
obj-$(CONFIG_ARCH_DAVINCI_DM646x) += dm646x.o devices.o
|
|
obj-$(CONFIG_ARCH_DAVINCI_DM365) += dm365.o devices.o
|
|
obj-$(CONFIG_ARCH_DAVINCI_DA830) += da830.o devices-da8xx.o
|
|
obj-$(CONFIG_ARCH_DAVINCI_DA850) += da850.o devices-da8xx.o
|
|
|
|
obj-$(CONFIG_AINTC) += irq.o
|
|
obj-$(CONFIG_CP_INTC) += cp_intc.o
|
|
|
|
# Board specific
|
|
obj-$(CONFIG_MACH_DAVINCI_EVM) += board-dm644x-evm.o
|
|
obj-$(CONFIG_MACH_SFFSDR) += board-sffsdr.o
|
|
obj-$(CONFIG_MACH_NEUROS_OSD2) += board-neuros-osd2.o
|
|
obj-$(CONFIG_MACH_DAVINCI_DM355_EVM) += board-dm355-evm.o
|
|
obj-$(CONFIG_MACH_DM355_LEOPARD) += board-dm355-leopard.o
|
|
obj-$(CONFIG_MACH_DAVINCI_DM6467_EVM) += board-dm646x-evm.o
|
|
obj-$(CONFIG_MACH_DAVINCI_DM365_EVM) += board-dm365-evm.o
|
|
obj-$(CONFIG_MACH_DAVINCI_DA830_EVM) += board-da830-evm.o
|
|
obj-$(CONFIG_MACH_DAVINCI_DA850_EVM) += board-da850-evm.o
|
|
|
|
# Power Management
|
|
obj-$(CONFIG_CPU_FREQ) += cpufreq.o
|
|
obj-$(CONFIG_CPU_IDLE) += cpuidle.o
|
|
obj-$(CONFIG_SUSPEND) += pm.o sleep.o
|