[openwrt/openwrt] airoha: add missing Kconfig entry on 6.12

LEDE Commits lede-commits at lists.infradead.org
Thu Sep 18 12:53:08 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/16075e1be793d3230c1c700b9955d92de99c96a5

commit 16075e1be793d3230c1c700b9955d92de99c96a5
Author: Aleksander Jan Bajkowski <olek2 at wp.pl>
AuthorDate: Thu Sep 18 19:15:46 2025 +0200

    airoha: add missing Kconfig entry on 6.12
    
    This commit adds the missing Kconfig entry. It was accidentally
    omitted previously.
    
    Fixes: 440b85f5b102 ("airoha: an7581: enable uart baudrate control")
    Signed-off-by: Aleksander Jan Bajkowski <olek2 at wp.pl>
    Link: https://github.com/openwrt/openwrt/pull/20087
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../patches-6.12/105-uart-add-en7523-support.patch    | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/target/linux/airoha/patches-6.12/105-uart-add-en7523-support.patch b/target/linux/airoha/patches-6.12/105-uart-add-en7523-support.patch
index a2b577935d..cad2a715d9 100644
--- a/target/linux/airoha/patches-6.12/105-uart-add-en7523-support.patch
+++ b/target/linux/airoha/patches-6.12/105-uart-add-en7523-support.patch
@@ -135,6 +135,25 @@
  	/*
  	 * LCR DLAB must be set to enable 64-byte FIFO mode. If the FCR
  	 * is written without DLAB set, this mode will be disabled.
+--- a/drivers/tty/serial/8250/Kconfig
++++ b/drivers/tty/serial/8250/Kconfig
+@@ -355,6 +355,16 @@ config SERIAL_8250_ACORN
+ 	  system, say Y to this option.  The driver can handle 1, 2, or 3 port
+ 	  cards.  If unsure, say N.
+ 
++config SERIAL_8250_AIROHA
++	tristate "Airoha UART support"
++	depends on (ARCH_AIROHA || COMPILE_TEST) && OF && SERIAL_8250
++	help
++	  Selecting this option enables an Airoha SoC specific baud rate
++	  calculation routine on an otherwise 16550 compatible UART hardware.
++
++	  If you have an Airoha based board and want to use the serial port,
++	  say Y to this option. If unsure, say N.
++
+ config SERIAL_8250_BCM2835AUX
+ 	tristate "BCM2835 auxiliar mini UART support"
+ 	depends on ARCH_BCM2835 || COMPILE_TEST
 --- a/drivers/tty/serial/8250/Makefile
 +++ b/drivers/tty/serial/8250/Makefile
 @@ -20,6 +20,7 @@ obj-$(CONFIG_SERIAL_8250_CONSOLE)	+= 825




More information about the lede-commits mailing list