linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/12] Prepare various SH/R Mobile/Car drivers for CCF migration
@ 2013-10-28 22:49 Laurent Pinchart
  2013-10-28 22:49 ` [PATCH 01/12] clocksource: sh_cmt: Add clk_prepare/unprepare support Laurent Pinchart
                   ` (11 more replies)
  0 siblings, 12 replies; 74+ messages in thread
From: Laurent Pinchart @ 2013-10-28 22:49 UTC (permalink / raw)
  To: linux-arm-kernel

Hello,

This patch series, based on v3.12-rc7, prepares various Renesas SH-Mobile,
R-Mobile and R-Car drivers for migration to CCF by adding clock prepare and
unprepare support.

The patches are pretty straightforward. Most of the drivers called
clk_enable and clk_disable in sleepable context, I've thus just converted them
to clk_prepare_enable and clk_disable_unprepare.

The clocksource drivers were slightly more complex to handle as clk_enable and
clk_disable were called in non-sleepable context. As the clocksource framework
architecture doesn't provide any sleepable callback in which clocks could be
prepared and unprepared, I've added clk_prepare and clk_unprepare calls in the
probe and suspend/resume handlers (clocksources can't be removed so the remove
handler doesn't need a clk_unprepare call).

I'd like to get all these patches merged in v3.14. As they will need to go
through their respective subsystems' trees, I would appreciate if all
maintainers involved could notify me when they merge patches from this series
in their tree to help me tracking the merge status. I don't plan to send pull
requests individually for these patches, and I will repost patches
individually if changes are requested during review.

Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: linux-kernel at vger.kernel.org
Cc: Tejun Heo <tj@kernel.org>
Cc: linux-ide at vger.kernel.org
Cc: David Airlie <airlied@linux.ie>
Cc: dri-devel at lists.freedesktop.org
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: linux-i2c at vger.kernel.org
Cc: Chris Ball <cjb@laptop.org>
Cc: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Cc: linux-mmc at vger.kernel.org
Cc: Felipe Balbi <balbi@ti.com>
Cc: linux-usb at vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-fbdev at vger.kernel.org

Laurent Pinchart (12):
  clocksource: sh_cmt: Add clk_prepare/unprepare support
  clocksource: sh_mtu2: Add clk_prepare/unprepare support
  clocksource: sh_tmu: Add clk_prepare/unprepare support
  sata_rcar: Convert to clk_prepare/unprepare
  drm: shmob_drm: Convert to clk_prepare/unprepare
  i2c: sh_mobile: Convert to clk_prepare/unprepare
  mmc: sh_mmcif: Convert to clk_prepare/unprepare
  mmc: sh_mobile_sdhi: Convert to clk_prepare/unprepare
  usb: gadget: r8a66597-udc: Convert to clk_prepare/unprepare
  usb: r8a66597-hcd: Convert to clk_prepare/unprepare
  fbdev: shmobile-hdmi: Convert to clk_prepare/unprepare
  fbdev: shmobile-lcdcfb: Convert to clk_prepare/unprepare

 drivers/ata/sata_rcar.c                   | 10 +++++-----
 drivers/clocksource/sh_cmt.c              | 20 ++++++++++++++++----
 drivers/clocksource/sh_mtu2.c             | 16 ++++++++++++++--
 drivers/clocksource/sh_tmu.c              | 20 +++++++++++++++++---
 drivers/gpu/drm/shmobile/shmob_drm_crtc.c |  4 ++--
 drivers/i2c/busses/i2c-sh_mobile.c        |  8 ++++----
 drivers/mmc/host/sh_mmcif.c               | 12 ++++++------
 drivers/mmc/host/sh_mobile_sdhi.c         |  4 ++--
 drivers/usb/gadget/r8a66597-udc.c         |  6 +++---
 drivers/usb/host/r8a66597-hcd.c           |  4 ++--
 drivers/video/sh_mobile_hdmi.c            |  6 +++---
 drivers/video/sh_mobile_lcdcfb.c          |  4 ++--
 12 files changed, 76 insertions(+), 38 deletions(-)

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 74+ messages in thread

end of thread, other threads:[~2013-12-14  1:05 UTC | newest]

Thread overview: 74+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-28 22:49 [PATCH 00/12] Prepare various SH/R Mobile/Car drivers for CCF migration Laurent Pinchart
2013-10-28 22:49 ` [PATCH 01/12] clocksource: sh_cmt: Add clk_prepare/unprepare support Laurent Pinchart
2013-10-29  5:55   ` Simon Horman
2013-10-29  9:55     ` Laurent Pinchart
2013-10-30  0:10       ` Simon Horman
2013-10-30  0:13         ` Laurent Pinchart
2013-10-30  0:27           ` Simon Horman
2013-10-28 22:49 ` [PATCH 02/12] clocksource: sh_mtu2: " Laurent Pinchart
2013-10-29  5:55   ` Simon Horman
2013-10-29 11:15   ` Sergei Shtylyov
2013-10-29 13:24     ` Laurent Pinchart
2013-10-29 14:30   ` [PATCH v2 1/2] clocksource: sh_mtu2: Release clock when sh_mtu2_register() fails Laurent Pinchart
2013-10-29 14:30     ` [PATCH v2 2/2] clocksource: sh_mtu2: Add clk_prepare/unprepare support Laurent Pinchart
2013-10-31  5:23       ` Simon Horman
2013-11-08 10:10       ` Daniel Lezcano
2013-10-31  5:23     ` [PATCH v2 1/2] clocksource: sh_mtu2: Release clock when sh_mtu2_register() fails Simon Horman
2013-11-08 10:10     ` Daniel Lezcano
2013-10-28 22:49 ` [PATCH 03/12] clocksource: sh_tmu: Add clk_prepare/unprepare support Laurent Pinchart
2013-10-29  5:55   ` Simon Horman
2013-10-29 11:17   ` Sergei Shtylyov
2013-10-29 14:31   ` [PATCH v2 1/2] clocksource: sh_tmu: Release clock when sh_tmu_register() fails Laurent Pinchart
2013-10-29 14:31     ` [PATCH v2 2/2] clocksource: sh_tmu: Add clk_prepare/unprepare support Laurent Pinchart
2013-10-31  5:24       ` Simon Horman
2013-11-07 13:40         ` Daniel Lezcano
2013-11-08  5:22           ` Simon Horman
2013-11-08 10:10       ` Daniel Lezcano
2013-10-31  5:23     ` [PATCH v2 1/2] clocksource: sh_tmu: Release clock when sh_tmu_register() fails Simon Horman
2013-11-08 10:10     ` Daniel Lezcano
2013-10-28 22:49 ` [PATCH 04/12] sata_rcar: Convert to clk_prepare/unprepare Laurent Pinchart
2013-10-29 18:41   ` Tejun Heo
2013-10-28 22:49 ` [PATCH 05/12] drm: shmob_drm: " Laurent Pinchart
2013-10-28 22:49 ` [PATCH 06/12] i2c: sh_mobile: " Laurent Pinchart
2013-10-29  5:02   ` Wolfram Sang
2013-10-29  5:58     ` Simon Horman
2013-10-29  9:41       ` Laurent Pinchart
2013-10-31 11:49   ` Wolfram Sang
2013-10-28 22:49 ` [PATCH 07/12] mmc: sh_mmcif: " Laurent Pinchart
2013-10-29  8:10   ` Guennadi Liakhovetski
2013-10-30 22:23     ` Guennadi Liakhovetski
2013-10-30 23:13       ` Laurent Pinchart
2013-10-30 23:27         ` Ulf Hansson
2013-10-30 23:48           ` Laurent Pinchart
2013-10-28 22:49 ` [PATCH 08/12] mmc: sh_mobile_sdhi: " Laurent Pinchart
2013-10-29  8:09   ` Guennadi Liakhovetski
2013-11-09 12:56     ` Laurent Pinchart
2013-11-26  2:02       ` Laurent Pinchart
2013-12-11 12:01         ` Laurent Pinchart
2013-12-12  1:29           ` Chris Ball
2013-12-12  2:16             ` Laurent Pinchart
2013-12-12  2:25               ` Chris Ball
2013-12-14  1:05                 ` Simon Horman
2013-10-28 22:49 ` [PATCH 09/12] usb: gadget: r8a66597-udc: " Laurent Pinchart
2013-10-29  9:47   ` Shimoda, Yoshihiro
2013-11-09 14:09     ` Laurent Pinchart
2013-11-11 19:53       ` Felipe Balbi
2013-11-26  1:59         ` Laurent Pinchart
2013-11-26  2:12           ` Felipe Balbi
2013-11-26  2:16             ` Laurent Pinchart
2013-11-26 19:54               ` Felipe Balbi
2013-11-26 21:43                 ` Laurent Pinchart
2013-10-28 22:49 ` [PATCH 10/12] usb: r8a66597-hcd: " Laurent Pinchart
2013-10-29  9:47   ` Shimoda, Yoshihiro
2013-11-09 14:12     ` Laurent Pinchart
2013-11-09 16:10       ` Greg Kroah-Hartman
2013-11-26  2:00         ` Laurent Pinchart
2013-11-26  2:36           ` Greg Kroah-Hartman
2013-11-26 14:08             ` Laurent Pinchart
2013-11-28  8:20               ` Simon Horman
2013-10-28 22:49 ` [PATCH 11/12] fbdev: shmobile-hdmi: " Laurent Pinchart
2013-10-31 10:48   ` Jean-Christophe PLAGNIOL-VILLARD
2013-11-09 14:13     ` Laurent Pinchart
2013-11-11 13:34       ` Tomi Valkeinen
2013-10-28 22:49 ` [PATCH 12/12] fbdev: shmobile-lcdcfb: " Laurent Pinchart
2013-10-31 10:47   ` Jean-Christophe PLAGNIOL-VILLARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).