From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: Re: [PATCH] I2C: SiByte: Convert the driver to make use of interrupts Date: Tue, 7 Dec 2010 06:41:50 -0800 Message-ID: <20101207144150.GA21872@ericsson.com> References: <1291617494-18430-1-git-send-email-mattst88@gmail.com> <20101206173040.GA18372@ericsson.com> <20101207051438.GA20144@ericsson.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: "Maciej W. Rozycki" Cc: Matt Turner , Jean Delvare , "linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-mips-6z/3iImG2C8G8FEW9MqTrA@public.gmane.org" , Ralf Baechle List-Id: linux-i2c@vger.kernel.org On Tue, Dec 07, 2010 at 09:30:27AM -0500, Maciej W. Rozycki wrote: > On Mon, 6 Dec 2010, Guenter Roeck wrote: > > > A quick look through sb1250 vs. sb1480 code shows that the 1480 uses different > > interrupt numbers. The patch assigns the sb1250 interrupt numbers, so unless > > I am missing something the code as written can not work for sb1480. > > That well could be -- I never had access to a BigSur board. The > board-specific interrupt numbers should either be available from the board > manual (I haven't checked if one has been released; I certainly have one > for my SWARM) or quoted somewhere in our tree. Otherwise figuring them > out by trial and error should be a trivial exercise for someone with > actual hardware at hand. > I already sent a reply to the original patch - I confirmed that the interrupts are different. Those are SOC interrupts, so they are CPU specific, not board specific. Code started working after I replaced the sb1250 interrupts with bcm1480 interrupts. Guenter