summaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Expand)AuthorAgeFilesLines
* [PATCH] Add entry.S labels to tag fileAneesh Kumar K.V2006-10-171-1/+2
* Linux 2.6.19-rc2Linus Torvalds2006-10-131-1/+1
* [PATCH] Fix headers_check for O= builds; disable automatic check on UML.David Woodhouse2006-10-131-2/+2
* [PATCH] Add CONFIG_HEADERS_CHECK option to automatically run 'make headers_ch...David Woodhouse2006-10-111-0/+3
* Linux 2.6.19-rc1Linus Torvalds2006-10-051-2/+2
* [PATCH] Fix spurious error on TAGS target when missing defconfigDavid Gibson2006-10-041-2/+2
* [PATCH] uml: add checkstack supportJeff Dike2006-09-271-1/+5
* Don't remove $(INSTALL_HDR_PATH)/install before headers_install.David Woodhouse2006-09-251-1/+0Star
* Merge git://git.infradead.org/~dwmw2/khdrs-2.6Linus Torvalds2006-09-241-2/+18
|\
| * New 'make headers_install_all' target.David Woodhouse2006-09-241-0/+9
| * Use dependencies for 'make headers_install'.David Woodhouse2006-09-241-1/+0Star
| * Don't advertise (or allow) headers_{install,check} where inappropriate.David Woodhouse2006-09-211-2/+9
* | kbuild: add distclean info to 'make help' and more details for 'clean'Jesper Juhl2006-09-251-2/+3
* | kbuild: correct and clarify versioning info in MakefileRobert P. J. Day2006-09-251-5/+27
* | kbuild: Extend kbuild/defconfig tags support to exuberant ctagsAron Griffis2006-09-251-17/+27
* | kbuild: clarify "make C=" build optionRobert P. J. Day2006-09-251-3/+9
* | kbuild: update help in top level MakefileRobert P. J. Day2006-09-251-0/+1
* | kbuild: preperly align SYSMAP outputSam Ravnborg2006-09-251-11/+11
* | kbuild: make -rR is now defaultSam Ravnborg2006-09-251-7/+7
* | kbuild: make V=2 tell why a target is rebuildSam Ravnborg2006-09-251-0/+1
* | kbuild: modpost on vmlinux regardless of CONFIG_MODULESSam Ravnborg2006-09-251-0/+1
* | kbuild: use in-kernel unifdefSam Ravnborg2006-09-251-2/+2
|/
* Linux v2.6.18. Arrr!Linus Torvalds2006-09-201-2/+2
* [PATCH] Add headers_check' target to output of 'make help'David Woodhouse2006-09-191-0/+1
* [PATCH] headers_check: use a different default directoryDavid Woodhouse2006-09-161-3/+3
* Linux v2.6.18-rc7Linus Torvalds2006-09-131-1/+1
* Linux 2.6.18-rc6Linus Torvalds2006-09-041-1/+1
* Linux v2.6.18-rc5Linus Torvalds2006-08-281-1/+1
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-2.6.18Greg Kroah-Hartman2006-08-161-4/+4
|\
| * kbuild: correct assingment to CFLAGS with CROSS_COMPILESam Ravnborg2006-08-161-4/+4
* | Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-2.6.18Greg Kroah-Hartman2006-08-071-6/+18
|\|
| * kbuild: external modules shall not check config consistencySam Ravnborg2006-08-071-6/+18
* | Linux v2.6.18-rc4Linus Torvalds2006-08-061-1/+1
|/
* kbuild: -fno-stack-protector is not goodSam Ravnborg2006-08-011-2/+2
* kbuild: version.h and new headers_* targets does not require a kernel configSam Ravnborg2006-08-011-0/+1
* Linux v2.6.18-rc3Linus Torvalds2006-07-301-1/+1
* Linux 2.6.18-rc2Linus Torvalds2006-07-151-1/+1
* Linux 2.6.18-rc1Linus Torvalds2006-07-061-2/+2
* [PATCH] Makefile typoAndreas Schwab2006-07-051-1/+1
* Merge git://git.infradead.org/hdrinstall-2.6Linus Torvalds2006-07-041-0/+17
|\
| * Basic implementation of 'make headers_check'David Woodhouse2006-06-181-0/+4
| * Basic implementation of 'make headers_install'David Woodhouse2006-06-181-0/+13
* | kbuild: introduce utsrelease.hSam Ravnborg2006-07-031-12/+18
* | kbuild: explicit turn off gcc stack-protectorSam Ravnborg2006-07-021-0/+3
* | kbuild: documentation change on allowing checkers besides sparseDustin Kirkland2006-07-011-4/+5
* | kbuild: fix ia64 breakage after introducing make -rRSam Ravnborg2006-07-011-1/+1
* | Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuildLinus Torvalds2006-06-261-92/+121
|\ \
| * | kbuild: trivial fixes in MakefileSam Ravnborg2006-06-251-41/+41
| * | kbuild: adding symbols in Kconfig and defconfig to TAGSMasatake YAMATO2006-06-241-9/+25
| * | kbuild: support for %.symtypes filesAndreas Gruenbacher2006-06-241-1/+4
an> 13)); idle_cfg &= ~APMU_PJ_IDLE_CFG_PJ_IDLE; switch (state) { case POWER_MODE_SYS_SLEEP: apcr |= MPMU_PCR_PJ_SLPEN; /* set the SLPEN bit */ apcr |= MPMU_PCR_PJ_VCTCXOSD; /* set VCTCXOSD */ /* fall through */ case POWER_MODE_CHIP_SLEEP: apcr |= MPMU_PCR_PJ_SLPEN; /* fall through */ case POWER_MODE_APPS_SLEEP: apcr |= MPMU_PCR_PJ_APBSD; /* set APBSD */ /* fall through */ case POWER_MODE_APPS_IDLE: apcr |= MPMU_PCR_PJ_AXISD; /* set AXISDD bit */ apcr |= MPMU_PCR_PJ_DDRCORSD; /* set DDRCORSD bit */ idle_cfg |= APMU_PJ_IDLE_CFG_PJ_PWRDWN; /* PJ power down */ apcr |= MPMU_PCR_PJ_SPSD; /* fall through */ case POWER_MODE_CORE_EXTIDLE: idle_cfg |= APMU_PJ_IDLE_CFG_PJ_IDLE; /* set the IDLE bit */ idle_cfg &= ~APMU_PJ_IDLE_CFG_ISO_MODE_CNTRL_MASK; idle_cfg |= APMU_PJ_IDLE_CFG_PWR_SW(3) | APMU_PJ_IDLE_CFG_L2_PWR_SW; break; case POWER_MODE_CORE_INTIDLE: apcr &= ~MPMU_PCR_PJ_SPSD; break; } /* set reserve bits */ apcr |= (1 << 30) | (1 << 25); /* finally write the registers back */ __raw_writel(idle_cfg, APMU_PJ_IDLE_CFG); __raw_writel(apcr, MPMU_PCR_PJ); /* 0xfe086000 */ } static int mmp2_pm_enter(suspend_state_t state) { int temp; temp = __raw_readl(MMP2_ICU_INT4_MASK); if (temp & (1 << 1)) { printk(KERN_ERR "%s: PMIC interrupt is handling\n", __func__); return -EAGAIN; } temp = __raw_readl(APMU_SRAM_PWR_DWN); temp |= ((1 << 19) | (1 << 18)); __raw_writel(temp, APMU_SRAM_PWR_DWN); pm_mpmu_clk_disable(); pm_scu_clk_disable(); printk(KERN_INFO "%s: before suspend\n", __func__); cpu_do_idle(); printk(KERN_INFO "%s: after suspend\n", __func__); pm_mpmu_clk_enable(); /* enable clocks in MPMU */ pm_scu_clk_enable(); /* enable clocks in SCU */ return 0; } /* * Called after processes are frozen, but before we shut down devices. */ static int mmp2_pm_prepare(void) { mmp2_pm_enter_lowpower_mode(POWER_MODE_SYS_SLEEP); return 0; } /* * Called after devices are re-setup, but before processes are thawed. */ static void mmp2_pm_finish(void) { mmp2_pm_enter_lowpower_mode(POWER_MODE_CORE_INTIDLE); } static int mmp2_pm_valid(suspend_state_t state) { return ((state == PM_SUSPEND_STANDBY) || (state == PM_SUSPEND_MEM)); } /* * Set to PM_DISK_FIRMWARE so we can quickly veto suspend-to-disk. */ static const struct platform_suspend_ops mmp2_pm_ops = { .valid = mmp2_pm_valid, .prepare = mmp2_pm_prepare, .enter = mmp2_pm_enter, .finish = mmp2_pm_finish, }; static int __init mmp2_pm_init(void) { uint32_t apcr; if (!cpu_is_mmp2()) return -EIO; suspend_set_ops(&mmp2_pm_ops); /* * Set bit 0, Slow clock Select 32K clock input instead of VCXO * VCXO is chosen by default, which would be disabled in suspend */ __raw_writel(0x5, MPMU_SCCR); /* * Clear bit 23 of CIU_CPU_CONF * direct PJ4 to DDR access through Memory Controller slow queue * fast queue has issue and cause lcd will flick */ __raw_writel(__raw_readl(CIU_REG(0x8)) & ~(0x1 << 23), CIU_REG(0x8)); /* Clear default low power control bit */ apcr = __raw_readl(MPMU_PCR_PJ); apcr &= ~(MPMU_PCR_PJ_SLPEN | MPMU_PCR_PJ_DDRCORSD | MPMU_PCR_PJ_APBSD | MPMU_PCR_PJ_AXISD | 1 << 13); __raw_writel(apcr, MPMU_PCR_PJ); return 0; } late_initcall(mmp2_pm_init);