This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit fe08e19b4a3d79d5fc51cde4bf4a53492d369fef
Author: ouyangxiangzhen <[email protected]>
AuthorDate: Thu Sep 3 10:15:14 2026 +0800

    drivers/serial: enable 16550_SET_MCR_OUT2 by default
    
    The serial interrupt is not generated on ACRN Hypervisor unless the
    OUT2 bit of MCR is set.  Enabling 16550_SET_MCR_OUT2 by default has
    no negative effect and avoids such platform compatibility issues, so
    follow the design of Windows and Linux which enable MCR OUT2 by
    default.
    
    Signed-off-by: ouyangxiangzhen <[email protected]>
---
 drivers/serial/Kconfig-16550 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/serial/Kconfig-16550 b/drivers/serial/Kconfig-16550
index dea015830b1..f7d78fda3be 100644
--- a/drivers/serial/Kconfig-16550
+++ b/drivers/serial/Kconfig-16550
@@ -562,7 +562,7 @@ config 16550_WAIT_LCR
 
 config 16550_SET_MCR_OUT2
        bool "Set MCR OUT2 bit high"
-       default n
+       default y
        ---help---
                Some platforms require OUT2 of MCR being set for interrupt to 
be triggered
 

Reply via email to