--- zzzz-none-000/linux-5.15.111/include/linux/serial_core.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/include/linux/serial_core.h 2024-02-07 10:23:27.000000000 +0000 @@ -55,6 +55,7 @@ void (*set_ldisc)(struct uart_port *, struct ktermios *); void (*pm)(struct uart_port *, unsigned int state, unsigned int oldstate); + void (*wake_peer)(struct uart_port *); /* * Return a string describing the type of the port @@ -190,6 +191,7 @@ #define UPF_BUGGY_UART ((__force upf_t) ASYNC_BUGGY_UART /* 14 */ ) #define UPF_MAGIC_MULTIPLIER ((__force upf_t) ASYNC_MAGIC_MULTIPLIER /* 16 */ ) +#define UPF_AVM_POLLING ((__force upf_t) (1 << 18)) #define UPF_NO_THRE_TEST ((__force upf_t) (1 << 19)) /* Port has hardware-assisted h/w flow control */ #define UPF_AUTO_CTS ((__force upf_t) (1 << 20)) @@ -441,6 +443,13 @@ int uart_suspend_port(struct uart_driver *reg, struct uart_port *port); int uart_resume_port(struct uart_driver *reg, struct uart_port *port); +/* + * Uart enable/disable control + * */ +#ifdef CONFIG_INTEL_UART_ENABLE_CONTROL +int uart_sysfs_create_uart_enable_ctrl(void); +#endif + #define uart_circ_empty(circ) ((circ)->head == (circ)->tail) #define uart_circ_clear(circ) ((circ)->head = (circ)->tail = 0)