]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mmp: MMP2 drive strength FAST using wrong value
authorPhilip Rakity <prakity@marvell.com>
Fri, 7 Jan 2011 19:26:52 +0000 (11:26 -0800)
committerEric Miao <eric.y.miao@gmail.com>
Sat, 15 Jan 2011 10:29:19 +0000 (04:29 -0600)
commitb5d04343319f234e437ef2f6e85b09620876f674
tree304f4b46d9c4170bf6c1cf4d6e886e456a3647d1
parent32585ed1db57422596af526f487ea7164c9cabe3
ARM: mmp: MMP2 drive strength FAST using wrong value

Drive strength for MMP2 is a 2 bit value but because of the mapping in
plat-pxa/mfp.h needs to be shifted up one bit to handle real
location in mfp registers.  (MMP2 and PXA910 drive strength start
at bit 11 while PXA168 starts at bit 10).

Values 0, 1, 2, and 3 effectively need to be
0, 2, 4, and 6 to fit into register.  8 does not work.

Signed-off-by: Philip Rakity <prakity@marvell.com>
Tested-by: John Watlington <wad@laptop.org>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-mmp/include/mach/mfp-mmp2.h