[U-Boot] [U-Boot, u-boot, 2/2] ARM: beagle_x15: prevent DCAN1 _wait_target_disable failure in kernel

Roger Quadros rogerq at ti.com
Mon Jul 13 12:41:11 CEST 2015


On 10/07/15 15:57, Tom Rini wrote:
> On Thu, Jun 25, 2015 at 10:25:50AM +0300, Roger Quadros wrote:
> 
>> 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 at ti.com>
> 
> With %s/PULLUP/PULL_UP/ based on the DRA7xx patch, applied to
> u-boot/master, thanks!
> 
Thanks Tom :).

cheers,
-roger


More information about the U-Boot mailing list