SCI IP on RZ/G2L alike SoCs do not need regshift compared to other SCI IPs on the SH platform. Currently, it does regshift and configuring Rx wrongly. Drop adding regshift for RZ/G2L alike SoCs.
Unified · Split
| @@ -2937,7 +2937,7 @@ static int sci_init_single(struct platform_device *dev, · 2936 unmodified lines | |||
| 2937 | port->flags = UPF_FIXED_PORT | UPF_BOOT_AUTOCONF | p->flags; | 2937 | port->flags = UPF_FIXED_PORT | UPF_BOOT_AUTOCONF | p->flags; |
| 2938 | port->fifosize = sci_port->params->fifosize; | 2938 | port->fifosize = sci_port->params->fifosize; |
| 2939 | 2939 | ||
| 2940 | if (port->type == PORT_SCI) { | 2940 | if (port->type == PORT_SCI && !dev->dev.of_node) { |
| 2941 | if (sci_port->reg_size >= 0x20) | 2941 | if (sci_port->reg_size >= 0x20) |
| 2942 | port->regshift = 2; | 2942 | port->regshift = 2; |
| 2943 | else | 2943 | else |