android_kernel_xiaomi_sm8350/arch/arm/mach-tegra
Colin Cross c2f44a9df9 ARM: tegra: clock: Fix clock issues in suspend
The PLLP registers are now being restored by the low-level resume code,
and the CPU may be running off PLLP, so don't touch them during clock
resume.

Save plld, plls, pllu, and audio clock during suspend (originally
fixed by Mayuresh Kulkarni <mkulkarni@nvidia.com>)

The lock time for plld is 1000 us, so increase the delay after
setting the PLLs.

Add a BUG_ON to ensure the size of the suspend context area is
correct.

Acked-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Colin Cross <ccross@android.com>
2011-02-21 00:16:47 -08:00
..
include/mach ARM: tegra: clock: Add function to set SDMMC tap delay 2011-02-21 00:16:47 -08:00
board-harmony-pcie.c tegra: harmony: enable PCI Express 2010-10-21 18:13:10 -07:00
board-harmony-pinmux.c [ARM] tegra: harmony: Add harmony board file 2010-08-05 14:57:02 -07:00
board-harmony.c arm: remove machine_desc.io_pg_offst and .phys_io 2010-10-20 00:27:46 -04:00
board-harmony.h [ARM] tegra: harmony: Add harmony board file 2010-08-05 14:57:02 -07:00
board-trimslice-pinmux.c ARM: tegra: add TrimSlice board 2011-02-10 18:36:51 -08:00
board-trimslice.c ARM: tegra: add TrimSlice board 2011-02-10 18:36:51 -08:00
board-trimslice.h ARM: tegra: add TrimSlice board 2011-02-10 18:36:51 -08:00
board.h ARM: tegra: Allow overriding arch_reset 2011-02-10 17:50:41 -08:00
clock.c ARM: tegra: clock: Add function to set SDMMC tap delay 2011-02-21 00:16:47 -08:00
clock.h ARM: tegra: clock: Add function to set SDMMC tap delay 2011-02-21 00:16:47 -08:00
common.c ARM: tegra: Fix hang on reboot 2011-02-20 20:04:16 -08:00
cpu-tegra.c ARM: tegra: cpufreq: Adjust memory frequency with cpu frequency 2011-02-21 00:16:46 -08:00
dma.c ARM: tegra: APB DMA: Enable clock and remove reset. 2011-02-20 20:04:15 -08:00
fuse.c [ARM] tegra: Add support for reading fuses 2010-10-21 18:12:09 -07:00
fuse.h [ARM] tegra: Add support for reading fuses 2010-10-21 18:12:09 -07:00
gpio-names.h [ARM] tegra: add GPIO support 2010-08-05 14:57:02 -07:00
gpio.c ARM: tegra: Add prototypes for subsystem suspend functions 2011-02-09 21:57:01 -08:00
headsmp.S [ARM] tegra: SMP support 2010-08-05 14:57:01 -07:00
hotplug.c ARM: fix wrongly patched constants 2011-01-14 12:06:26 +00:00
io.c [ARM] tegra: update iomap 2010-10-21 18:11:24 -07:00
irq.c ARM: tegra: irq: Implement retrigger 2011-02-09 22:18:30 -08:00
Kconfig ARM: tegra: Add external memory controller driver 2011-02-21 00:16:45 -08:00
legacy_irq.c ARM: tegra: irq: Add support for suspend wake sources 2011-02-09 22:18:21 -08:00
localtimer.c [ARM] tegra: SMP support 2010-08-05 14:57:01 -07:00
Makefile ARM: tegra: Add external memory controller driver 2011-02-21 00:16:45 -08:00
Makefile.boot
pcie.c tegra: add PCI Express support 2010-10-21 18:13:02 -07:00
pinmux-t2-tables.c ARM: tegra: pinmux: Add missing drive pingroups and fix suspend 2011-02-09 21:57:02 -08:00
pinmux.c [ARM] tegra: pinmux: add safe values, move tegra2, add suspend 2010-10-21 18:11:41 -07:00
platsmp.c Merge branch 'misc' into devel 2011-01-06 22:32:52 +00:00
powergate.c ARM: tegra: Add api to control internal powergating 2011-02-09 21:57:00 -08:00
tegra2_clocks.c ARM: tegra: clock: Fix clock issues in suspend 2011-02-21 00:16:47 -08:00
tegra2_emc.c ARM: tegra: Add external memory controller driver 2011-02-21 00:16:45 -08:00
tegra2_emc.h ARM: tegra: Add external memory controller driver 2011-02-21 00:16:45 -08:00
timer.c ARM: tegra: timer: Add idle and suspend support to timers 2011-02-09 22:17:38 -08:00