Re: [PATCH 00/10] OMAP: SCM/McBSP/clock: branch integration patches for 2.6.37

2010-10-06 Thread Paul Walmsley
Hi, 
On Wed, 6 Oct 2010, Liam Girdwood wrote:

> On Wed, 2010-10-06 at 07:48 -0700, Tony Lindgren wrote:
> > * Peter Ujfalusi  [101005 22:33]:
> > > On Tuesday 05 October 2010 21:40:17 ext Tony Lindgren wrote:
> > > 
> > > ...
> > > 
> > > > > For patches 6-7 you could have my ack.
> > > > > Acked-by: Jarkko Nikula 
> > > > > 
> > > > > As they are touching also sound/soc/omap/omap-mcbsp.c, an ack from 
> > > > > Mark
> > > > > and Liam are needed. Links to patches 6 and 7 below and my fixes on 
> > > > > top
> > > > > of them [1].
> > > > > 
> > > > > http://marc.info/?l=linux-omap&m=128596931117788&w=2
> > > > > http://marc.info/?l=linux-omap&m=128596931417805&w=2
> > > > 
> > > > Sorry, I've already merged them as they fixed code that did not compile.
> > > > 
> > > > Let me know if you guys want me to rebuild those parts of omap-for-linus
> > > > to add the acks.
> > > 
> > > If you decide to rebuild, than you can add my (for patch 6-7):
> > > Acked-by: Peter Ujfalusi  
> > 
> > OK, let's do that then we should still have some time left before the
> > merge window.
> > 
> > Mark & Liam, care to ack as well?
> > 
> 
> Acked-by: Liam Girdwood 

Okay, acks from Liam, Mark, Peter, and Jarkko have been added to patches 6 
and 7.  Also, acks from Peter have been added to Jarkko's three patches.  
Jarkko's three patches have been added on to the original ten.  Will send 
out an updated pull request shortly.


- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 00/10] OMAP: SCM/McBSP/clock: branch integration patches for 2.6.37

2010-10-06 Thread Mark Brown
On Wed, Oct 06, 2010 at 07:48:07AM -0700, Tony Lindgren wrote:

> OK, let's do that then we should still have some time left before the
> merge window.

> Mark & Liam, care to ack as well?

Acked-by: Mark Brown 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 00/10] OMAP: SCM/McBSP/clock: branch integration patches for 2.6.37

2010-10-06 Thread Liam Girdwood
On Wed, 2010-10-06 at 07:48 -0700, Tony Lindgren wrote:
> * Peter Ujfalusi  [101005 22:33]:
> > On Tuesday 05 October 2010 21:40:17 ext Tony Lindgren wrote:
> > 
> > ...
> > 
> > > > For patches 6-7 you could have my ack.
> > > > Acked-by: Jarkko Nikula 
> > > > 
> > > > As they are touching also sound/soc/omap/omap-mcbsp.c, an ack from Mark
> > > > and Liam are needed. Links to patches 6 and 7 below and my fixes on top
> > > > of them [1].
> > > > 
> > > > http://marc.info/?l=linux-omap&m=128596931117788&w=2
> > > > http://marc.info/?l=linux-omap&m=128596931417805&w=2
> > > 
> > > Sorry, I've already merged them as they fixed code that did not compile.
> > > 
> > > Let me know if you guys want me to rebuild those parts of omap-for-linus
> > > to add the acks.
> > 
> > If you decide to rebuild, than you can add my (for patch 6-7):
> > Acked-by: Peter Ujfalusi  
> 
> OK, let's do that then we should still have some time left before the
> merge window.
> 
> Mark & Liam, care to ack as well?
> 

Acked-by: Liam Girdwood 

Thanks

Liam


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 00/10] OMAP: SCM/McBSP/clock: branch integration patches for 2.6.37

