Replies: 2 comments 5 replies
-
Hi, Thanks for the report! I'll add this fix to my branch at some point. |
Beta Was this translation helpful? Give feedback.
5 replies
-
Hi! I make a merge request but still not reply |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'am trying to use the Uart1 adding it config to the .dts file like this:
I'am in the kernel version 6.1 rebase
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_mode2_pins>;
status = "okay";
};
and alias
Recompile and load the new kernel. But the system refuses load the driver, the log message that i get:
pinctrl-msc313 1f203c00.pinctrl: invalid group "uart1_mode1" for function "uart1"
@fifteenhex I had a look at the pinctrl-msc313.c and found the bug at:
static const char * const ssd20xd_uart1_groups[] = {
GROUPNAME_UART1_MODE1
GROUPNAME_UART1_MODE2
GROUPNAME_UART1_MODE3
GROUPNAME_UART1_MODE4
};
It need comas after each GRUOUPNAME fields
static const char * const ssd20xd_uart1_groups[] = {
GROUPNAME_UART1_MODE1,
GROUPNAME_UART1_MODE2,
GROUPNAME_UART1_MODE3,
GROUPNAME_UART1_MODE4,
};
Now it works fine!
[ 0.236048] 1f221000.serial: ttyS0 at MMIO 0x1f221000 (irq = 43, base_baud = 10800000) is a 16550A
[ 0.970559] printk: console [ttyS0] enabled
[ 0.975878] 1f221200.uart: ttyS1 at MMIO 0x1f221200 (irq = 44, base_baud = 10 800000) is a 16550A
Beta Was this translation helpful? Give feedback.
All reactions