From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH 3/6] OMAP2420: WDT: Add watchdog timer HWMOD data for OMAP2420 Date: Thu, 03 Jun 2010 12:05:53 -0700 Message-ID: <87zkzcos1a.fsf@deeprootsystems.com> References: <1274532966-19916-1-git-send-email-charu@ti.com> <1274532966-19916-2-git-send-email-charu@ti.com> <1274532966-19916-3-git-send-email-charu@ti.com> <1274532966-19916-4-git-send-email-charu@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pv0-f174.google.com ([74.125.83.174]:48593 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751397Ab0FCTF4 (ORCPT ); Thu, 3 Jun 2010 15:05:56 -0400 Received: by pvg16 with SMTP id 16so211162pvg.19 for ; Thu, 03 Jun 2010 12:05:55 -0700 (PDT) In-Reply-To: <1274532966-19916-4-git-send-email-charu@ti.com> (Charulatha V.'s message of "Sat\, 22 May 2010 18\:26\:03 +0530") Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Charulatha V Cc: linux-omap@vger.kernel.org, wim@iguana.be, rnayak@ti.com, paul@pwsan.com Charulatha V writes: > Add hwmod structures for Watchdog module on OMAP2420 > > Signed-off-by: Charulatha V > --- > arch/arm/mach-omap2/omap_hwmod_2420_data.c | 56 ++++++++++++++++++++++++++++ > 1 files changed, 56 insertions(+), 0 deletions(-) > [...] > +/* WDTIMER2 */ > +static struct omap_hwmod_ocp_if *omap2420_wd_timer2_slaves[] = { > + &omap2420_l4_wkup__wd_timer2, > +}; > + > +static struct omap_hwmod omap2420_wd_timer2_hwmod = { > + .name = "wd_timer2", > + .class = &omap2420_wd_timer_hwmod_class, > + .main_clk = "mpu_wdt_fck", > + .prcm = { > + .omap2 = { missing .module_offs > + .prcm_reg_id = 1, > + .module_bit = OMAP24XX_EN_WDT2_SHIFT, > + }, > + }, > + .slaves = omap2420_wd_timer2_slaves, > + .slaves_cnt = ARRAY_SIZE(omap2420_wd_timer2_slaves), > + .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP2420), > +}; > + > /* Master interfaces on the MPU device */ Kevin