From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Thu, 28 Apr 2011 23:08:02 -0700 Subject: [PATCH 09/14] at91: switch pit timer to early platform devices In-Reply-To: <20110428113427.GG17290@n2100.arm.linux.org.uk> References: <20110425180847.GA12904@game.jcrosoft.org> <1303756284-26529-9-git-send-email-plagnioj@jcrosoft.com> <20110428113427.GG17290@n2100.arm.linux.org.uk> Message-ID: <20110429060801.GN3755@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Russell King - ARM Linux [110428 04:32]: > On Thu, Apr 28, 2011 at 01:23:03PM +0200, Andrew Victor wrote: > > hi, > > > > > this will allow to specify the resources per soc > > > > > > as the 5series use a different start address for the pit > > > > I really don't see the fascination with early platform_devices for timer. > > A sys_timer is initialized way earlier, and there are surely cleaner > > ways to just pass a "base address" through to the driver. > > The interrupt is always AT91_ID_SYS on all chips, so there is no point > > making it configurable. > > Me too - it looks like this early device stuff is heading in the > wrong direction. Me too. Most of the stuff can be initialized much later and really only timer and interrupts are needed early. Sure there are easily dependencies to clock framework etc, but only those clocks need to be initialized. Regards, Tony