From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH 0/4] clockdomains: add OMAP2/3 clockdomain code, link 34xx clocks with clockdomains Date: Wed, 23 Apr 2008 17:05:06 -0700 Message-ID: <20080424000506.GD27546@atomide.com> References: <20080419014100.8203.31672.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from mho-02-bos.mailhop.org ([63.208.196.179]:57457 "EHLO mho-02-bos.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828AbYDXAFI (ORCPT ); Wed, 23 Apr 2008 20:05:08 -0400 Content-Disposition: inline In-Reply-To: <20080419014100.8203.31672.stgit@localhost.localdomain> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Paul Walmsley Cc: linux-omap@vger.kernel.org, karthik-dp@ti.com, rnayak@ti.com, igor.stoppa@nokia.com, sakari.poussa@nokia.com, jouni.hogander@nokia.com, r-woodruff2@ti.com * Paul Walmsley [080418 18:48]: >=20 > Hi everyone, >=20 > This is the second version of the clockdomain patches. It:=20 >=20 > . adds the IVA1 clockdomain in the DSP powerdomain, for OMAP2420 only >=20 > . replaces omap_type_t typedef with struct omap_chip_id >=20 > . removes all EXPORT_SYMBOLs - these can be added back in if clockdom= ain > code needs to be used from loadable PM modules - the expectation is= that=20 > it will only be used from PM code >=20 > . creates _clkdm_lookup() to avoid potential race in clkdm_register() >=20 > . fixes several clockdomain platform flag bugs >=20 > . gets rid of tabs in comments >=20 > . is refreshed against current git head (e015fc7) >=20 > This version is tested against 3430SDP ES2.1, and compile-tested with > N800 and 2430SDP configs. Size, diffstat have been updated below. >=20 > Thanks to Tony & Jouni for review and comments. More comments welcom= e, Pushing today. Tony >=20 >=20 > - Paul >=20 > ------------------------- >=20 > Hello, >=20 > this patch series adds a hardware control interface for OMAP2/3 > clockdomains. Also added is clockdomain usecounting of underlying > clocks, so hardware-supervised and software-supervised clockdomain > transitions can occur correctly. The interface is fully documented i= n > the code. >=20 > 24xx clocks are not yet linked with clockdomains. This will be done i= n > a later patchset. >=20 > This series must be applied after the powerdomain series, posted earl= ier. >=20 > Clockdomain code tested on 3430SDP ES2.1; also boot-tested on N800. >=20 > Many people at Nokia and TI provided commentary and review during the > development of the clockdomain patches. Particular help came from (i= n > alphabetical order): Karthik Dasu, Tony Lindgren, Rajendra Nayak, > Sakari Poussa, Igor Stoppa, and Richard Woodruff. Jouni H=F6gander > merits special mention; he took the original code and made it do what > it was supposed to do on the hardware, testing and fixing many bugs. >=20 >=20 > ----------- >=20 > size: > text data bss dec hex filename > 3269405 152552 100736 3522693 35c085 vmlinux.3430sdp.orig > 3272093 154920 100736 3527749 35d445 vmlinux.3430sdp >=20 > Paul Walmsley (4): > Subject: Integrate OMAP3 clocks with clockdomain code > Subject: encode OMAP2/3 clockdomains > Subject: connect clockdomain code to powerdomain code > Subject: add base OMAP2/3 clockdomain code >=20 >=20 > arch/arm/mach-omap2/Makefile | 3=20 > arch/arm/mach-omap2/clock.c | 45 ++ > arch/arm/mach-omap2/clock.h | 1=20 > arch/arm/mach-omap2/clock34xx.c | 4=20 > arch/arm/mach-omap2/clock34xx.h | 196 +++++++++- > arch/arm/mach-omap2/clockdomain.c | 606 +++++++++++++++++++++= ++++++++++ > arch/arm/mach-omap2/clockdomains.h | 298 +++++++++++++++ > arch/arm/mach-omap2/cm-regbits-24xx.h | 24 + > arch/arm/mach-omap2/cm-regbits-34xx.h | 42 ++ > arch/arm/mach-omap2/io.c | 4=20 > arch/arm/mach-omap2/pm.c | 12 - > arch/arm/mach-omap2/powerdomain.c | 132 +++++++ > arch/arm/plat-omap/Kconfig | 12 + > drivers/dsp/dspgateway/dsp_core.c | 2=20 > include/asm-arm/arch-omap/clock.h | 4=20 > include/asm-arm/arch-omap/clockdomain.h | 105 +++++ > include/asm-arm/arch-omap/powerdomain.h | 16 + > 17 files changed, 1457 insertions(+), 49 deletions(-) > create mode 100644 arch/arm/mach-omap2/clockdomain.c > create mode 100644 arch/arm/mach-omap2/clockdomains.h > create mode 100644 include/asm-arm/arch-omap/clockdomain.h >=20 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html