diff options
author | Jakob Unterwurzacher <jakob.unterwurzacher@cherry.de> | 2025-06-16 15:54:41 +0200 |
---|---|---|
committer | Jakob Unterwurzacher <jakob.unterwurzacher@cherry.de> | 2025-06-17 15:19:29 +0200 |
commit | f124b9112cca09f311364f10669c7fe0fc83900d (patch) | |
tree | 7b402f5b91159a4e04e0f10e0b09e2defacffd00 /cmd | |
parent | da88faf87013cf5e586d75e45cae14e5d20b2c69 (diff) |
FROMLIST: board: rockchip: unblock CAN bus in spl_board_init on JaguarHEADv2024.07-puma
GPIO0_B7 is routed to TXI of the on-board CAN transceiver. The
line has a pull-down per SoC default.
This means the CAN transceiver transmits a dominant zero
and blocks the CAN bus until Linux boots and reconfigures the pin.
Let's switch to pull-up as soon as we can (i.e. in SPL).
This cuts down the "bus is blocked" time from 10 seconds to < 1 second.
Of course, to this needs CONFIG_SPL_BOARD_INIT, so enable it
the Jaguar defconfig.
Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@cherry.de>
Link: https://lore.kernel.org/u-boot/20250617084253.1756035-1-jakob.unterwurzacher@cherry.de/
Relates-to: JAG-403
Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@cherry.de>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions