7d5215ff19
Update serial drivers to use DT_HAS_<compat>_ENABLED Kconfig symbol to expose the driver and enable it by default based on devicetree. We remove 'depend on' Kconfig for symbols that would be implied by the devicetree node existing. Signed-off-by: Kumar Gala <galak@kernel.org>
23 lines
594 B
Plaintext
23 lines
594 B
Plaintext
# Xilinx UART configuration
|
|
|
|
# Copyright (c) 2018 Xilinx Inc.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config UART_XLNX_PS
|
|
bool "Xilinx Zynq 7000/ZynqMP serial driver"
|
|
default y
|
|
depends on DT_HAS_XLNX_XUARTPS_ENABLED
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
help
|
|
This option enables the UART driver for Xilinx MPSoC platforms.
|
|
|
|
config UART_XLNX_UARTLITE
|
|
bool "Xilinx UART Lite"
|
|
default y
|
|
depends on DT_HAS_XLNX_XPS_UARTLITE_1_00_A_ENABLED
|
|
select SERIAL_HAS_DRIVER
|
|
select SERIAL_SUPPORT_INTERRUPT
|
|
help
|
|
This option enables the UART driver for Xilinx UART Lite IP.
|