airoha: an7581: enable uart baudrate control
authorAleksander Jan Bajkowski <[email protected]>
Sun, 14 Sep 2025 15:38:24 +0000 (17:38 +0200)
committerRobert Marko <[email protected]>
Thu, 18 Sep 2025 13:28:44 +0000 (15:28 +0200)
commit440b85f5b1025d26b3a40d6b55b34b17cb6520c8
treee67dd57b1f22d5af43f5a298c1ce5047330cb536
parent055fa9b61e7e45397fe9d1db65e89337d3140bac
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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20049
Signed-off-by: Robert Marko <[email protected]>
target/linux/airoha/an7581/config-6.12
target/linux/airoha/an7581/config-6.6
target/linux/airoha/patches-6.6/105-uart-add-en7523-support.patch