ARM: AM33XX: cm: Add bit-field width values
authorVaibhav Hiremath <hvaibhav@ti.com>
Thu, 20 Sep 2012 00:05:15 +0000 (18:05 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sat, 22 Sep 2012 16:53:08 +0000 (10:53 -0600)
commita86c0b9867940bd0ba78f109686079b4051a463d
treea5057395b763726bb1ca34e7a11e9b057ed067e6
parentf19a302247735876e08e95966ff5668e01946972
ARM: AM33XX: cm: Add bit-field width values

The new common clk framework includes basic definitions for mux and
divider clocks.  These definitions depend on shift and width values
instead of the pre-computed masks that the OMAP/AM33XX clk framework
has traditionally used when accessing the register to control the
mux or divisor.

To ease this transition the masks are left intact and
the width field is simply added alongside the shift and mask data.

Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Mike Turquette <mturquette@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/cm-regbits-33xx.h
arch/arm/mach-omap2/control.h