Hi Laurent, On Fri, Jan 6, 2017 at 1:21 PM, Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com> wrote: > SCI instances found in SH SoCs have different spacing between registers > depending on the SoC. The platform data contains a regshift field that > tells the driver by how many bits to shift the register offset to > compute its address. We can compute the regshift value automatically > based on the memory resource size, there's no need to pass the value > through platform data. > > Fix the sh7750 SCI and sh7760 SIM port memory resources length to ensure > proper computation of the regshift value. > > Signed-off-by: Laurent Pinchart <laurent.pinchart+rene...@ideasonboard.com>
I've also verified that all H8 DTS files use length "8" in their "renesas,sci" reg properties. Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds