android_kernel_xiaomi_sm8350/arch/arm/mach-omap2
Paul Walmsley 0eafd4725c [ARM] OMAP3 clock: add omap3_core_dpll_m2_set_rate()
Add the omap3_core_dpll_m2_set_rate() function to the OMAP3 clock code,
which calls into the SRAM function omap3_sram_configure_core_dpll() to
change the CORE DPLL M2 divider.  (SRAM code is necessary since rate changes
on clocks upstream from the SDRC can glitch SDRAM accesses.)

Use this function for the set_rate function pointer in the dpll3_m2_ck
struct clk.  With this function in place, PM/OPP code should be able to
alter SDRAM speed via code similar to:

      clk_set_rate(&dpll3_m2_ck, target_rate).

linux-omap source commit is 7f8b2b0f4fe52238c67d79dedcd2794dcef4dddd.

Signed-off-by: Paul Walmsley <paul@pwsan.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:40 +00:00
..
board-2430sdp.c [ARM] OMAP2 SDRC: add SDRAM timing parameter infrastructure 2009-02-08 17:50:39 +00:00
board-apollon.c [ARM] OMAP2 SDRC: add SDRAM timing parameter infrastructure 2009-02-08 17:50:39 +00:00
board-generic.c [ARM] OMAP2 SDRC: add SDRAM timing parameter infrastructure 2009-02-08 17:50:39 +00:00
board-h4.c [ARM] OMAP2 SDRC: add SDRAM timing parameter infrastructure 2009-02-08 17:50:39 +00:00
board-ldp.c [ARM] OMAP2 SDRC: add SDRAM timing parameter infrastructure 2009-02-08 17:50:39 +00:00
board-omap3beagle.c [ARM] OMAP2 SDRC: add SDRAM timing parameter infrastructure 2009-02-08 17:50:39 +00: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 SDRC: separate common OMAP2/3 code from OMAP2xxx code 2009-02-08 17:50:39 +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: add omap3_core_dpll_m2_set_rate() 2009-02-08 17:50:40 +00:00
clock34xx.h [ARM] OMAP3 clock: add omap3_core_dpll_m2_set_rate() 2009-02-08 17:50:40 +00:00
clock.c [ARM] OMAP2 SDRC: move mach-omap2/memory.h into mach/sdrc.h 2009-02-08 17:50:38 +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 [ARM] OMAP2 PRCM: clean up CM_IDLEST bits 2009-02-08 17:50:37 +00:00
cm-regbits-34xx.h [ARM] OMAP2 PRCM: clean up CM_IDLEST bits 2009-02-08 17:50:37 +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 ARM: OMAP: Fix compiler warnings in gpmc.c 2008-11-04 13:35:06 -08:00
id.c ARM: OMAP: Fix omap34xx revision detection for ES3.1 2009-01-29 08:57:16 -08:00
io.c [ARM] OMAP2 SDRC: add SDRAM timing parameter infrastructure 2009-02-08 17:50:39 +00:00
irq.c ARM: OMAP: Mask interrupts when disabling interrupts, v2 2009-01-29 09:27:00 -08:00
Kconfig ARM: OMAP3: Add basic support for Pandora handheld console 2008-12-10 17:36:54 -08:00
mailbox.c
Makefile [ARM] OMAP2 SDRC: separate common OMAP2/3 code from OMAP2xxx code 2009-02-08 17:50:39 +00:00
Makefile.boot
mcbsp.c [ARM] omap: mcbsp: convert to use fck/ick clocks directly 2009-02-08 17:50:19 +00:00
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 ARM: OMAP3: Pin multiplexing updates for 24xx and 34xx 2008-12-10 17:36:54 -08:00
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 [ARM] OMAP2 PRCM: clean up CM_IDLEST bits 2009-02-08 17:50:37 +00:00
prcm.c
prm-regbits-24xx.h
prm-regbits-34xx.h [ARM] OMAP34XX: Add miscellaneous definitions related to 34xx 2009-02-08 17:50:36 +00:00
prm.h [ARM] OMAP34XX: Add miscellaneous definitions related to 34xx 2009-02-08 17:50:36 +00:00
sdrc2xxx.c [ARM] OMAP2 SDRC: separate common OMAP2/3 code from OMAP2xxx code 2009-02-08 17:50:39 +00:00
sdrc.c [ARM] OMAP2 SDRC: add SDRAM timing parameter infrastructure 2009-02-08 17:50:39 +00:00
sdrc.h
serial.c Merge branch 'omap-all' into devel 2008-10-14 22:24:42 +01:00
sleep24xx.S ARM: OMAP: fix fault in enter_full_retention() 2009-01-29 09:27:00 -08:00
sram34xx.S ARM: OMAP3: Add minimal omap3430 support 2008-10-09 17:51:41 +03:00
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 ARM: OMAP: Switch to gpio_request/free calls 2008-12-10 17:35:30 -08:00