]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARM: beagle_x15: prevent DCAN1 _wait_target_disable failure in kernel
authorRoger Quadros <rogerq@ti.com>
Thu, 25 Jun 2015 07:25:50 +0000 (10:25 +0300)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 22:47:38 +0000 (00:47 +0200)
commit8a9a82d6bd76a3b63d28b91ece8b64c960669eea
treeab8a07b59af2de608a86ae1216bd7bde71629ba8
parent06879d7704f8128141c5a214ec349c0ecb711d64
ARM: beagle_x15: prevent DCAN1 _wait_target_disable failure in kernel

If board is booted with transitions happening on DCAN1 pins then
the following warning is seen in the kernel at boot when the
hwmod layer initializes.

"omap_hwmod: dcan1: _wait_target_disable failed"

This is because DCAN1 module's SWAKEUP mechanism is broken
and it fails to correctly turn OFF if it sees a transition on the
DCAN1 pins. Suggested workaround is to keep DCAN1 pins in safe mode
while enabling/disabling DCAN1 module.

The hwmod layer enables and disables all modules at boot
and we have no opportunity to put the DCAN1 pins in safe mode
at that point.

DCAN1 is not used by u-boot so it doesn't matter to it if these
pins are in safe mode. The kernel driver correctly configures
the right mode when DCAN1 is active.

Signed-off-by: Roger Quadros <rogerq@ti.com>
[trini: s/PULLUP/PULL_UP/ based on DRA7xx EVM version of this patch]
Signed-off-by: Tom Rini <trini@konsulko.com>
board/ti/beagle_x15/mux_data.h