android_kernel_xiaomi_sm8350/arch/arm/mach-omap2
Paul Walmsley 416db864c1 [ARM] OMAP3 clock: disable DPLL autoidle while waiting for DPLL to lock
During _omap3_noncore_dpll_lock(), if a DPLL has no active downstream
clocks and DPLL autoidle is enabled, the DPLL may never lock, since it
will enter autoidle immediately.  To resolve this, disable DPLL
autoidle while locking the DPLL, and unconditionally wait for the DPLL
to lock.  This fixes some bugs where the kernel would hang when returning
from retention or return the wrong rate for the DPLL.

This patch is a collaboration with Peter de Schrijver
<peter.de-schrijver@nokia.com> and Kevin Hilman
<khilman@deeprootsystems.com>.

linux-omap source commit is 3b7de4be879f1f4f55ae59882a5cbd80f6dcf0f0.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Peter de Schrijver <peter.de-schrijver@nokia.com>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-02-08 17:50:35 +00:00
..
board-2430sdp.c omap mmc: Add low-level initialization for hsmmc controller 2008-12-10 17:37:17 -08:00
board-apollon.c ARM: OMAP: Fix gpio by switching to generic gpio calls, v2 2009-01-15 13:09:52 +02:00
board-generic.c
board-h4.c
board-ldp.c ARM: OMAP: Fix gpio by switching to generic gpio calls, v2 2009-01-15 13:09:52 +02:00
board-omap3beagle.c ARM: OMAP: Fix compile for beagle 2009-01-15 13:09:53 +02:00
board-omap3pandora.c omap mmc: Add low-level initialization for hsmmc controller 2008-12-10 17:37:17 -08:00
board-overo.c omap mmc: Add low-level initialization for hsmmc controller 2008-12-10 17:37:17 -08:00
clock24xx.c [ARM] OMAP2: Implement CPUfreq frequency table based on PRCM table 2009-02-08 17:50:28 +00:00
clock24xx.h [ARM] OMAP3 clock: avoid invalid FREQSEL values during DPLL rate rounding 2009-02-08 17:50:35 +00:00
clock34xx.c [ARM] OMAP3 clock: disable DPLL autoidle while waiting for DPLL to lock 2009-02-08 17:50:35 +00:00
clock34xx.h [ARM] OMAP3 clock: avoid invalid FREQSEL values during DPLL rate rounding 2009-02-08 17:50:35 +00:00
clock.c [ARM] OMAP3 clock: avoid invalid FREQSEL values during DPLL rate rounding 2009-02-08 17:50:35 +00:00
clock.h [ARM] OMAP: Fix sparse, checkpatch warnings in OMAP2/3 PRCM/PM code 2009-02-08 17:50:24 +00:00
clockdomain.c [ARM] OMAP2/3 clockdomains: autodeps should respect platform flags 2009-02-08 17:50:31 +00:00
clockdomains.h [ARM] OMAP3: PM: Emu_pwrdm is switched off by hardware even when sdti is in use 2009-02-08 17:50:32 +00:00
cm-regbits-24xx.h
cm-regbits-34xx.h [ARM] OMAP: Add CSI2 clock struct for handling it with clock API 2009-02-08 17:50:27 +00:00
cm.h
control.c
devices.c [ARM] omap: hsmmc: new short connection id names 2009-02-08 17:50:23 +00:00
gpmc.c
id.c ARM: OMAP: Fix omap34xx revision detection for ES3.1 2009-01-29 08:57:16 -08:00
io.c
irq.c ARM: OMAP: Mask interrupts when disabling interrupts, v2 2009-01-29 09:27:00 -08:00
Kconfig
mailbox.c
Makefile omap mmc: Add low-level initialization for hsmmc controller 2008-12-10 17:37:17 -08:00
Makefile.boot
mcbsp.c [ARM] omap: mcbsp: convert to use fck/ick clocks directly 2009-02-08 17:50:19 +00:00
memory.c
memory.h
mmc-twl4030.c omap mmc: Add low-level initialization for hsmmc controller 2008-12-10 17:37:17 -08:00
mmc-twl4030.h omap mmc: Add low-level initialization for hsmmc controller 2008-12-10 17:37:17 -08:00
mux.c
pm.c [ARM] OMAP: Fix sparse, checkpatch warnings in OMAP2/3 PRCM/PM code 2009-02-08 17:50:24 +00:00
powerdomain.c
powerdomains24xx.h
powerdomains34xx.h [ARM] OMAP3 powerdomains: remove RET from SGX power states list 2009-02-08 17:50:30 +00:00
powerdomains.h [ARM] OMAP3 PRCM: add DPLL1-5 powerdomains, clockdomains; mark clocks 2009-02-08 17:50:30 +00:00
prcm-common.h
prcm.c
prm-regbits-24xx.h
prm-regbits-34xx.h
prm.h
sdrc.h
serial.c
sleep24xx.S ARM: OMAP: fix fault in enter_full_retention() 2009-01-29 09:27:00 -08:00
sram34xx.S
sram242x.S
sram243x.S
timer-gp.c ARM: OMAP: gptimer min_delta_ns corrected 2009-01-29 09:27:00 -08:00
usb-tusb6010.c