1b55353c9214788b0d0797a5fd4585af1557a12c |
|
20-Jun-2014 |
Geert Uytterhoeven <geert+renesas@glider.be> |
ARM: shmobile: Move r8a7779.h Change location of r8a7779.h so it can be included as "r8a7779.h" instead of the old style <mach/r8a7779.h> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
f48039a3da40f0c193122c83ad582913f2daf29d |
|
15-May-2014 |
Simon Horman <horms+renesas@verge.net.au> |
ARM: shmobile: r8a7779: Move r8a7779_earlytimer_init to clock-r8a7779.c r8a7779_earlytimer_init() calls r8a7779_clock_init() and r8a7779_clock_init() is defined in clock-r8a7779.c. If both CONFIG_COMMON_CLK and CONFIG_ARCH_R8A7779 are enabled, as will be the case when marzen-reference moves to use the common clock framework, then setup-r8a7779.c is compiled but clock-r8a7779.c is not. As r8a7779_earlytimer_init() is not used by marzen-reference simply move it to clock-r8a7779.c. [horms+renesas@verge.net.au: rebase] Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
3e05f24aa95bb043f1103b41392b61ce83d2675e |
|
15-May-2014 |
Simon Horman <horms+renesas@verge.net.au> |
ARM: shmobile: r8a7779: Add helper to read mode pins Add and use helper to read mode pins. This will be re-used when moving marzen-reference to the common clock framework. Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
fd44aa5e570d1d8c7d361dcbf94c2b8cd25cfe92 |
|
17-Jun-2014 |
Magnus Damm <damm+renesas@opensource.se> |
ARM: shmobile: Move common.h Change location for common.h so it can be used as #include "common.h" instead of the old style #include <mach/common.h>. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
ad6ffa0b59dc2c81474d7642fa2188e25cce99d6 |
|
17-Jun-2014 |
Magnus Damm <damm+renesas@opensource.se> |
ARM: shmobile: Move clock.h Change location of clock.h so it can be used as #include "clock.h" instead of the old style #include <mach/clock.h>. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
e4ae34e285b1c102686cb1c2a39ef93f930bf8f4 |
|
23-Apr-2014 |
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
ARM: shmobile: r8a7779: Switch to new style TMU device The TMU (Timer Unit) driver implements a new style of platform data that handles the timer as a single device with multiple channel. Switch from the old-style platform data to the new-style platform data. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
d690f4681ceddeb3f077c661a19af0b8e0411ae7 |
|
08-Jan-2014 |
Simon Horman <horms+renesas@verge.net.au> |
ARM: shmobile: r8a7779: Remove unused clock constants Signed-off-by: Simon Horman <horms+renesas@verge.net.au> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
|
017410f686b8d9928ce30e4eb146175ea672f4c9 |
|
14-Dec-2013 |
Laurent Pinchart <laurent.pinchart@ideasonboard.com> |
ARM: shmobile: r8a7779: Wait for status on selected MSTP clocks When enabling some of the module clocks by clearing stop bits in the MSTP control registers, the CPG requires waiting for the status registers to signal that the clocks have started. Failure to do so will result in returning from the clk_enable() call with the clock potentially still disabled, leading to various race conditions and difficult to debug errors. Enable status wait for all the r8a7779 MSTP clocks that report their status. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
2624705ceb7b139cffdb409682d3e1bc480abec7 |
|
22-Oct-2013 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: r8a7779: tidyup DT node naming According to ePAPR spec, this patch tidies up DT node name and related clock. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
fee05eb3d2ce4813b5e9a70ab888d2bc0047f4e1 |
|
26-Nov-2013 |
Simon Horman <horms+renesas@verge.net.au> |
ARM: shmobile: r8a7779: add HSPI clock support for DT Based on work for the r8a7778 SoC by Kuninori Morimoto. Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
ac0ddd9d0baa68e952428325d42cc50a80b18761 |
|
11-Oct-2013 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: r8a7779: add SDHI clock support for DT Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
b918b68123718f262abcac6509dc8c05ee47e851 |
|
04-Oct-2013 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: r8a7779: add I2C clock for DT 10e8d4f6dddb0f9dc408c2f2bde8399b243a42ca (ARM: mach-shmobile: r8a7779: Minimal setup using DT) added I2C driver for DT, but it didn't add clock. This patch adds missing clock for I2C Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
acf47ee741c4a5eb8a17438e8858f1cffa1e073a |
|
08-Aug-2013 |
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
ARM: shmobile: r8a7779: Rename DU device in clock lookups list The DU device will be called rcar-du-r8a7779. Rename the clock lookup entry accordingly. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
4714a0255eee45b87634ab28f8a7e66038f645ba |
|
22-Aug-2013 |
Vladimir Barinov <vladimir.barinov@cogentembedded.com> |
[media] ARM: shmobile: r8a7779: add VIN support Add VIN clocks and platform devices for R8A7779 SoC; add function to register the VIN platform devices. [Sergei: added 'id' parameter check to r8a7779_add_vin_device(), used '*pdata' in *sizeof* operator there, renamed some variables, annotated vin[0-3]_resources [] and 'vin[0-3]_info' as '__initdata'.] Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Acked-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
|
589ebdef7e3107401bf96a9c660753d397329ee9 |
|
07-Jun-2013 |
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> |
sh_eth: get R8A777x support out of #ifdef Get the R-Car code/data in the driver out of #ifdef by adding "r8a777x-ether" to the platfrom driver's ID table; since it's the last #ifdef, we remove CARDNAME from the ID table and no longer check the driver data before assigning it to 'mdp->cd'... Change the Ether platform device's name in the ARM platform code accordingly. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
0f704e1285100452ad8b02a1658fe723bc93aeee |
|
09-Apr-2013 |
Phil Edworthy <Phil.Edworthy@renesas.com> |
ARM: shmobile: r8a7779: Add PCIe clocks Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
dace48d04dee46a3409d5e13cd98031522e46377 |
|
04-Apr-2013 |
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> |
ARM: shmobile: R8A7779: add Ether support Add Ether clock and platform device for R8A7779 SoC; add a function to register this device with board-specific platform data. Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
f0ff5a0a82b0c1be8e14584aa66a7890e08361d9 |
|
04-Apr-2013 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: r8a7779: add each clocks ratio on comment area Adding comment describing the r8a7779 clock frequencies depending on MD pin settings. Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
ec0728d67985690f329592e68f0f1fe1f2388e70 |
|
27-Mar-2013 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: r8a7779: remove DIV4 clocks and use fixed ratio clock R-Car H1 has many clocks, and it is possible to read/use clock ratio of these clocks from FRQMRx as DIV4 clocks. But, these ratio are fixed value and these are decided by MD pin status. This means that we can use fixed ratio clock via MD pin status, instead of DIV4 clocks. This patch reads MD pin status, and sets PLLA clock (= root clock), and used fixed ratio clock for other clocks. It was tesed on marzen board. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
d75bc78b508d0a95d7738290d8ec9923691f4301 |
|
31-Jan-2013 |
Phil Edworthy <phil.edworthy@renesas.com> |
r8a7779: Add Display Unit clock support Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> [Rename device from to rcarfb to rcar-du] Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> [Manual conflict resolution] Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
a7b9837c7749bf3333151a7d060d239caff1569d |
|
27-Feb-2013 |
Vladimir Barinov <vladimir.barinov@cogentembedded.com> |
ARM: mach-shmobile: r8a7779: add SATA support Add SATA clock for r8a7779 SoC (for both device tree and usual cases). Register SATA controller as a "late" platform device on r8a7779 SoC. Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
f9047306fd7332d682898dd689152bb3b45a3e73 |
|
15-Feb-2013 |
Simon Horman <horms+renesas@verge.net.au> |
ARM: shmobile: r8a7779: Correct TMU clock support again After discussion on the linux-sh mailing list and reference to the hardware documentation it appears that 'TMU00', 'TMU01' and 'TMU02' use a common clock. The sh_tmu.1 portion of this change resolves a regression introduced in 58079fa7d54a0929d304054ee759187a2ccd3cdf (ARM: shmobile: r8a7779: Correct TMU clock support) and fixes a regression introduced by that patch. That patch is queued up for v3.9. ... hub 4-0:1.0: USB hub found hub 4-0:1.0: 2 ports detected INFO: rcu_sched self-detected stall on CPUINFO: rcu_sched detected stalls on +CPUs/tasks: { 1} (detected by 2, t=279640 jiffies, g=4294967052, c=4294967051, +q=38) Task dump for CPU 1: swapper/0 R running 0 1 0 0x00000002 [<c02b8f5c>] (__schedule+0x1b0/0x4c0) from [<c013c590>] (__loop_delay+0x4/0xc) { 1} (t=279640 jiffies g=4294967052 c=4294967052 q=37) [<c000ef9c>] (unwind_backtrace+0x0/0xf8) from [<c0068488>] +(rcu_check_callbacks+0x218/0x6b8) [<c0068488>] (rcu_check_callbacks+0x218/0x6b8) from [<c0026774>] +(update_process_times+0x38/0x4c) [<c0026774>] (update_process_times+0x38/0x4c) from [<c00569e0>] +(tick_nohz_handler+0xb4/0x11c) [<c00569e0>] (tick_nohz_handler+0xb4/0x11c) from [<c000e518>] +(twd_handler+0x34/0x44) [<c000e518>] (twd_handler+0x34/0x44) from [<c0063484>] +(handle_percpu_devid_irq+0x68/0x80) [<c0063484>] (handle_percpu_devid_irq+0x68/0x80) from [<c005febc>] +(generic_handle_irq+0x20/0x30) [<c005febc>] (generic_handle_irq+0x20/0x30) from [<c000a5ec>] +(handle_IRQ+0x40/0x90) [<c000a5ec>] (handle_IRQ+0x40/0x90) from [<c000934c>] (gic_handle_irq+0x2c/0x5c) [<c000934c>] (gic_handle_irq+0x2c/0x5c) from [<c0009a40>] (__irq_svc+0x40/0x50) Exception stack(0xef03ddf8 to 0xef03de40) dde0: 000001c1 ffffffff de00: 000001d8 01bf01bf ef35ec40 ef35e800 ef35ec6c 0000002b ef35ec68 c013c560 de20: c0392994 60000113 00000000 ef03de40 c01a5d40 c013c590 20000113 ffffffff [<c0009a40>] (__irq_svc+0x40/0x50) from [<c013c590>] (__loop_delay+0x4/0xc) Cc: Denis Oliver Kropp <dok@directfb.org> Cc: Magnus Damm <damm@opensource.se> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
58079fa7d54a0929d304054ee759187a2ccd3cdf |
|
04-Feb-2013 |
Simon Horman <horms+renesas@verge.net.au> |
ARM: shmobile: r8a7779: Correct TMU clock support During code review it was noticed that the clock value for TMU01 was incorrect and the value for TMU02 was missing. For reference: As of 3.8-rc6 there are no in-tree consumes of these clocks. Reported-by: Denis Oliver Kropp <dok@directfb.org> Reviewed-by: Magnus Damm <damm@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
9d69f5b87e7f6df51ad2a70557474093de934a8c |
|
29-Oct-2012 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: r8a7779: add USB OHCI clock support ohci-platform driver require these clocks Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au>
|
88419548f23c01c7b8def25baab87ea6bc79c9cf |
|
29-Oct-2012 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: r8a7779: add USB EHCI clock support ehci-platform driver require these clocks Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au>
|
16c40abcfa8738da9aa0e25b407bbf0dcbdd5e13 |
|
11-Oct-2012 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: r8a7779: add I2C clock support This patch is required from R-Car I2C driver Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au>
|
f92246e61a4e1a2afae0701c557f65e6a8ecfe3d |
|
11-Oct-2012 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: r8a7779: add HSPI clock support Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au>
|
11f93576b0b50bf391ffafa544b85e541f5e59a5 |
|
15-Oct-2012 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: r8a7779: use __iomem pointers for MMIO 0a4b04dc299dfb691827a4001b3d8d7e443b71c9 (ARM: shmobile: use __iomem pointers for MMIO) modified iomem pointers so that IOMEM() macro will be used, but clock-r8a7779.c was out of target. This patch fixes it up. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au>
|
263510ec774b490dffbd0b8db7b723025cf560c9 |
|
06-Aug-2012 |
Phil Edworthy <phil.edworthy@renesas.com> |
r8a7779: add SDHI clock support Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au>
|
64e9de2f854fb5d08d255b24568c60b090f2603a |
|
27-Jun-2012 |
Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> |
ARM: mach-shmobile: Convert sh_clk_mstp32_register to sh_clk_mstp_register sh_clk_mstp32_register is deprecated. This convert to sh_clk_mstp_register. Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
|
6b6a4c067cefe04eb0a0e7d1cace16ae727c6295 |
|
29-Feb-2012 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() Rename clk_init() to shmobile_clk_init() to avoid a potential future name space collision with the common clock framework. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
|
ae8d1949022d377da45bbe4410c53ad4aaf9865e |
|
29-Feb-2012 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: r8a7779 sh_clk_ops rename Convert r8a7779 to use sh_clk_ops. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
|
916b1f8c81ea563611288d1a9b082df3f723e4fe |
|
20-Dec-2011 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-r8a7779: clkz/clkzs support Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
b5813c73860687ccc634d463416c377fc96b257e |
|
20-Dec-2011 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-r8a7779: add DIV4 clock support Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
f411fade0085a0d2c080bd64e72e0aff55bcbd09 |
|
13-Dec-2011 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: r8a7779 and Marzen base support V2 Initial support for the r8a7779 SoC and the Marzen board (V2). Only SCIF ports and the TMU are supported at this point. To keep things simple only entity-mapped virt-to-phys mappings are supported. This forces drivers and other SoC glue code to make use of ioremap(). We cannot support early serial console due to virtual address space collisions with the ARM kernel. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|