7633279d4a
This patch extends the UART QMSI driver so it supports the IRQ APIs from include/uart.h. The IRQ APIs are enabled by the 'CONFIG_UART_INTERRUPT_ DRIVEN' option. Differently from others APIs such as I2C and SPI, the UART API is very low level. For that reason, the IRQ facilities (e.g. irq based transfers) from the QMSI driver are not useful to the shim driver at the moment. In order to implement the IRQ APIs we rely on UART registers defined by QMSI. QMSI UART header is missing some macro definitions from IRR register so we define them in the shim driver. Since the IRQ trigger condition is not configurable in the QMSI shim driver, this patch also changes drivers/serial/Kconfig so the "UART IRQ Trigger Condition" choice doesn't appear on the menu if the QMSI driver is selected. Change-Id: Idf9a0f6a47af2a550a31f474d721068dca989713 Signed-off-by: Andre Guedes <andre.guedes@intel.com> |
||
---|---|---|
.. | ||
arc | ||
arm | ||
x86 | ||
Kconfig | ||
Makefile |