From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH 0/7] OMAP: omap_device cleanup before device-tree integration Date: Thu, 01 Sep 2011 09:28:29 -0700 Message-ID: <87sjogjkgi.fsf@ti.com> References: <1314026347-21623-1-git-send-email-b-cousson@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from na3sys009aog124.obsmtp.com ([74.125.149.151]:38572 "EHLO na3sys009aog124.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757333Ab1IAQ2d (ORCPT ); Thu, 1 Sep 2011 12:28:33 -0400 Received: by mail-iy0-f182.google.com with SMTP id x2so2570132iad.41 for ; Thu, 01 Sep 2011 09:28:32 -0700 (PDT) Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Benoit Cousson Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, paul@pwsan.com Benoit Cousson writes: > Hi Kevin, > > Here are a couple of cleanups on top of your for_3.2/omap_device series > rebased on top of 3.1-rc2 to get your pm-fixes. OK, my for_3.2/omap_device is now based on v3.1-rc4 which has my pm-fixes merged. > The goal is to help building core devices using device-tree by removing > direct reference to the device inside PM. Great. > For that, I took and rebased the two patches done by Nishanth to use hwmod > to identify the device from the generic IP name. OK, I had some minor comments on those. > The currently "unused" omap_device_pm_latency is moved inside the > omap_device core code to avoid the duplication. And these two I've pulled into my for_3.2/omap_device branch. (not yet pushed because main kernel.org server is down.) Kevin > patches are available here: > git://gitorious.org/omap-pm/linux.git for_3.2/omap_device_cleanup > > It is tested on OMAP4 SDP and Panda only. I don't even have the Beagle > to test the beagle patch :-( > > Regards, > Benoit > > > Benoit Cousson (5): > OMAP3: beagle-board: Use the omap_hwmod_name_get_dev API > OMAP2+: pm: Use hwmod name instead of dev pointer > OMAP2+: pm: Remove static devices variable for mpu, dsp, iva and l3 PM > OMAP: omap_device: Create a default omap_device_pm_latency > OMAP2+: devices: Remove all omap_device_pm_latency structures > > Nishanth Menon (2): > OMAP: PM: omap_device: add omap_hwmod_name_get_odev > OMAP: PM: omap_device: add few quick access functions > > arch/arm/mach-omap2/board-omap3beagle.c | 4 +- > arch/arm/mach-omap2/devices.c | 46 ++--------------- > arch/arm/mach-omap2/display.c | 11 +---- > arch/arm/mach-omap2/dma.c | 11 +---- > arch/arm/mach-omap2/gpio.c | 12 +---- > arch/arm/mach-omap2/hsmmc.c | 18 +------ > arch/arm/mach-omap2/hwspinlock.c | 12 +---- > arch/arm/mach-omap2/mcbsp.c | 11 +---- > arch/arm/mach-omap2/pm.c | 69 ++++++++----------------- > arch/arm/mach-omap2/serial.c | 25 +--------- > arch/arm/mach-omap2/sr_device.c | 11 +---- > arch/arm/mach-omap2/usb-musb.c | 11 +---- > arch/arm/plat-omap/i2c.c | 10 +--- > arch/arm/plat-omap/include/plat/omap_device.h | 16 ++++++ > arch/arm/plat-omap/omap_device.c | 49 +++++++++++++++++- > 15 files changed, 101 insertions(+), 215 deletions(-)