xref: /optee_os/core/include/drivers/qcom_geni_uart.h (revision cdd2fe13991b335d22f74be6fe412f90eb796497)
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (c) 2024, Linaro Limited
4  * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
5  */
6 #ifndef __DRIVERS_QCOM_GENI_UART_H
7 #define __DRIVERS_QCOM_GENI_UART_H
8 
9 #include <drivers/serial.h>
10 #include <types_ext.h>
11 
12 #define GENI_UART_REG_SIZE 0x4000
13 
14 struct qcom_geni_uart_data {
15 	struct io_pa_va base;
16 	struct serial_chip chip;
17 };
18 
19 void qcom_geni_uart_init(struct qcom_geni_uart_data *pd, paddr_t base);
20 
21 #endif /* __DRIVERS_QCOM_GENI_UART_H */
22