linux_old1/arch/arm/mach-omap2
Paul Walmsley 734f69a773 OMAP2xxx clock: move the DVFS virtual clock code into mach-omap2/clkt2xxx_virt_prcm_set.c
Move the DVFS virtual clock functions from clock2xxx.c to
mach-omap2/clkt2xxx_virt_prcm_set.c.  This is intended to make the
clock code easier to understand, since all of the functions needed to
manage the virt_prcm_set clock are now located in their own file,
rather than being mixed with other, unrelated functions.

Clock debugging is also now more finely-grained, since the DEBUG macro
can now be defined for the virt_prcm_set clock alone.  This should
reduce unnecessary console noise when debugging.

Also, if at some future point the mach-omap2/ directory is split into
OMAP2/3/4 variants, this clkt file can be placed in the mach-omap2xxx/
directory, rather than shared with other chip types that don't use
this clock type.

Thanks to Alexander Shishkin <virtuoso@slind.org> for his comments.
Thanks also to Kevin Hilman <khilman@deeprootsystems.com> for finding
and fixing a bug with the CONFIG_CPU_FREQ portion of this patch.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Richard Woodruff <r-woodruff2@ti.com>
Cc: Alexander Shishkin <virtuoso@slind.org>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
2010-01-26 20:13:06 -07:00
..
include/mach omap3: zoom: rename zoom2 name to generic zoom 2009-11-22 10:24:33 -08:00
Kconfig omap3: EVM: Choose OMAP_PACKAGE_CBB 2010-01-08 10:29:08 -08:00
Makefile OMAP2xxx clock: move the DVFS virtual clock code into mach-omap2/clkt2xxx_virt_prcm_set.c 2010-01-26 20:13:06 -07:00
Makefile.boot [ARM] 3145/1: OMAP 3a/5: Add support for omap24xx 2005-11-10 14:26:51 +00:00
board-2430sdp.c mfd: Rename twl4030* driver files to enable re-use 2009-12-13 20:05:51 +01:00
board-3430sdp.c mfd: Rename twl4030* driver files to enable re-use 2009-12-13 20:05:51 +01:00
board-3630sdp.c omap: mux: Add 36xx CBP package support 2009-12-11 16:16:33 -08:00
board-4430sdp.c Merge branch '7xx-iosplit-plat' with omap-fixes 2009-11-10 18:10:34 -08:00
board-am3517evm.c omap: mux: Add new style init functions to omap3 board-*.c files 2009-12-11 16:16:32 -08:00
board-apollon.c omap: use smc91x_platdata to setup smc91x 2009-12-11 16:16:33 -08:00
board-cm-t35.c mfd: twl: fix twl4030 rename for remaining driver, board files 2009-12-16 12:44:04 -08:00
board-generic.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
board-h4.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
board-igep0020.c mfd: twl: fix twl4030 rename for remaining driver, board files 2009-12-16 12:44:04 -08:00
board-ldp.c mfd: Rename twl4030* driver files to enable re-use 2009-12-13 20:05:51 +01:00
board-n8x0.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
board-omap3beagle.c mfd: Rename twl4030* driver files to enable re-use 2009-12-13 20:05:51 +01:00
board-omap3evm.c mfd: twl: fix twl4030 rename for remaining driver, board files 2009-12-16 12:44:04 -08:00
board-omap3pandora.c mfd: Rename twl4030* driver files to enable re-use 2009-12-13 20:05:51 +01:00
board-omap3touchbook.c mfd: twl: fix twl4030 rename for remaining driver, board files 2009-12-16 12:44:04 -08:00
board-overo.c mfd: Rename twl4030* driver files to enable re-use 2009-12-13 20:05:51 +01:00
board-rx51-peripherals.c mfd: twl: fix twl4030 rename for remaining driver, board files 2009-12-16 12:44:04 -08:00
board-rx51-sdram.c omap3: rx51: Add SDRAM init 2009-11-22 10:24:33 -08:00
board-rx51.c omap: mux: Remove old mux code for 34xx 2009-12-11 16:16:33 -08:00
board-zoom-debugboard.c omap3: zoom: rename zoom2 name to generic zoom 2009-11-22 10:24:33 -08:00
board-zoom-peripherals.c omap2/3: ZOOM: Correcting key mapping for few keys 2010-01-08 10:29:07 -08:00
board-zoom2.c omap: mux: Add new style init functions to omap3 board-*.c files 2009-12-11 16:16:32 -08:00
board-zoom3.c omap: mux: Add 36xx CBP package support 2009-12-11 16:16:33 -08:00
clkt2xxx_dpllcore.c OMAP2xxx clock: move the DPLL+CORE composite clock code into mach-omap2/clkt2xxx_dpllcore.c 2010-01-26 20:13:06 -07:00
clkt2xxx_virt_prcm_set.c OMAP2xxx clock: move the DVFS virtual clock code into mach-omap2/clkt2xxx_virt_prcm_set.c 2010-01-26 20:13:06 -07:00
clkt_clksel.c OMAP2/3/4 clock: move clksel clock functions into mach-omap2/clkt_clksel.c 2010-01-26 20:13:04 -07:00
clkt_dpll.c OMAP2/3/4 clock: move DPLL clock functions into mach-omap2/clkt_dpll.c 2010-01-26 20:13:03 -07:00
clock.c OMAP2/3/4 clock: combine all omap2_clk_functions 2010-01-26 20:13:04 -07:00
clock.h OMAP2/3/4 clock: combine all omap2_clk_functions 2010-01-26 20:13:04 -07:00
clock2xxx.c OMAP2xxx clock: move the DVFS virtual clock code into mach-omap2/clkt2xxx_virt_prcm_set.c 2010-01-26 20:13:06 -07:00
clock2xxx.h OMAP2 clock: convert clock24xx.h to clock2xxx_data.c, opp2xxx* 2009-12-11 16:16:00 -07:00
clock2xxx_data.c OMAP clock: make the fixed divisor clock code available for all OMAPs 2010-01-26 20:12:57 -07:00
clock34xx.c OMAP2/3/4 clock: combine all omap2_clk_functions 2010-01-26 20:13:04 -07:00
clock34xx.h ARM: OMAP4: PM: Move DPLL control apis to dpll.c 2009-12-11 17:00:46 -07:00
clock34xx_data.c OMAP clock: make the fixed divisor clock code available for all OMAPs 2010-01-26 20:12:57 -07:00
clock44xx.c OMAP2/3/4 clock: combine all omap2_clk_functions 2010-01-26 20:13:04 -07:00
clock44xx.h ARM: OMAP4: PM: Move DPLL control apis to dpll.c 2009-12-11 17:00:46 -07:00
clock44xx_data.c ARM: OMAP4 clock framework: Remove the checks preventing OMAP4 clockdomain validation 2010-01-26 20:12:58 -07:00
clock_common_data.c OMAP3 clock: convert clock34xx.h to clock34xx_data.c 2009-12-11 16:12:15 -07:00
clockdomain.c OMAP clockdomain/powerdomain: improve documentation 2010-01-26 20:13:02 -07:00
clockdomains.h OMAP2 clockdomain: modem clockdomain is only present on OMAP2430 2010-01-26 20:12:59 -07:00
clockdomains44xx.h ARM: OMAP4 clock domains : Add the missing Clock Domain Structure 2010-01-26 20:12:58 -07: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 OMAP3: PM: Add D2D clocks and auto-idle setup to PRCM init 2009-05-28 10:59:07 -07:00
cm-regbits-44xx.h ARM: OMAP4: PM: Adds CM1/2 register field masks 2009-12-11 17:00:45 -07:00
cm.c OMAP clock/hwmod: fix off-by-one errors 2009-12-11 17:00:43 -07:00
cm.h ARM: OMAP4: PM: Make OMAP3 Clock-domain framework compatible for OMAP4. 2010-01-26 20:12:53 -07:00
cm4xxx.c omap: Fix 44xx compile 2009-09-24 16:23:07 -07:00
cm44xx.h ARM: OMAP4: PM: Adds CM1/2 register defs for OMAP4 2009-12-11 17:00:45 -07:00
control.c OMAP3: PM: Program SDRC to send self refresh on timeout of AUTO_CNT 2009-11-11 14:42:28 -08:00
cpuidle34xx.c OMAP3: CPUidle: Fixed timer resolution 2010-01-20 18:16:02 -08:00
devices.c omap: mux: Replace omap_cfg_reg() with new style signal or gpio functions 2009-12-11 16:16:32 -08:00
dpll3xxx.c OMAP3 clock: move OMAP3-specific DPLL functions to dpll3xxx.c 2010-01-26 20:13:03 -07:00
emu.c ARM: 5843/1: OMAP3: add AMBA devices for ETM and ETB 2009-12-02 10:25:23 +00:00
gpmc-onenand.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
gpmc-smc91x.c omap: use smc91x_platdata to setup smc91x 2009-12-11 16:16:33 -08:00
gpmc.c omap: Enable GPMC clock in gpmc_init 2010-01-20 17:25:31 -08:00
i2c.c omap: Split i2c platform init for mach-omap1 and mach-omap2 2009-12-11 16:16:32 -08:00
id.c ARM: OMAP4: PM: OMAP4 essential basic initialisations. 2010-01-26 20:12:51 -07:00
io.c OMAP2/3 clkdm/pwrdm: move wkdep/sleepdep handling from pwrdm to clkdm 2010-01-26 20:12:59 -07:00
iommu2.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
irq.c OMAP3: PM: Disable interrupt controller AUTOIDLE before WFI 2010-01-20 18:16:00 -08:00
mailbox.c omap: mailbox: Adds code changes to support OMAP4 mailbox 2009-11-22 10:24:33 -08:00
mcbsp.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
mmc-twl4030.c omap3630: Set omap3630 MMC1 I/O speed to 52Mhz 2009-11-22 10:24:32 -08:00
mmc-twl4030.h omap_hsmmc: support for deeper power saving states 2009-09-23 07:39:35 -07:00
mux.c omap: Fix functions for dynamic remuxing of pins 2010-01-19 18:17:35 -08:00
mux.h omap: Fix functions for dynamic remuxing of pins 2010-01-19 18:17:35 -08:00
mux34xx.c omap: mux: Add 36xx CBP package support 2009-12-11 16:16:33 -08:00
mux34xx.h omap: mux: Add 36xx CBP package support 2009-12-11 16:16:33 -08:00
omap-headsmp.S OMAP4: AuxCoreBoot registers only accessible in secure mode 2009-12-11 16:16:35 -08:00
omap-smp.c OMAP4: Remove the secondary wait loop 2009-12-11 16:16:35 -08:00
omap3-iommu.c omap: iommu: reorganize 2009-11-22 10:24:32 -08:00
omap_hwmod.c OMAP: hwmod: add API for slave idlemode setting 2010-01-26 20:13:03 -07:00
omap_hwmod_34xx.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
omap_hwmod_2420.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
omap_hwmod_2430.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
opp2xxx.h OMAP2 clock: convert clock24xx.h to clock2xxx_data.c, opp2xxx* 2009-12-11 16:16:00 -07:00
opp2420_data.c OMAP2xxx OPP: clean up comments in OPP data 2010-01-08 15:23:15 -07:00
opp2430_data.c OMAP2xxx OPP: clean up comments in OPP data 2010-01-08 15:23:15 -07:00
pm-debug.c OMAP clockdomain/powerdomain: remove runtime register/unregister 2010-01-26 20:13:00 -07:00
pm.h OMAP3: PM debug: fix build error when !CONFIG_DEBUG_FS 2010-01-20 18:16:05 -08:00
pm24xx.c OMAP clockdomains: add usecounting for wakeup and sleep dependencies 2010-01-26 20:13:01 -07:00
pm34xx.c OMAP clockdomains: add usecounting for wakeup and sleep dependencies 2010-01-26 20:13:01 -07:00
powerdomain.c OMAP clockdomain/powerdomain: improve documentation 2010-01-26 20:13:02 -07:00
powerdomains.h OMAP2/3 clkdm/pwrdm: move wkdep/sleepdep handling from pwrdm to clkdm 2010-01-26 20:12:59 -07:00
powerdomains24xx.h OMAP2/3 clkdm/pwrdm: move wkdep/sleepdep handling from pwrdm to clkdm 2010-01-26 20:12:59 -07:00
powerdomains34xx.h OMAP2/3 clkdm/pwrdm: move wkdep/sleepdep handling from pwrdm to clkdm 2010-01-26 20:12:59 -07:00
powerdomains44xx.h ARM: OMAP4: PM: Add the Autogenerated OMAP4 specific power domain framework. 2010-01-26 20:12:52 -07:00
prcm-common.h ARM: OMAP4: PM: OMAP4 Power Domain Porting Related Clean-up. 2010-01-26 20:12:51 -07:00
prcm.c OMAP2/3 clkdm/pwrdm: move wkdep/sleepdep handling from pwrdm to clkdm 2010-01-26 20:12:59 -07:00
prm-regbits-24xx.h ARM: OMAP2: Powerdomain: Add OMAP2 powerdomains 2008-08-19 11:08:42 +03:00
prm-regbits-34xx.h OMAP3: PM: Enable IO-CHAIN wakeup 2009-11-11 14:42:28 -08:00
prm-regbits-44xx.h ARM: OMAP4: PM: Adds PRM register shift and mask bits 2009-12-11 17:00:45 -07:00
prm.h ARM: OMAP4: PM: OMAP4 Power Domain Porting Related Clean-up. 2010-01-26 20:12:51 -07:00
prm44xx.h OMAP4: PRCM: Fix the base address for CHIRONSS reg defines 2010-01-20 13:35:27 -07:00
sdram-hynix-h8mbx00u0mer-0em.h omap3: zoom: Introduce zoom3 board support 2009-11-22 10:24:33 -08:00
sdram-micron-mt46h32m32lf-6.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
sdram-qimonda-hyb18m512160af-6.h omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
sdrc.c OMAP2: Add funcs for writing SMS_ROT_* registers 2009-12-09 11:44:32 +02:00
sdrc.h OMAP2 clock: convert clock24xx.h to clock2xxx_data.c, opp2xxx* 2009-12-11 16:16:00 -07:00
sdrc2xxx.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
serial.c omap2/3: make serial_in_override() address the right uart port 2010-01-08 10:29:06 -08:00
sleep24xx.S omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
sleep34xx.S ARM: OMAP4: PM: OMAP4 Power Domain Porting Related Clean-up. 2010-01-26 20:12:51 -07:00
sram34xx.S OMAP3: SDRC: Place SDRC AC timing and MR changes in CORE DVFS SRAM code behind Kconfig 2009-12-11 17:00:42 -07:00
sram242x.S omap: Split OMAP2_IO_ADDRESS to L3 and L4 2009-10-19 15:25:31 -07:00
sram243x.S omap: Split OMAP2_IO_ADDRESS to L3 and L4 2009-10-19 15:25:31 -07:00
timer-gp.c PM debug: allow configurable wakeup from suspend on OMAP GPtimer 2009-11-11 14:42:28 -08:00
timer-mpu.c ARM: OMAP4: SMP: Add mpu timer support for OMAP4430 2009-06-09 13:03:59 +05:30
usb-ehci.c omap: mux: Replace omap_cfg_reg() with new style signal or gpio functions 2009-12-11 16:16:32 -08:00
usb-musb.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00
usb-tusb6010.c omap: headers: Move remaining headers from include/mach to include/plat 2009-10-20 09:40:47 -07:00