1# Copyright (c) 2021 ITE Corporation. All Rights Reserved. 2# SPDX-License-Identifier: Apache-2.0 3 4config UART_ITE_IT8XXX2 5 bool "ITE IT8XXX2 UART driver" 6 default y 7 select UART_NS16550_ITE_HIGH_SPEED_BAUDRATE 8 depends on DT_HAS_ITE_IT8XXX2_UART_ENABLED 9 select PINCTRL 10 help 11 IT8XXX2 uses shared ns16550.c driver which does not 12 provide a power management callback, so create driver 13 to handle IT8XXX2 specific UART features. In addition 14 to use pm_action_cb, we also need to make some setting 15 at uart_it8xxx2_init. 16 17config UART_ITE_IT8XXX2_INIT_PRIORITY 18 int "ITE IT8XXX2 UART wrapper init priority" 19 default 51 20 depends on UART_ITE_IT8XXX2 21 help 22 Initialization priority for the UART wrapper driver on ITE IT8XXX2, 23 must be set to a lower priority than the matching ns16550 device 24 (CONFIG_SERIAL_INIT_PRIORITY). 25