OMAP2 clock: add clk.prcm_mod field; annotate OMAP2xxx clocks
authorPaul Walmsley <paul@pwsan.com>
Thu, 18 Sep 2008 17:47:00 +0000 (11:47 -0600)
committerTony Lindgren <tony@atomide.com>
Mon, 22 Sep 2008 14:45:28 +0000 (17:45 +0300)
commit754cdc4a81159bbe1387a4dd701b6b50acc51ba3
tree69d834255db03fec3bb9fc92449e39293d7cb36c
parent7fa95e007ea2f3c4d0ecd2779d809756e7775894
OMAP2 clock: add clk.prcm_mod field; annotate OMAP2xxx clocks

Add a "prcm_mod" field to the struct clk in OMAP2/3, and annotate each
OMAP2xxx real hardware clock controlled by the PRCM with the PRCM
module offset.  (A subsequent patch will annotate OMAP3 clocks.)

Add flags for this field that allow the registers to
be marked as existing in the PRM, CM, or System Control Module.

A subsequent patch will use this to simplify register addressing in the
struct clk.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock24xx.h
arch/arm/plat-omap/include/mach/clock.h