]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: Disable POSTED mode for errata i103 and i767
authorJoel Fernandes <joelf@ti.com>
Tue, 26 Nov 2013 23:03:36 +0000 (15:03 -0800)
committerTony Lindgren <tony@atomide.com>
Tue, 26 Nov 2013 23:03:36 +0000 (15:03 -0800)
commit0277b1e97e115fdf017dc2809d0ca3666859c8e4
treee972462c7d72a64e3a643ea896f522570b89673c
parentf61aef47085d973240a5fb99f334143549a48f59
ARM: OMAP2+: Disable POSTED mode for errata i103 and i767

Enabling of Posted mode is seen to cause problems on dmtimer modules on AM33xx
(much like other OMAPs).  Reference discussions on forums [1] [2]. Earlier
patch solving this on other OMAPs [3].

For OMAP SoCs with this errata, the fix has been to not enable Posted mode.
However, on some SoCs (atleast AM33xx) which carry this errata, Posted mode
is enabled on reset. So we not only need to ignore enabling of the POSTED bit
when the timer is requested, but also disable Posted mode if errata is present.

[1] http://e2e.ti.com/support/arm/sitara_arm/f/791/t/285744.aspx
[2] http://e2e.ti.com/support/arm/sitara_arm/f/791/t/270632.aspx
[3] http://www.spinics.net/lists/linux-omap/msg81770.html

Cc: stable@vgerk.kernel.org
Reported-by: Russ Dill <russ.dill@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/include/plat/dmtimer.h