ITE: drivers/serial: add the UART driver for the PM callback function
IT8XXX2 uses shared ns16550.c driver which does not provide a power management callback(pm_action_cb), so create driver to handle IT8XXX2 specific UART features. note: pm_action_cb(old name: pm_control_fn) Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
This commit is contained in:
parent
1b416f7fd1
commit
e29a15c0e3
10 changed files with 206 additions and 114 deletions
11
drivers/serial/Kconfig.it8xxx2
Normal file
11
drivers/serial/Kconfig.it8xxx2
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2021 ITE Corporation. All Rights Reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
config UART_ITE_IT8XXX2
|
||||
bool "ITE IT8XXX2 UART driver"
|
||||
help
|
||||
IT8XXX2 uses shared ns16550.c driver which does not
|
||||
provide a power management callback, so create driver
|
||||
to handle IT8XXX2 specific UART features. In addition
|
||||
to use pm_action_cb, we also need to make some setting
|
||||
at uart_it8xxx2_init.
|
Loading…
Add table
Add a link
Reference in a new issue