diff options
author | Olof Johansson <olof@lixom.net> | 2013-02-12 18:33:39 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-02-12 18:33:39 -0500 |
commit | ebcfe0faf969fe64060132a455db64bcc3517e5c (patch) | |
tree | fadeb32f8820bfa53a5a37f967bf0d58aafeb82f /arch/arm/mach-omap2/omap_hwmod.h | |
parent | 488c77c961e65894d864af4da720a880a5fbb066 (diff) | |
parent | 93b23711b7132400d4d76f31c660d27a2bb0afdb (diff) |
Merge tag 'omap-for-v3.9/pm-omap4-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into late/omap
From Tony Lindgren:
omap4 pm changes via Paul Walmsley <paul@pwsan.com>:
Some OMAP4 power management fixes and audio device integration
patches. This pull request contains a fix for an issue discovered during
branch integration.
Basic test logs are available at:
http://www.pwsan.com/omap/testlogs/omap4_prcm_devel_a_3.9/20130210112717/
* tag 'omap-for-v3.9/pm-omap4-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP4: hwmod data: Enable AESS hwmod device
ARM: OMAP4: hwmod data: Update AESS data with memory bank area
ARM: OMAP4+: AESS: enable internal auto-gating during initial setup
ASoC: TI AESS: add autogating-enable function, callable from architecture code
ARM: OMAP2+: hwmod: add enable_preprogram hook
ARM: OMAP2+: PM: Fix the dt return condition in pm_late_init()
ARM: OMAP4: PM: Warn users about usage of older bootloaders
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod.h')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod.h b/arch/arm/mach-omap2/omap_hwmod.h index 80c00e706d69..d43d9b608eda 100644 --- a/arch/arm/mach-omap2/omap_hwmod.h +++ b/arch/arm/mach-omap2/omap_hwmod.h | |||
@@ -510,6 +510,7 @@ struct omap_hwmod_omap4_prcm { | |||
510 | * @rev: revision of the IP class | 510 | * @rev: revision of the IP class |
511 | * @pre_shutdown: ptr to fn to be executed immediately prior to device shutdown | 511 | * @pre_shutdown: ptr to fn to be executed immediately prior to device shutdown |
512 | * @reset: ptr to fn to be executed in place of the standard hwmod reset fn | 512 | * @reset: ptr to fn to be executed in place of the standard hwmod reset fn |
513 | * @enable_preprogram: ptr to fn to be executed during device enable | ||
513 | * | 514 | * |
514 | * Represent the class of a OMAP hardware "modules" (e.g. timer, | 515 | * Represent the class of a OMAP hardware "modules" (e.g. timer, |
515 | * smartreflex, gpio, uart...) | 516 | * smartreflex, gpio, uart...) |
@@ -533,6 +534,7 @@ struct omap_hwmod_class { | |||
533 | u32 rev; | 534 | u32 rev; |
534 | int (*pre_shutdown)(struct omap_hwmod *oh); | 535 | int (*pre_shutdown)(struct omap_hwmod *oh); |
535 | int (*reset)(struct omap_hwmod *oh); | 536 | int (*reset)(struct omap_hwmod *oh); |
537 | int (*enable_preprogram)(struct omap_hwmod *oh); | ||
536 | }; | 538 | }; |
537 | 539 | ||
538 | /** | 540 | /** |
@@ -680,6 +682,12 @@ extern void __init omap_hwmod_init(void); | |||
680 | const char *omap_hwmod_get_main_clk(struct omap_hwmod *oh); | 682 | const char *omap_hwmod_get_main_clk(struct omap_hwmod *oh); |
681 | 683 | ||
682 | /* | 684 | /* |
685 | * | ||
686 | */ | ||
687 | |||
688 | extern int omap_hwmod_aess_preprogram(struct omap_hwmod *oh); | ||
689 | |||
690 | /* | ||
683 | * Chip variant-specific hwmod init routines - XXX should be converted | 691 | * Chip variant-specific hwmod init routines - XXX should be converted |
684 | * to use initcalls once the initial boot ordering is straightened out | 692 | * to use initcalls once the initial boot ordering is straightened out |
685 | */ | 693 | */ |