linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] ARM: OMAP4: Enable AESS IP.
@ 2013-01-09 15:03 Sebastien Guiriec
  2013-01-09 15:03 ` [PATCH v2 1/5] ARM: OMAP2+: hwmod: add enable_preprogram hook Sebastien Guiriec
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Sebastien Guiriec @ 2013-01-09 15:03 UTC (permalink / raw)
  To: Sebastien Guiriec, Benoît Cousson, Paul Walmsley,
	Tony Lindgren, linux-omap
  Cc: linux-arm-kernel, Peter Ujfalusi, Liam Girdwood, Tero Kristo,
	Jon Hunter

v2:
- Add missing AESS memory banks.
- Update the serie base on comments related earlier serie:
http://www.mail-archive.com/linux-omap@vger.kernel.org/msg69853.html

The location of the callback has been updated in order to fit with AESS.
Some call of PM runtime can be done by ASoC core when AESS is in RET so
we need to ensure that the additional callback is call on enable
also in order to have clock correctly stop.

v1:
ARM: OMAP4: Enable AESS IP.

This patch serie extends the the hwmod HWMOD_EXT_OPT_MAIN_CLK flag for the
AESS IP. This IP has additional register for Auto Gatting configuration. As
it is used only for Audio the driver is not always loaded. We can reuse the
same flag as McPDM to work around the HW problem due to bad reset value of
AESS Auto gatting configuration register. 

If we try to setup and reset AESS during boot time without this serie the
next clocks will still remain enable.

omapconf abe cfg:
|--------------------------------------------------------------|
| ABE        Clock Domain Configuration                        |
|--------------------------------|-----------------------------|
| Clock State Transition control | HW-Auto                     |
| Clock State                    |                             |
|   ABE_24M_FCLK                 | GATED                       |
|   ABE_ALWON_32K_CLK            | GATED                       |
|   ABE_SYSCLK                   | GATED                       |
|   24M_FCLK                     | GATED                       |
|   ABE_ICLK2                    | RUNNING                     |
|   DPLL_ABE_X2_CLK              | RUNNING                     |
|   PAD_CLKS                     | GATED                       |
|   SLIMBUS_CLK                  | GATED                       |
| OPP Divider                    | ABE_CLK = DPLL_ABE_X2_CLK/1 |
|--------------------------------------------------------------|

Paul Walmsley (3):
  ARM: OMAP2+: hwmod: add enable_preprogram hook
  ASoC: TI AESS: add autogating-enable function, callable from
    architecture code
  ARM: OMAP4+: AESS: enable internal auto-gating during initial setup

Sebastien Guiriec (2):
  OMAP4: hwmod data: Enable AESS hwmod device
  OMAP4: hwmod data: Update AESS data with memory bank area

 arch/arm/mach-omap2/Makefile               |    2 +-
 arch/arm/mach-omap2/omap_hwmod.c           |   18 ++++++++++
 arch/arm/mach-omap2/omap_hwmod.h           |    8 +++++
 arch/arm/mach-omap2/omap_hwmod_44xx_data.c |   49 +++++++++++++++++++++++--
 arch/arm/mach-omap2/omap_hwmod_reset.c     |   52 +++++++++++++++++++++++++++
 include/sound/aess.h                       |   53 ++++++++++++++++++++++++++++
 6 files changed, 178 insertions(+), 4 deletions(-)
 create mode 100644 arch/arm/mach-omap2/omap_hwmod_reset.c
 create mode 100644 include/sound/aess.h

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-02-10 19:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-09 15:03 [PATCH v2 0/5] ARM: OMAP4: Enable AESS IP Sebastien Guiriec
2013-01-09 15:03 ` [PATCH v2 1/5] ARM: OMAP2+: hwmod: add enable_preprogram hook Sebastien Guiriec
2013-01-09 15:07   ` Felipe Balbi
2013-01-09 15:03 ` [PATCH v2 2/5] ASoC: TI AESS: add autogating-enable function, callable from architecture code Sebastien Guiriec
2013-01-09 15:41   ` Mark Brown
2013-01-09 15:03 ` [PATCH v2 3/5] ARM: OMAP4+: AESS: enable internal auto-gating during initial setup Sebastien Guiriec
2013-01-09 15:03 ` [PATCH v2 4/5] OMAP4: hwmod data: Enable AESS hwmod device Sebastien Guiriec
2013-01-09 15:03 ` [PATCH v2 5/5] OMAP4: hwmod data: Update AESS data with memory bank area Sebastien Guiriec
2013-02-10 19:19   ` Paul Walmsley
2013-01-18 14:47 ` [PATCH v2 0/5] ARM: OMAP4: Enable AESS IP Sebastien Guiriec
2013-01-21  1:54   ` Paul Walmsley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).