OpenCloudOS-Kernel/arch/sh/kernel/cpu/sh3
Laurent Pinchart dfc80387ae serial: sh-sci: Compute the regshift value for SCI ports
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+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-19 14:17:05 +01:00
..
Makefile sh: replace CONFIG_GENERIC_GPIO by CONFIG_GPIOLIB 2013-03-20 22:48:15 +09:00
clock-sh3.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7705.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7706.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7709.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7710.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
clock-sh7712.c sh: sh3 sh_clk_ops rename 2012-03-12 22:19:11 +01:00
entry.S sh: Support thread fault code encoding. 2012-05-14 14:57:28 +09:00
ex.S sh: hw-breakpoints: Add preliminary support for SH-4A UBC. 2009-12-08 15:02:27 +09:00
pinmux-sh7720.c sh: sh7720: Add pin control resources 2013-03-15 13:33:51 +01:00
probe.c sh: delete __cpuinit usage from all sh files 2013-07-14 19:36:53 -04:00
serial-sh770x.c serial: sh-sci: Abstract register maps. 2011-06-14 12:40:19 +09:00
serial-sh7710.c serial: sh-sci: Abstract register maps. 2011-06-14 12:40:19 +09:00
serial-sh7720.c sh: Fix up se7721 GPIOLIB=y build warnings. 2012-07-02 15:06:22 +09:00
setup-sh3.c sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
setup-sh770x.c serial: sh-sci: Compute the regshift value for SCI ports 2017-01-19 14:17:05 +01:00
setup-sh7705.c sh: Don't set the sh-sci platform data scscr CKE0 bit 2017-01-19 14:17:05 +01:00
setup-sh7710.c sh: Don't set the sh-sci platform data scscr CKE0 bit 2017-01-19 14:17:05 +01:00
setup-sh7720.c sh: Don't set the sh-sci pdata UPF_BOOT_AUTOCONF flags 2017-01-19 14:17:05 +01:00
swsusp.S sh: hibernation support 2009-03-10 12:55:40 +09:00