Tarun, > -----Original Message----- > From: linux-omap-owner@xxxxxxxxxxxxxxx > [mailto:linux-omap-owner@xxxxxxxxxxxxxxx] On Behalf Of > DebBarma, Tarun Kanti > Sent: Saturday, August 14, 2010 8:44 PM > To: linux-omap@xxxxxxxxxxxxxxx > Cc: DebBarma, Tarun Kanti; Basak, Partha; Gopinath, Thara; > Paul Walmsley; Kevin Hilman; Tony Lindgren > Subject: [PATCH] dmtimer: hwmod: add omap2420 database > > This patch adds hwmod database for omap2420. > > Signed-off-by: Partha Basak <p-basak2@xxxxxx> > Signed-off-by: Thara Gopinath <thara@xxxxxx> > Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@xxxxxx> > Cc: Paul Walmsley <paul@xxxxxxxxx> > Cc: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx> > Cc: Tony Lindgren <tony@xxxxxxxxxxx> > --- > arch/arm/mach-omap2/omap_hwmod_2420_data.c | 597 > ++++++++++++++++++++++++++++ > 1 files changed, 597 insertions(+), 0 deletions(-) > mode change 100644 => 100755 > arch/arm/mach-omap2/omap_hwmod_2420_data.c > > diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c > b/arch/arm/mach-omap2/omap_hwmod_2420_data.c > old mode 100644 > new mode 100755 > index 3cc768e..7f87924 > --- a/arch/arm/mach-omap2/omap_hwmod_2420_data.c > +++ b/arch/arm/mach-omap2/omap_hwmod_2420_data.c > @@ -15,6 +15,7 @@ > #include <mach/irqs.h> > #include <plat/cpu.h> > #include <plat/dma.h> > +#include <plat/dmtimer.h> > > #include "omap_hwmod_common_data.h" > > @@ -121,6 +122,590 @@ static struct omap_hwmod > omap2420_l4_wkup_hwmod = { > .omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP2420), > .flags = HWMOD_NO_IDLEST, > }; > +/* Timer Common */ > +static struct omap_hwmod_class_sysconfig omap2420_timer_sysc = { > + .rev_offs = 0x0000, > + .sysc_offs = 0x0010, > + .syss_offs = 0x0014, > + .sysc_flags = (SYSC_HAS_SIDLEMODE | SYSC_HAS_CLOCKACTIVITY | > + SYSC_HAS_ENAWAKEUP | SYSC_HAS_SOFTRESET | > + SYSC_HAS_AUTOIDLE), > + .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), > + .sysc_fields = &omap_hwmod_sysc_type1, > +}; > + > +static struct omap_hwmod_class omap2420_timer_hwmod_class = { > + .name = "timer", > + .sysc = &omap2420_timer_sysc, > + .rev = OMAP_TIMER_IP_LEGACY, Applying only this patch breaks build. Take care to address dependenices for each patch in the series so that, git bisect works with any patch in the series. -Manjunath-- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html