]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit96f8f2927df8a76c80e1e46ecd94963b5a3952bc
treea5057395b763726bb1ca34e7a11e9b057ed067e6
parentd8ce5ac95fb1de7c94292ed6423e01a0dc0641b9
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