On 3/11/26 09:41, [email protected] wrote:
From: Du Huanpeng <[email protected]> set pin to uart alternate function and enable uart for lowlevel debug, also future pinctrl driver can base on this code. Signed-off-by: Du Huanpeng <[email protected]> --- arch/mips/mach-loongson/include/mach/serial.h | 16 +++ arch/mips/mach-loongson/ls1c300/gpio.c | 66 +++++++++++ arch/mips/mach-loongson/ls1c300/serial.c | 104 ++++++++++++++++++ 3 files changed, 186 insertions(+) create mode 100644 arch/mips/mach-loongson/include/mach/serial.h create mode 100644 arch/mips/mach-loongson/ls1c300/gpio.c create mode 100644 arch/mips/mach-loongson/ls1c300/serial.c
Reviewed-by: Daniel Schwierzeck <[email protected]> -- - Daniel

