]> git.ipfire.org Git - thirdparty/openwrt.git/commit
airoha: an7581: enable uart baudrate control
authorAleksander Jan Bajkowski <olek2@wp.pl>
Sun, 14 Sep 2025 15:38:24 +0000 (17:38 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 10 Nov 2025 16:30:05 +0000 (17:30 +0100)
commitf364fe5e09442e030e9b01b320d1664139ef9197
tree32e73f9b46b93ee4e2246883aabad5b2de625e4f
parentdc11868486deb6688a1bb2fa4b04e84ce347eae8
airoha: an7581: enable uart baudrate control

The baud rate control on Airoha does not function properly. This
patch enables the inactive code responsible for this. The UART2
baud rate is correct. HSUART3 operates at twice the requested
baud rate. The same problem exists in the current code, so this
doesn't introduce any regression. Support for baud rates higher
than 460800 is still required. This will be added in the future.

Tested on Gemtek W1700k. UART2 and HSUART3 are working fine.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/20049
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 440b85f5b1025d26b3a40d6b55b34b17cb6520c8)
[ solve conflict error ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/airoha/an7581/config-6.6
target/linux/airoha/patches-6.6/105-uart-add-en7523-support.patch