Skip to content

Commit a2fc366

Browse files
committed
ARM: OMAP3: Use manual idle for UARTs because of DMA errata
In sprz318f.pdf "Usage Note 2.7" says that UARTs cannot acknowledge idle requests in smartidle mode when configured for DMA operations. This prevents L4 from going idle. So let's use manual idle mode instead. Otherwise systems using Sebastian's 8250 patches with DMA will never enter deeper idle states because of the errata above. Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Reviewed-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
1 parent 6a08b11 commit a2fc366

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/arm/mach-omap2/omap_hwmod_3xxx_data.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ static struct omap_hwmod omap3xxx_uart1_hwmod = {
490490
.mpu_irqs = omap2_uart1_mpu_irqs,
491491
.sdma_reqs = omap2_uart1_sdma_reqs,
492492
.main_clk = "uart1_fck",
493-
.flags = DEBUG_TI81XXUART1_FLAGS | HWMOD_SWSUP_SIDLE_ACT,
493+
.flags = DEBUG_TI81XXUART1_FLAGS | HWMOD_SWSUP_SIDLE,
494494
.prcm = {
495495
.omap2 = {
496496
.module_offs = CORE_MOD,
@@ -509,7 +509,7 @@ static struct omap_hwmod omap3xxx_uart2_hwmod = {
509509
.mpu_irqs = omap2_uart2_mpu_irqs,
510510
.sdma_reqs = omap2_uart2_sdma_reqs,
511511
.main_clk = "uart2_fck",
512-
.flags = DEBUG_TI81XXUART2_FLAGS | HWMOD_SWSUP_SIDLE_ACT,
512+
.flags = DEBUG_TI81XXUART2_FLAGS | HWMOD_SWSUP_SIDLE,
513513
.prcm = {
514514
.omap2 = {
515515
.module_offs = CORE_MOD,
@@ -529,7 +529,7 @@ static struct omap_hwmod omap3xxx_uart3_hwmod = {
529529
.sdma_reqs = omap2_uart3_sdma_reqs,
530530
.main_clk = "uart3_fck",
531531
.flags = DEBUG_OMAP3UART3_FLAGS | DEBUG_TI81XXUART3_FLAGS |
532-
HWMOD_SWSUP_SIDLE_ACT,
532+
HWMOD_SWSUP_SIDLE,
533533
.prcm = {
534534
.omap2 = {
535535
.module_offs = OMAP3430_PER_MOD,
@@ -559,7 +559,7 @@ static struct omap_hwmod omap36xx_uart4_hwmod = {
559559
.mpu_irqs = uart4_mpu_irqs,
560560
.sdma_reqs = uart4_sdma_reqs,
561561
.main_clk = "uart4_fck",
562-
.flags = DEBUG_OMAP3UART4_FLAGS | HWMOD_SWSUP_SIDLE_ACT,
562+
.flags = DEBUG_OMAP3UART4_FLAGS | HWMOD_SWSUP_SIDLE,
563563
.prcm = {
564564
.omap2 = {
565565
.module_offs = OMAP3430_PER_MOD,

0 commit comments

Comments
 (0)