public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] OMAP3 clock patches: first set
@ 2007-09-19 21:09 Paul Walmsley
  2007-09-19 21:10 ` [PATCH 1/7] omap2 arch: fix CONTROL_DEVCONF addresses for OMAP3430 Paul Walmsley
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Paul Walmsley @ 2007-09-19 21:09 UTC (permalink / raw)
  To: linux-omap-open-source

Hello,

These patches implement the OMAP3430 clock tree, along with the basic
clock code necessary to support it.  The clock definitions were drawn
from 3430 ES1 and ES2 TRMs, and the patches try to adhere to the TRM
as closely as is practicable.

The clock tree is mostly 3430ES1-based.  A few 3430ES2 features are
implemented, such as 16.8MHz SYS_CLK and PWRDN bits.  Some ES2 clocks
are yet to be defined, and will be added in subsequent patches.  Also
not included in this patch set are DPLL control patches, L3 divider
code, and OPP code; these will be sent as separate patch sets.

Most of the new code is in patch 4.  Patches 1 & 2 are cleanup/bugfix
patches; patch 3 adds support for PWRDN bit usage in the clock
framework; patches 5-7 fix the GPMC, dmtimer, and GPIO drivers for
boot.

The code has been boot-tested on 3430SDP using a 3430ES1 chip.  One
known issue that I'm tracking - apparently there is a problem enabling
the UART1 & 2 interface and functional clocks.

Thanks to Tony Lindgren and Richard Woodruff for their assistance in
providing support and information.  These patches also include some silicon
errata drawn from the TI CDP kernel clock code, written by Karthik Dasu.

Review and comments are appreciated,

- Paul

diffstat:
 arch/arm/mach-omap2/clock.c                       |   38
 arch/arm/mach-omap2/cm.h                          |    2
 include/asm-arm/arch-omap/clock.h                 |   12
 linux-omap/arch/arm/mach-omap2/Makefile           |    1
 linux-omap/arch/arm/mach-omap2/clock.c            |   10
 linux-omap/arch/arm/mach-omap2/clock.h            |   22
 linux-omap/arch/arm/mach-omap2/clock24xx.h        |   73
 linux-omap/arch/arm/mach-omap2/clock34xx.c        |  218 ++
 linux-omap/arch/arm/mach-omap2/clock34xx.h        | 2205 ++++++++++++++++++++++
 linux-omap/arch/arm/mach-omap2/cm.h               |    2
 linux-omap/arch/arm/mach-omap2/cm_regbits_34xx.h  |  138 +
 linux-omap/arch/arm/mach-omap2/gpmc.c             |    6
 linux-omap/arch/arm/mach-omap2/prcm_common.h      |   41
 linux-omap/arch/arm/mach-omap2/prm.h              |    2
 linux-omap/arch/arm/mach-omap2/prm_regbits_34xx.h |    9
 linux-omap/arch/arm/plat-omap/dmtimer.c           |    5
 linux-omap/arch/arm/plat-omap/gpio.c              |   40
 linux-omap/include/asm-arm/arch-omap/clock.h      |    2
 linux-omap/include/asm-arm/arch-omap/gpio.h       |    2
 linux-omap/include/asm-arm/arch-omap/omap34xx.h   |    9
 20 files changed, 2750 insertions(+), 87 deletions(-)

size:
   text    data     bss     dec     hex filename
2764484  116728   96224 2977436  2d6e9c vmlinux.orig
2769280  131384   96256 2996920  2dbab8 vmlinux

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH 0/7] OMAP3 clock patches: first set (take two)
@ 2007-09-27  6:11 Paul Walmsley
  2007-09-27  6:11 ` [PATCH 1/7] omap2 arch: fix CONTROL_DEVCONF addresses for OMAP3430 Paul Walmsley
  0 siblings, 1 reply; 9+ messages in thread
From: Paul Walmsley @ 2007-09-27  6:11 UTC (permalink / raw)
  To: linux-omap-open-source

Hello,

this is take two of the initial OMAP3430 clock tree patches, with
several bug fixes.  UART clock enable warnings are now fixed,
and some clocks that didn't recalculate rates correctly are now
fixed.  A few more details are in the per-patch notes.

Boot tested on N800 and 3430SDP.  Diffstat and size have been updated at
the end of the message.  Testing welcome, as always.

- Paul

-----------------------------------------------------------------------

