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_BUADRATE
8	depends on DT_HAS_ITE_IT8XXX2_UART_ENABLED
9	help
10	  IT8XXX2 uses shared ns16550.c driver which does not
11	  provide a power management callback, so create driver
12	  to handle IT8XXX2 specific UART features. In addition
13	  to use pm_action_cb, we also need to make some setting
14	  at uart_it8xxx2_init.
15
16config UART_ITE_IT8XXX2_INIT_PRIORITY
17	int "ITE IT8XXX2 UART wrapper init priority"
18	default 51
19	depends on UART_ITE_IT8XXX2
20	help
21	  Initialization priority for the UART wrapper driver on ITE IT8XXX2,
22	  must be set to a lower priority than the matching ns16550 device
23	  (CONFIG_SERIAL_INIT_PRIORITY).
24