linux/arch/arm/mach-omap2
Tero Kristo 2811d6b323 OMAP: PM debug: Add PRCM register dump support
Allows dumping out current register contents from the debug filesystem, and
also allows user to add arbitrary register save points into code. Current
register contents are available under debugfs at:

[debugfs]/pm_debug/registers/current

To add a save point, do following:

From module init (or somewhere before the save call, called only once):
  pm_dbg_init_regset(n); // n=1..4, allocates memory for dump area #n

From arbitrary code location:
  pm_dbg_regset_save(n); // n=1..4, saves registers to dump area #n

After this, the register dump can be seen under [debugfs]/pm_debug/registers/n

Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
2009-09-02 15:08:25 -07:00
..
board-2430sdp.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-3430sdp.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-4430sdp.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-apollon.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-generic.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-h4.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-ldp.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-n8x0.c OMAP2: add board file for Nokia N800 and N810 2009-08-28 10:51:38 -07:00
board-omap3beagle.c OMAP3: beagle: add missing twl4030 usb platform_data 2009-08-28 11:24:15 -07:00
board-omap3evm.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-omap3pandora.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-overo.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-rx51-peripherals.c OMAP3: RX51: Define TWL4030 USB transceiver in board file 2009-08-10 14:49:51 +03:00
board-rx51.c OMAP: UART: drop OMAP_TAG_UART, enable all UARTs, auto-disabled on idle 2009-08-28 10:51:31 -07:00
board-zoom2.c OMAP3: Zoom2: Add TWL4030 support 2009-08-28 11:24:13 -07:00
board-zoom-debugboard.c OMAP2/3: Pass irqflags to 8250 driver 2009-08-28 11:24:08 -07:00
clock24xx.c OMAP2 clock: 2430 I2CHS uses non-standard CM_IDLEST register 2009-07-24 20:10:36 -06:00
clock24xx.h OMAP2 clock: 2430 I2CHS uses non-standard CM_IDLEST register 2009-07-24 20:10:36 -06:00
clock34xx.c OMAP3 clock: correct module IDLEST bits: SSI; DSS; USBHOST; HSOTGUSB 2009-07-24 20:10:36 -06:00
clock34xx.h OMAP3 clock: correct module IDLEST bits: SSI; DSS; USBHOST; HSOTGUSB 2009-07-24 20:10:36 -06:00
clock.c OMAP: PM: Hook into PM counters 2009-09-02 15:08:23 -07:00
clock.h OMAP2/3 clock: split, rename omap2_wait_clock_ready() 2009-07-24 20:10:35 -06:00
clockdomain.c OMAP: PM: Add closures to clkdm_for_each and pwrdm_for_each. 2009-09-02 15:08:23 -07:00
clockdomains.h OMAP3: PM: D2D clockdomain supports SW supervised transitions 2009-05-28 10:59:08 -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.h OMAP: Remove OMAP_IO_ADDRESS, use OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS instead 2009-08-28 10:50:33 -07:00
control.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
devices.c OMAP3: MMC: Add mux for pins 2009-08-28 11:24:11 -07:00
gpmc-onenand.c OMAP2/3: gpmc-onenand: correct use of async timings 2009-06-23 13:30:24 +03:00
gpmc-smc91x.c ARM: OMAP2/3: Add generic smc91x support when connected to GPMC 2009-05-28 13:23:52 -07:00
gpmc.c ARM: OMAP4: Add minimal support for omap4 2009-05-28 14:16:04 -07:00
id.c OMAP2/3: Add omap_type() for determining GP/EMU/HS 2009-06-23 13:30:23 +03:00
io.c OMAP3 SDRC: add support for 2 SDRAM chip selects 2009-07-24 19:43:25 -06:00
iommu2.c OMAP: iommu: add initial debugfs support 2009-08-28 10:54:41 -07:00
irq.c OMAP: Add new function to check wether there is irq pending 2009-05-28 10:59:04 -07:00
Kconfig OMAP2: add board file for Nokia N800 and N810 2009-08-28 10:51:38 -07:00
mailbox.c OMAP2/3: omap mailbox: platform_get_irq() error ignored 2009-06-23 13:30:22 +03:00
Makefile OMAP2: add board file for Nokia N800 and N810 2009-08-28 10:51:38 -07:00
Makefile.boot
mcbsp.c ARM: includecheck fix: mach-omap2/mcbsp.c 2009-07-25 17:08:23 +01:00
mmc-twl4030.c OMAP2/3: mmc-twl4030: Free up MMC regulators while cleaning up 2009-08-10 14:49:51 +03:00
mmc-twl4030.h ARM: OMAP3: mmc-twl4030 uses regulator framework 2009-05-28 14:04:03 -07:00
mux.c OMAP3: MMC: Add mux for pins 2009-08-28 11:24:11 -07:00
omap3-iommu.c omap iommu: add MPU_BRIDGE_IOMMU for tidspbridge migration 2009-05-22 10:17:02 +03:00
omap-headsmp.S ARM: OMAP4: SMP: Add OMAP4430 SMP board files 2009-06-09 13:03:50 +05:30
omap-smp.c OMAP: Remove OMAP_IO_ADDRESS, use OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS instead 2009-08-28 10:50:33 -07:00
pm24xx.c OMAP: PM: Add closures to clkdm_for_each and pwrdm_for_each. 2009-09-02 15:08:23 -07:00
pm34xx.c OMAP: PM: Add closures to clkdm_for_each and pwrdm_for_each. 2009-09-02 15:08:23 -07:00
pm-debug.c OMAP: PM debug: Add PRCM register dump support 2009-09-02 15:08:25 -07:00
pm.h OMAP: PM debug: Add PRCM register dump support 2009-09-02 15:08:25 -07:00
powerdomain.c OMAP: PM debug: make powerdomains use PM-debug counters 2009-09-02 15:08:24 -07:00
powerdomains24xx.h ARM: OMAP2: Powerdomain: Add OMAP2 powerdomains 2008-08-19 11:08:42 +03:00
powerdomains34xx.h [ARM] OMAP3 powerdomains: make USBTLL SAR only available on ES3.1 and beyond 2009-02-23 14:52:51 +00:00
powerdomains.h [ARM] OMAP3 powerdomains: make USBTLL SAR only available on ES3.1 and beyond 2009-02-23 14:52:51 +00:00
prcm-common.h OMAP2/3: PM: push core PM code from linux-omap 2009-05-28 10:58:50 -07:00
prcm.c OMAP2/3 clock: split, rename omap2_wait_clock_ready() 2009-07-24 20:10:35 -06:00
prm-regbits-24xx.h ARM: OMAP2: Powerdomain: Add OMAP2 powerdomains 2008-08-19 11:08:42 +03:00
prm-regbits-34xx.h ARM: OMAP3: Fix HW SAVEANDRESTORE shift define 2009-05-16 08:28:17 -07:00
prm.h OMAP: Remove OMAP_IO_ADDRESS, use OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS instead 2009-08-28 10:50:33 -07:00
sdram-micron-mt46h32m32lf-6.h ARM: OMAP3: SDRC: add timing data for Micron MT46H32M32LF-6, v2 2009-05-28 14:03:59 -07:00
sdram-qimonda-hyb18m512160af-6.h ARM: OMAP3: SDRC: add timing data for Qimonda HYB18M512160AF-6 2009-05-28 14:03:59 -07:00
sdrc2xxx.c ARM: OMAP2/3: Remove OMAP_PRM_REGADDR and OMAP2_PRM_BASE 2009-05-25 11:26:42 -07:00
sdrc.c OMAP2/3 SDRC: don't set SDRC_POWER.PWDENA on boot 2009-07-24 19:44:01 -06:00
sdrc.h OMAP: Remove OMAP_IO_ADDRESS, use OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS instead 2009-08-28 10:50:33 -07:00
serial.c OMAP2/3: Pass irqflags to 8250 driver 2009-08-28 11:24:08 -07:00
sleep24xx.S OMAP2/3: PM: push core PM code from linux-omap 2009-05-28 10:58:50 -07:00
sleep34xx.S OMAP2/3: PM: push core PM code from linux-omap 2009-05-28 10:58:50 -07:00
sram34xx.S OMAP3 SDRC: Move the clk stabilization delay to the right place 2009-07-24 20:10:35 -06:00
sram242x.S OMAP: Remove OMAP_IO_ADDRESS, use OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS instead 2009-08-28 10:50:33 -07:00
sram243x.S OMAP: Remove OMAP_IO_ADDRESS, use OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS instead 2009-08-28 10:50:33 -07:00
timer-gp.c OMAP: Remove OMAP_IO_ADDRESS, use OMAP1_IO_ADDRESS and OMAP2_IO_ADDRESS instead 2009-08-28 10:50:33 -07:00
timer-mpu.c ARM: OMAP4: SMP: Add mpu timer support for OMAP4430 2009-06-09 13:03:59 +05:30
usb-musb.c USB: musb: fix the nop registration for OMAP3EVM 2009-08-07 16:05:13 -07:00
usb-tusb6010.c ARM: OMAP2: Fix tusb6010 init error and compilation warning 2009-05-12 11:20:02 -07:00