Skip to content

OMAP3 clock patches: first set

Paul Walmsley linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7omap2 arch: fix CONTROL_DEVCONF addresses for OMAP3430include/asm-arm/arch-omap/omap34xx.h+8 -10 replies
2/7omap2 clock: split out OMAP2/3 common defines, clksel ratesarch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock.h arch/arm/mach-omap2/clock24xx.h +2 more+55 -540 replies
3/7omap2 clock: add support for inverted enable bitsarch/arm/mach-omap2/clock.c include/asm-arm/arch-omap/clock.h+19 -50 replies
4/7omap2 clock: add OMAP3430 clock definitions, basic codearch/arm/mach-omap2/Makefile arch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock34xx.c +7 more+2623 -190 replies
5/7gpmc: fix GPMC code to boot on 3430arch/arm/mach-omap2/gpmc.c+5 -10 replies
6/7dmtimer: fix source clocks for 3430arch/arm/plat-omap/dmtimer.c+2 -30 replies
7/7gpio: fix GPIO clock code for 3430arch/arm/plat-omap/gpio.c include/asm-arm/arch-omap/gpio.h+38 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] OMAP3 clock patches: first set

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