These patches implement the OMAP3430 clock tree, along with the basic
clock code necessary to support it.  The clock definitions were drawn
from 3430 ES1 and ES2 TRMs, and the patches try to adhere to the TRM
as closely as is practicable.

The clock tree is mostly 3430ES1-based.  A few 3430ES2 features are
implemented, such as 16.8MHz SYS_CLK and PWRDN bits.  Some ES2 clocks
are yet to be defined, and will be added in subsequent patches.  Also
not included in this patch set are DPLL control patches, L3 divider
code, and OPP code; these will be sent as separate patch sets.

Most of the new code is in patch 4.  Patches 1 & 2 are cleanup/bugfix
patches; patch 3 adds support for PWRDN bit usage in the clock
framework; patches 5-7 fix the GPMC, dmtimer, and GPIO drivers for
boot.

The code has been boot-tested on 3430SDP using a 3430ES1 chip.

Thanks to Tony Lindgren and Richard Woodruff for their assistance in
providing support and information.  These patches also include some silicon
errata drawn from the TI CDP kernel clock code, written by Karthik Dasu.

Review and comments are appreciated,

- Paul

 arch/arm/mach-omap2/clock.c                       |   66
 arch/arm/mach-omap2/cm.h                          |    2
 include/asm-arm/arch-omap/clock.h                 |   12
 linux-omap/arch/arm/mach-omap2/Makefile           |    1
 linux-omap/arch/arm/mach-omap2/clock.c            |   36
 linux-omap/arch/arm/mach-omap2/clock.h            |   22
 linux-omap/arch/arm/mach-omap2/clock24xx.c        |    7
 linux-omap/arch/arm/mach-omap2/clock24xx.h        |   75
 linux-omap/arch/arm/mach-omap2/clock34xx.c        |  222 ++
 linux-omap/arch/arm/mach-omap2/clock34xx.h        | 2214 ++++++++++++++++++++++
 linux-omap/arch/arm/mach-omap2/cm.h               |    2
 linux-omap/arch/arm/mach-omap2/cm_regbits_34xx.h  |  138 +
 linux-omap/arch/arm/mach-omap2/gpmc.c             |    6
 linux-omap/arch/arm/mach-omap2/prcm_common.h      |   41
 linux-omap/arch/arm/mach-omap2/prm.h              |    2
 linux-omap/arch/arm/mach-omap2/prm_regbits_34xx.h |    9
 linux-omap/arch/arm/plat-omap/dmtimer.c           |    5
 linux-omap/arch/arm/plat-omap/gpio.c              |   40
 linux-omap/include/asm-arm/arch-omap/clock.h      |    2
 linux-omap/include/asm-arm/arch-omap/gpio.h       |    2
 linux-omap/include/asm-arm/arch-omap/omap34xx.h   |    9
 21 files changed, 2801 insertions(+), 112 deletions(-)

size:
   text    data     bss     dec     hex filename
2763816  115776   96224 2975816  2d6848 vmlinux.orig
2768744  130432   96256 2995432  2db4e8 vmlinux

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

end of thread, other threads:[~2007-09-27  6:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-19 21:09 [PATCH 0/7] OMAP3 clock patches: first set Paul Walmsley
2007-09-19 21:10 ` [PATCH 1/7] omap2 arch: fix CONTROL_DEVCONF addresses for OMAP3430 Paul Walmsley
2007-09-19 21:10 ` [PATCH 2/7] omap2 clock: split out OMAP2/3 common defines, clksel rates Paul Walmsley
2007-09-19 21:10 ` [PATCH 3/7] omap2 clock: add support for inverted enable bits Paul Walmsley
2007-09-19 21:10 ` [PATCH 4/7] omap2 clock: add OMAP3430 clock definitions, basic code Paul Walmsley
2007-09-19 21:10 ` [PATCH 5/7] gpmc: fix GPMC code to boot on 3430 Paul Walmsley
2007-09-19 21:10 ` [PATCH 6/7] dmtimer: fix source clocks for 3430 Paul Walmsley
2007-09-19 21:10 ` [PATCH 7/7] gpio: fix GPIO clock code " Paul Walmsley
  -- strict thread matches above, loose matches on Subject: below --
2007-09-27  6:11 [PATCH 0/7] OMAP3 clock patches: first set (take two) Paul Walmsley
2007-09-27  6:11 ` [PATCH 1/7] omap2 arch: fix CONTROL_DEVCONF addresses for OMAP3430 Paul Walmsley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox