zephyr/drivers/can/Kconfig.rcar
Henrik Brix Andersen 8746b2cb33 drivers: can: Update drivers to use devicetree Kconfig symbol
Update CAN drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose
the driver and enable it by default based on devicetree.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
2022-07-21 06:02:28 -05:00

21 lines
493 B
Plaintext

# Renesas R-Car CAN configuration options
# Copyright (c) 2021 IoT.bzh
# SPDX-License-Identifier: Apache-2.0
config CAN_RCAR
bool "Renesas R-Car CAN Driver"
default y
depends on DT_HAS_RENESAS_RCAR_CAN_ENABLED
help
Enable Renesas R-Car CAN Driver.
config CAN_RCAR_MAX_FILTER
int "Maximum number of concurrent active filters"
depends on CAN_RCAR
default 5
range 1 32
help
Defines the array size of the callback/msgq pointers.
Must be at least the size of concurrent reads.