]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-9975-2 imx6sx-ard: fix CAN unwork if power up the borad on first time
authorDong Aisheng <b29396@freescale.com>
Tue, 9 Dec 2014 08:43:37 +0000 (16:43 +0800)
committerDong Aisheng <b29396@freescale.com>
Wed, 21 Jan 2015 10:23:25 +0000 (18:23 +0800)
commitce30fe9f5168cd1302f6df6b3fad2038f74970af
tree5216840382a50f834d63aa726538a6c82a3a1e22
parentc0320a7632b4b02f014ec4af5a8896e7c3237566
MLK-9975-2 imx6sx-ard: fix CAN unwork if power up the borad on first time

The CAN transceiver on MX6SX Sabreauto board seems in sleep mode
by default after power up the board. User has to press the wakeup
key on ARD baseboard before using the transceiver, or it may not
work properly when power up the board at the first time(warm reset
does not have such issue).

This patch wakeup the transceiver firstly if needed during intialization
by control the wakeup pin, then user do not have to press wakeup key
button to enable the transceiver.
BTW, stby gpio is also updated which is wrong before.

Conflicts:

arch/arm/mach-imx/mach-imx6sx.c

Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit 3141bfc97e667de4b3d88968aa18668699d735ea)
(cherry picked from commit 05eb2a0b27d37740ba6cc4769b095706c064d823)
arch/arm/boot/dts/imx6sx-sabreauto.dts
arch/arm/mach-imx/mach-imx6sx.c