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>
|
8e8236a9d86e5cf5979be13c3063d2381fbed285 |
|
23-Apr-2014 |
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
ARM: shmobile: sh7372: 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>
|
386f60aae35271efa4dc7c407f65269b7cb71edb |
|
23-Apr-2014 |
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
ARM: shmobile: sh7372: Switch to new style CMT device The CMT (Compare Match Timer) 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>
|
8af3f18b7b42e32387b54d2e2f8300589b0198e9 |
|
19-Nov-2013 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: sh7372: tidyup clock table order SuperH lookups clock is using CLKDEV_CON/DEV/ICK_ID() macro for a long term. But in these days, the ICK clock is defined in random place. This patch arranges it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
|
5070158804b5339c71809f5e673cea1cfacd804d |
|
30-Mar-2013 |
Viresh Kumar <viresh.kumar@linaro.org> |
cpufreq: rename index as driver_data in cpufreq_frequency_table The "index" field of struct cpufreq_frequency_table was never an index and isn't used at all by the cpufreq core. It only is useful for cpufreq drivers for their internal purposes. Many people nowadays blindly set it in ascending order with the assumption that the core will use it, which is a mistake. Rename it to "driver_data" as that's what its purpose is. All of its users are updated accordingly. [rjw: Changelog] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
|
99fb32b88be4e9b12c44f61b613a0936a62454b7 |
|
27-Mar-2013 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: sh7372: use fixed ratio clock Current clock-sh7372 is using own implement for each divX clocks. This patch switches to use fixed ratio clock, and was tesed on mackerel 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>
|
b3186c68805911599cbacceae23f60debb5e2210 |
|
27-Mar-2013 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: sh7372: remove DIV4_ZT* clocks DIV4_ZT* clocks are for debugging and trace bus clock. It is not necessary to control it from Linux/Software. 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>
|
529a7b323507c1aa0873066d84487b1ca7c28af5 |
|
14-Dec-2012 |
Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
ARM: sh7372: add clock lookup entries for DT-based devices When booting with DT, devices are named differently. To get their clocks additional entries have to be added to the lookup table. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Simon Horman <horms@verge.net.au>
|
d5b689089d7db3851c4d5d6b3727d22ef44d2023 |
|
08-Nov-2012 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: sh7372: sh7372_fsiXck_clk become non-global FSI's external clock is controled by FSI driver. Global sh7372_fsiXck_clk is no-longer needed now. But it needs to set external clock rate by platform, so, this patch supports clk_get() interface. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au>
|
d14795f6927625fdd92fbc5dfbe7d8f3d1995e3e |
|
08-Nov-2012 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: sh7372: remove fsidivx clock fsidivx clock is no longer needed. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au>
|
2944628607f76e4755660cd710f22a4748ef88d8 |
|
08-Nov-2012 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: add fsi external clock sh7372 xcka/xckb were required from FSI driver Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au>
|
dc3cad8222ca0fc67d3f7e867e8e39a64c28bedf |
|
31-Oct-2012 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: sh7372: use sh_clk_fsidiv_register() for FSI-DIV clocks Now, sh7372 can use sh_clk_fsidiv_register() for FSI-DIV clocks. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au>
|
9ee8008e99b36fff6a06c41a76594dd1b9a0677a |
|
31-Oct-2012 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: shmobile: sh7372: sh7372_fsidivX_clk become non-global Not only sh7372 but also many Renesas chip has FSI-DIV clock, and we can share its sh_clk_ops. To support common FSI-DIV clock, sh7372_fsidivX_clk becomes non-global by this patch. This is preparation for FSI DT support. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms@verge.net.au>
|
0a4b04dc299dfb691827a4001b3d8d7e443b71c9 |
|
14-Sep-2012 |
Arnd Bergmann <arnd@arndb.de> |
ARM: shmobile: use __iomem pointers for MMIO ARM is moving to stricter checks on readl/write functions, so we need to use the correct types everywhere. This patch is a bit ugly for shmobile, which is the only platform that just uses integer literals all over the place, but I can't see a better way to do this. Acked-by: Simon Horman <horms@verge.net.au> Cc: Magnus Damm <magnus.damm@gmail.com> Cc: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Cc: Paul Mundt <lethal@linux-sh.org> Cc: linux-sh@vger.kernel.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
|
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>
|
2aab52e8fe9bffb451508f37a7affa5370bfcc9e |
|
01-Mar-2012 |
Bastian Hecht <hechtb@googlemail.com> |
ARM: mach-shmobile: mackerel: Add the flash controller flctl Add board and clock setup code for the SH Mobile flctl controller. Signed-off-by: Bastian Hecht <hechtb@gmail.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
|
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>
|
628f4561ce1d94788dbc54b69199233ce30e3ca1 |
|
29-Feb-2012 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: sh7372 sh_clk_ops rename Convert sh7372 to use sh_clk_ops. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
|
56242a1fc595d158eddefbb4d6d76e82c2535f55 |
|
22-Nov-2011 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
sh: clkfwk: setup clock parent from current register value Some clocks can select its parent clock by CPG register. But it might have been modified by boot-loader or something. This patch removed fixed initial parent clock, and setup it from their current register settings. It works on div6 reparent clocks for now. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
9250741e5feedb6a5273683a940b339af59a1086 |
|
09-Nov-2011 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
fbdev: sh_mipi_dsi: tidyup dsip_clk dsipck clock is controled by CLKDEV_ICK_ID() in clock-shxxx. dsi0p_clk/dsi1p_clk naming is not needed. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
|
91d19cd8d589c6a25ed502435a575f026f33d09f |
|
11-Nov-2011 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-sh7372: remove un-necessary index it is not necessary to have sh7372_xxxx index on static variable Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
a408baea3cdd2a7b5ad3d70080dff454b8883f62 |
|
26-Aug-2011 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: sh7372 CMT3 and CMT4 clock support Add clock control support for sh7372 CMT hardware blocks. No upstream sh7372 boards are making use of CMT3 + CMT4, but the sh7372 hardware happens to come out of reset with all CMT MSTP clocks _enabled_, so to save power we need to implement a fix in software to shut down unused clocks. This patch relies on the recently merged 794d78f drivers: sh: late disabling of clocks V2 to make sure the unused clocks get disabled as expected. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
7ceb6666f03bc691e692c8d14ea2a8f3fa879ec8 |
|
26-Aug-2011 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: sh7372 MSIOF clock support Add clock control support for sh7372 MSIOF hardware blocks. No upstream sh7372 boards are making use of MSIOF0->2, but the sh7372 hardware happens to come out of reset with all MSIOF MSTP clocks _enabled_, so to save power we need to implement a fix in software to shut down unused clocks. This patch relies on the recently merged 794d78f drivers: sh: late disabling of clocks V2 to make sure the unused clocks get disabled as expected. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
6b4cb8ffe8251a60cae6678959b9dec47337b8de |
|
25-Aug-2011 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-sh7372: fixup USB-DMAC1 settings USB-DMAC1 needs SMSTPCR4/MSTP407 controls, not MSTP214 this patch tested on mackerel board Reported-by: Magnus Damm <damm@opensource.se> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
5c3f96b20954fd6932bcfb1a860fa1d8b5b22ab0 |
|
24-Aug-2011 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: sh7372 LCDC1 suspend fix Associate the HDMI clock together with LCDC1 on sh7372. Without this patch Suspend-to-RAM hangs on the boards AP4EVB and Mackerel. The code hangs in the LCDC driver where the software is waiting forever for the hardware to power down. By explicitly associating the HDMI clock with LCDC1 we can make sure the HDMI clock is enabled using Runtime PM whenever the driver is accessing the hardware. This HDMI and LCDC1 dependency is documented in the sh7372 data sheet. Older kernels did work as expected but the recently merged (3.1-rc) 794d78f drivers: sh: late disabling of clocks V2 introduced code to turn off clocks lacking software reference which happens to include the HDMI clock that is needed by LCDC1 to operate as expected. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
|
0ed61fc9da59ea45d56a6928653691cef14bab9b |
|
30-Jun-2011 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: Use CMT2 for timer on sh7372 Switch the sh7372 CPU support to use CMT2 instead of CMT1 for system timer. CMT1 is located in the A3SP power domain while CMT2 is located in the always-on power domain C5. This improves our PM situation - with CMT2 as timer we can power down A3SP and still access the timer. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
1522043bf73ef0e9e61dc512a0f3cdbec1cbf89f |
|
06-Jul-2011 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
sh: move CLKDEV_xxx_ID macro to sh_clk.h Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
a41b64665a79b8be980d450f6e5b9354d7511700 |
|
10-Jul-2011 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: sh7372: make sure that fsi is peripheral of spu2 FSI act as peripheral circuits of the SPU2. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
|
afe48049ab1d0ca83afe45f9d5116bf4507741eb |
|
17-Jun-2011 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: sh7372: Add USB-DMAC support Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
816af7422f5bdbb74a0c9bb09735a9aeb9522c30 |
|
01-Jun-2011 |
Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
ARM: mach-shmobile: add DMAC clock definitions on SH7372 These definitions are needed to let the runtime PM subsystem turn off DMAC clocks, when it is suspended by the driver. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
cc0a5a587dece540b84f3a862f58118dedc847ab |
|
25-May-2011 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: arch-shmobile: sh7372: add renesas_usbhs irq support renesas_usbhs is remake version of r8a66597 Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
6776fba7e272ab236c789d58f290495d42684fe3 |
|
17-May-2011 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: Disable sh7372 RT side MSTP bits Update the sh7372 clock code to set the RT side set of MSTP bits to a fixed disabled state. The sh7372 SoC contains two sets of MSTP bits, one for the ARM (SYS) side, and one for the SH4AL-DSP (RT) side. The actual clock associated with the MSTP bit will only be stopped when both sides have set the MSTP bit to disabled mode. Some MSTP bits are enabled by default after hardware reset, so this patch adjusts the code to disable all MSTP bits associated with the RT side to allow the SYS side to have full control. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
bca606a646a2b1f4fa1ae2b22a0ac707505d7297 |
|
18-May-2011 |
Damian <dhobsong@igel.co.jp> |
sh_mobile: Add MSTP clock for MERAM Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
a7f800131f35925299860a95259453c9bc0c272f |
|
14-Apr-2011 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-sh7372: remove status check from fsidiv_recalc clock status check is not needed in recalc function. clk->rate will be 0 in clk_set_rate without this patch. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
ff9531ec1caf0e062da132933e33878f94449274 |
|
11-Jan-2011 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-sh7372: fixup pllc2 set_rate This patch fixup 421b446abeec55bed1251fab80cb5c12be58b773 - Care clk->rate - Don't over write PLLC2 enable bit Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reported-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Tested-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
0851d50dc12a844778a9b243e141f713cd8f074f |
|
27-Dec-2010 |
Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
ARM: mach-shmobile: improve MIPI DSI clock configuration Now, that the MIPI DSI driver implements runtime PM, we don't need anymore to configure clocks statically in the platform code. This patch also adds a DSITX1 clock definition for sh7372 and attaches PHY clocks to respective devices. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
6d803ba736abb5e122dede70a4720e4843dd6df4 |
|
17-Nov-2010 |
Jean-Christop PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> |
ARM: 6483/1: arm & sh: factorised duplicated clkdev.c factorise some generic infrastructure to assist looking up struct clks for the ARM & SH architecture. as the code is identical at 99% put the arch specific code for allocation as example in asm/clkdev.h Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
421b446abeec55bed1251fab80cb5c12be58b773 |
|
19-Nov-2010 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-sh7372: remove bogus pllc2 clock toggling. The PLLC2 clock was utilizing the same sort of enable/disable without regard to usecount approach that the FSIDIV clock was when being used as a PLL pass-through. This forces the enable/disable through the clock framework, which now prevents the clock from being ripped out or modified underneath users that have an existing handle on it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
b16a2892b9852839307894cc429b7a7b145138a7 |
|
19-Nov-2010 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-sh7372: remove unnecessary fsi clocks Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
a57b1a9bdfb61e8d7dc7acc5e2d8bc04c549e668 |
|
19-Nov-2010 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-sh7372: modify error code Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
d4bc99b977e3a1dd10a84a01ebe59ac2ccebf0cd |
|
24-Nov-2010 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: ap4evb: FSI clock use proper process for HDMI Current AP4 FSI set_rate function used bogus clock process which didn't care enable/disable and clk->usecound. To solve this issue, this patch also modify FSI driver to call set_rate with enough options. This patch modify it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
e8ee13a818db4954517cea7da6e7c15b9656eb00 |
|
19-Nov-2010 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-sh7372: remove fsidiv bogus disable Current FSIDIV clock framework had bogus disable. This patch remove it. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
4d048435e9864998f6a6ad16422393d42322716d |
|
17-Nov-2010 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: sh7372 USB0/IIC1 MSTP fix Fix a MSTP assignment problem in the sh7372 clock framework code. The USB drivers should attach to MSTP322 not MSTP33 where IIC1 is located. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
35a96c739fd7624b8edff990a74b86b5a85342da |
|
15-Nov-2010 |
Paul Mundt <lethal@linux-sh.org> |
sh: clkfwk: Kill off now unused algo_id in set_rate op. Now that clk_set_rate_ex() is gone, there is also no way to get at rate setting algo id, which is now also completely unused. Kill it off before new clock ops start using it. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
5c4e0f198d670338daf296e95b7536fdb3489590 |
|
02-Nov-2010 |
Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
ARM: mach-shmobile: fix sh7372 after a recent clock framework rework The updated sh clock framework has introduced a .nr_freqs element of struct clk, which has to be initialised with the number of possible frequencies. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
f2ace4a5d754c07503326d66ec85bf65e03d729d |
|
18-Oct-2010 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-sh7372: Add FSIDIV clock support Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
c6c049ecbccd61fae2e58fe5e2fdd369d87f3716 |
|
14-Oct-2010 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: add TMU platform data for sh7372 This patch adds support for the two first channels of the TMU0 timer block on sh7372. One channel is used for clock event, the other for clock source. Signed-off-by: Magnus Damm <damm@opensource.se> Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
69ce8aa4925a54de192cf64e99abd294586c1984 |
|
15-Oct-2010 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-sh7372: FSI parent select support Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
685e4080c62b4b5c6f67c7b088e416e98d06f7e6 |
|
15-Oct-2010 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-sh7372: add sh7372_ prefix to global clocks This patch also registered global extal clocks to sh7372.h Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
90e09a59110949bda40c13b4e5925f3acd3597b0 |
|
13-Oct-2010 |
Magnus Damm <damm@opensource.se> |
ARM: shmobile: use device name for timer clocks Move SH-Mobile ARM systems over from the legacy "clk" member of struct sh_timer_config to using the device name and clkdev for clock matching. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
5d8e3451d172441ac9f4aa1d0ff8706412bc7deb |
|
15-Sep-2010 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: modify wrong array size of div6_reparent_clks Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
4e1774f3a5de0885be2e59a8e8ef0e99c5f79e7a |
|
18-Aug-2010 |
Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
ARM: mach-shmobile: do not enable the PLLC2 clock on init AP4EVB has to reparent PLLC2 to provide a precise HDMI clock, this is only possible, if PLLC2 hasn't been enabled yet. Since no other driver currently uses PLLC2 we can safely remove the CLK_ENABLE_ON_INIT flag. This fixes the "Cannot set PLLC2 parent: -16, 1 users" error message, when trying to use HDMI on AP4EVB. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
a4909b52682c1e2ac858754c8bc46f2501e67dee |
|
26-Jul-2010 |
Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
ARM: mach-shmobile: add clock definitions for CEU and CSI2 Two more clocks to be managed by the runtime PM. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
f14c4f141ad88290bb23d597a0a47833e7891fcd |
|
27-Jul-2010 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: Runtime PM V3 This is the SH-Mobile ARM Runtime PM implementation V3. Only clocks are managed at this point. If Runtime PM is disabled then the clocks will be enabled before ->probe() and disabled after ->remove(). Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
9848f2f305380574d186555e8ebbd15946265d52 |
|
28-Jul-2010 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-sh7372: modify clock name for FSI2 Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
b90884c886696a67a4c7832b4e627f341a860b3d |
|
21-Jul-2010 |
Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
ARM: mach-shmobile: extend clock definitions on sh7372 Add definitions for DV_CLKI and HDMI clocks, extend support for PLLC2 and some other clocks. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
6e86ccad15c01e2239da9a76cfbfbf41bbe332ba |
|
25-Jun-2010 |
Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
ARM: mach-shmobile: fix typos in sh7372 clock definitions Reported-by: Magnus Damm <damm@opensource.se> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
3b79becedf3c3162c9ec1c62f0a69f01b4c876a7 |
|
25-Jun-2010 |
Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
ARM: mach-shmobile: fix EXTAL1 frequency on sh7372 EXTAL1 is clocked at 26.0MHz Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
21a89344aed62609a6815ed0e50cbd53484d3fc7 |
|
01-Jun-2010 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: clock-sh7372: Add MMCIF clock Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
cb9215e1fa13860fa8fbe9941a59fcbc45781373 |
|
24-May-2010 |
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
ARM: mach-shmobile: ap4evb: Add FSI2 support Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
d473e0a577be3205474707dd27cff3d2c2b9e307 |
|
23-May-2010 |
Guennadi Liakhovetski <g.liakhovetski@gmx.de> |
ARM: mach-shmobile: add LCDC and MIPI DSI-Tx clock definitions to sh7372 Define clock objects for switching on and off clocks for LCDC0, LCDC1 and MIPI DSI-Tx. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
83ca5c87cb4bac32f8e0cf7f0c640bfcf310bb5d |
|
20-May-2010 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: sh7372 clock fixes Fixes for the sh7372 clock framework: - remove unused #include <linux/platform_device.h> - add sh7372 prefix to user modifiable root clocks - put modifiable root clock prototypes in header file - fix off-by-one id error on VEU MSTP clocks - make arrays static Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|
495b3cea94135a97e919bca67d7dcfdefafc7767 |
|
12-May-2010 |
Magnus Damm <damm@opensource.se> |
ARM: mach-shmobile: sh7372 clock framework support V2 This patch is V2 of clock framework tables/code for sh7372. MSTP are included for KEYSC, SCIF, IIC, USB, SDHI and UIO. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
|