ARM: OMAP2+: control: Add AM33XX control reg & sec clkctrl offset
authorVaibhav Hiremath <hvaibhav@ti.com>
Mon, 18 Jun 2012 06:47:25 +0000 (00:47 -0600)
committerPaul Walmsley <paul@pwsan.com>
Mon, 18 Jun 2012 06:47:25 +0000 (00:47 -0600)
commit2e113c648dc29c3d8418fe277917b04397375939
treed3b7f3d9fd5d15806f412c2fc3cee78b1a54b319
parent08f3098928c991560408e8c71d4af8b1a3ff2d67
ARM: OMAP2+: control: Add AM33XX control reg & sec clkctrl offset

Define AM33XX control register, in order to allow access to
control register address space, also add CONTROL_SEC_CLK_CTRL
register offset; both are required in clock tree data,
for wdt0 and timer0 clock source select configuration.

CONTROL.SEC_CLK_CTRL register is provided to select/configure
clock input for WDT0 and TIMER0.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
[paul@pwsan.com: added include of plat/am33xx.h to fix build break;
 added AM33XX_CONTROL_STATUS bitfields that will be needed for the clock
 tree; fixed some control.h whitespace problems while here]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/control.h