zephyr/drivers/can/transceiver/Kconfig
Henrik Brix Andersen 44f3f2e49b drivers: can: initialize CAN transceivers prior to CAN controllers
Change the default initialization priority for CAN transceiver from 70 to
45 to initialize them before the CAN controllers (with default a
initialization priority of 50).

Fixes: #45219

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2022-04-29 12:34:28 +02:00

22 lines
522 B
Plaintext

# CAN transceiver configuration options
# Copyright (c) 2022 Vestas Wind Systems A/S
# SPDX-License-Identifier: Apache-2.0
menu "CAN transceiver drivers"
config CAN_TRANSCEIVER_INIT_PRIORITY
int "CAN transceiver driver init priority"
default 45
help
CAN transceiver device driver initialization priority.
config CAN_TRANSCEIVER_GPIO
bool "GPIO controlled CAN transceiver"
depends on GPIO
default $(dt_compat_enabled,can-transceiver-gpio)
help
Enable support for GPIO controlled CAN transceivers.
endmenu