2010-10-06 Thread Tony Lindgren
* Peter Ujfalusi  [101005 22:33]:
> On Tuesday 05 October 2010 21:40:17 ext Tony Lindgren wrote:
> 
> ...
> 
> > > For patches 6-7 you could have my ack.
> > > Acked-by: Jarkko Nikula 
> > > 
> > > As they are touching also sound/soc/omap/omap-mcbsp.c, an ack from Mark
> > > and Liam are needed. Links to patches 6 and 7 below and my fixes on top
> > > of them [1].
> > > 
> > > http://marc.info/?l=linux-omap&m=128596931117788&w=2
> > > http://marc.info/?l=linux-omap&m=128596931417805&w=2
> > 
> > Sorry, I've already merged them as they fixed code that did not compile.
> > 
> > Let me know if you guys want me to rebuild those parts of omap-for-linus
> > to add the acks.
> 
> If you decide to rebuild, than you can add my (for patch 6-7):
> Acked-by: Peter Ujfalusi  

OK, let's do that then we should still have some time left before the
merge window.

Mark & Liam, care to ack as well?

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 00/10] OMAP: SCM/McBSP/clock: branch integration patches for 2.6.37

2010-10-05 Thread Peter Ujfalusi
On Tuesday 05 October 2010 21:40:17 ext Tony Lindgren wrote:

...

> > For patches 6-7 you could have my ack.
> > Acked-by: Jarkko Nikula 
> > 
> > As they are touching also sound/soc/omap/omap-mcbsp.c, an ack from Mark
> > and Liam are needed. Links to patches 6 and 7 below and my fixes on top
> > of them [1].
> > 
> > http://marc.info/?l=linux-omap&m=128596931117788&w=2
> > http://marc.info/?l=linux-omap&m=128596931417805&w=2
> 
> Sorry, I've already merged them as they fixed code that did not compile.
> 
> Let me know if you guys want me to rebuild those parts of omap-for-linus
> to add the acks.

If you decide to rebuild, than you can add my (for patch 6-7):
Acked-by: Peter Ujfalusi  

-- 
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 00/10] OMAP: SCM/McBSP/clock: branch integration patches for 2.6.37

2010-10-05 Thread Tony Lindgren
* Jarkko Nikula  [101005 05:43]:
> On Fri, 01 Oct 2010 15:34:45 -0600
> Paul Walmsley  wrote:
> 
> > mach-omap2 (as the SCM only exists on OMAP2+ systems).  The McBSP
> > parent fclk and signal muxing changes have received only light
> > testing, so any help from OMAP ASoc experts here is appreciated.
> > 
> Looks good to me. I pointed out one bug but as these are already in
> linux-omap I sent a fix for it and two minor cleanups [1].
> 
> > Paul Walmsley (10):
> >   OMAP2+: Kconfig: disallow builds for boards that don't use the 
> > currently-selected SoC
> >   OMAP2420: CTRL: fix OMAP242X_CTRL_REGADDR macro
> >   OMAP2420: clock: add MCBSP_CLKS node and clkdev aliases
> >   OMAP2430: clock: add MCBSP_CLKS node and clkdev aliases
> >   OMAP3xxx: clock: add clkdev aliases for McBSP fclk source switching
> >   OMAP: McBSP: implement McBSP CLKR and FSR signal muxing via 
> > mach-omap2/mcbsp.c
> >   OMAP: McBSP: implement functional clock switching via clock framework
> >   OMAP: split plat-omap/common.c
> >   OMAP: control: move plat-omap/control.h to mach-omap2/control.h
> >   OMAP2+: clock: reduce the amount of standard debugging while 
> > disabling unused clocks
> > 
> Patches 3-5 are doing the right thing AFAIK the OMAP clock framework.
> 
> For patches 6-7 you could have my ack.
> Acked-by: Jarkko Nikula 
> 
> As they are touching also sound/soc/omap/omap-mcbsp.c, an ack from Mark
> and Liam are needed. Links to patches 6 and 7 below and my fixes on top
> of them [1].
> 
> http://marc.info/?l=linux-omap&m=128596931117788&w=2
> http://marc.info/?l=linux-omap&m=128596931417805&w=2

Sorry, I've already merged them as they fixed code that did not compile.

Let me know if you guys want me to rebuild those parts of omap-for-linus
to add the acks.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 00/10] OMAP: SCM/McBSP/clock: branch integration patches for 2.6.37

2010-10-05 Thread Jarkko Nikula
On Fri, 01 Oct 2010 15:34:45 -0600
Paul Walmsley  wrote:

> mach-omap2 (as the SCM only exists on OMAP2+ systems).  The McBSP
> parent fclk and signal muxing changes have received only light
> testing, so any help from OMAP ASoc experts here is appreciated.
> 
Looks good to me. I pointed out one bug but as these are already in
linux-omap I sent a fix for it and two minor cleanups [1].

> Paul Walmsley (10):
>   OMAP2+: Kconfig: disallow builds for boards that don't use the 
> currently-selected SoC
>   OMAP2420: CTRL: fix OMAP242X_CTRL_REGADDR macro
>   OMAP2420: clock: add MCBSP_CLKS node and clkdev aliases
>   OMAP2430: clock: add MCBSP_CLKS node and clkdev aliases
>   OMAP3xxx: clock: add clkdev aliases for McBSP fclk source switching
>   OMAP: McBSP: implement McBSP CLKR and FSR signal muxing via 
> mach-omap2/mcbsp.c
>   OMAP: McBSP: implement functional clock switching via clock framework
>   OMAP: split plat-omap/common.c
>   OMAP: control: move plat-omap/control.h to mach-omap2/control.h
>   OMAP2+: clock: reduce the amount of standard debugging while disabling 
> unused clocks
> 
Patches 3-5 are doing the right thing AFAIK the OMAP clock framework.

For patches 6-7 you could have my ack.
Acked-by: Jarkko Nikula 

As they are touching also sound/soc/omap/omap-mcbsp.c, an ack from Mark
and Liam are needed. Links to patches 6 and 7 below and my fixes on top
of them [1].

http://marc.info/?l=linux-omap&m=128596931117788&w=2
http://marc.info/?l=linux-omap&m=128596931417805&w=2


-- 
Jarkko
1. http://marc.info/?l=linux-omap&m=128628175107214&w=2
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 00/10] OMAP: SCM/McBSP/clock: branch integration patches for 2.6.37

2010-10-01 Thread Paul Walmsley
This series fixes several problems that appeared during branch
integration testing.  These patches are intended to be merged through
Tony's tree for 2.6.37.

Change summary:

Recently, the OMAP System Control Module function exports were
removed.  These are OMAP core-specific functions that should not be
used by drivers.  Unfortunately, several drivers used these functions,
and as a result, these can no longer be built as modules.  This series
resolves this problem by reimplementing or removing the OMAP SCM
accesses.  In the case of McBSP, three additional functions were added
to arch/arm/mach-omap2/mcbsp.c to handle the signal muxing and clock
framework interaction.  In the case of OMAP UDC, the code that
attempted to use the result of the SCM read was simply broken, so the
SCM read has been removed.  These changes fix a build breakage.  To
reduce the likelihood of future usage of the SCM code by drivers, the
SCM header files have been moved from plat-omap/include/plat to
mach-omap2 (as the SCM only exists on OMAP2+ systems).  The McBSP
parent fclk and signal muxing changes have received only light
testing, so any help from OMAP ASoc experts here is appreciated.

Several boards that are specific to certain OMAP SoC variants
have now been marked as such in Kconfig; this prevents them from
being built if support for the SoC that they use is not being
built.

plat-omap/common.c has been split.  OMAP2+ specific code (which had a
SCM dependency) has been moved into mach-omap2/common.c.  The 32KiHz
sync timer code has been moved into its own file.  The remainder of
the plat-omap/common.c code is deprecated.

Finally, a patch to reduce the amount of debugging generated by
the clock framework while it disables unused clocks is included.
According to Tim Bird, those debug messages are a significant
contributor to kernel boot time when debug-level messages are kept
enabled.

regards

- Paul

---

  text data bss dec hex filename
5606503  438048 5610800 11655351 b1d8b7 vmlinux.omap2plus.orig
5607439  438848 5610800 11657087 b1df7f vmlinux.omap2plus.patched


Paul Walmsley (10):
  OMAP2+: Kconfig: disallow builds for boards that don't use the 
currently-selected SoC
  OMAP2420: CTRL: fix OMAP242X_CTRL_REGADDR macro
  OMAP2420: clock: add MCBSP_CLKS node and clkdev aliases
  OMAP2430: clock: add MCBSP_CLKS node and clkdev aliases
  OMAP3xxx: clock: add clkdev aliases for McBSP fclk source switching
  OMAP: McBSP: implement McBSP CLKR and FSR signal muxing via 
mach-omap2/mcbsp.c
  OMAP: McBSP: implement functional clock switching via clock framework
  OMAP: split plat-omap/common.c
  OMAP: control: move plat-omap/control.h to mach-omap2/control.h
  OMAP2+: clock: reduce the amount of standard debugging while disabling 
unused clocks


 arch/arm/mach-omap2/Kconfig|6 -
 arch/arm/mach-omap2/Makefile   |3 
 arch/arm/mach-omap2/board-3430sdp.c|2 
 arch/arm/mach-omap2/board-4430sdp.c|3 
 arch/arm/mach-omap2/board-am3517evm.c  |2 
 arch/arm/mach-omap2/board-apollon.c|2 
 arch/arm/mach-omap2/board-cm-t3517.c   |2 
 arch/arm/mach-omap2/board-generic.c|   16 +-
 arch/arm/mach-omap2/board-h4.c |2 
 arch/arm/mach-omap2/board-ldp.c|2 
 arch/arm/mach-omap2/board-omap3logic.c |2 
 arch/arm/mach-omap2/board-omap4panda.c |4 
 arch/arm/mach-omap2/clock.c|2 
 arch/arm/mach-omap2/clock2420_data.c   |   40 
 arch/arm/mach-omap2/clock2430_data.c   |   64 ++
 arch/arm/mach-omap2/clock3xxx_data.c   |   12 +
 arch/arm/mach-omap2/clock44xx_data.c   |2 
 arch/arm/mach-omap2/common.c   |  138 +
 arch/arm/mach-omap2/control.c  |3 
 arch/arm/mach-omap2/control.h  |   18 +-
 arch/arm/mach-omap2/cpuidle34xx.c  |2 
 arch/arm/mach-omap2/devices.c  |3 
 arch/arm/mach-omap2/hsmmc.c|2 
 arch/arm/mach-omap2/id.c   |3 
 arch/arm/mach-omap2/mcbsp.c|   83 
 arch/arm/mach-omap2/mux.c  |8 -
 arch/arm/mach-omap2/pm24xx.c   |2 
 arch/arm/mach-omap2/pm34xx.c   |2 
 arch/arm/mach-omap2/prcm.c |2 
 arch/arm/mach-omap2/serial.c   |2 
 arch/arm/mach-omap2/sleep34xx.S|2 
 arch/arm/mach-omap2/usb-fs.c   |6 -
 arch/arm/plat-omap/32ksynctimer.c  |  184 ++
 arch/arm/plat-omap/Makefile|2 
 arch/arm/plat-omap/clock.c |5 
 arch/arm/plat-omap/common.c|  291 
 arch/arm/plat-omap/devices.c   |1 
 arch/arm/plat-omap/include/plat/mcbsp.h|   22 ++
 arch/arm/plat-omap/include/plat/omap24xx.h |2 
 arch/arm/plat-omap/mcbsp.c