From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Larsson Subject: Re: [RFC: PATCH 1/5] can: sja1000_platform Date: Mon, 08 Oct 2012 14:50:38 +0200 Message-ID: <5072CC1E.7000609@gaisler.com> References: <1349447947-18451-1-git-send-email-mkl@pengutronix.de> <507299D4.9030506@gaisler.com> <5072C4D9.8020008@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from vsp-authed02.binero.net ([195.74.38.226]:40209 "HELO vsp-authed-03-02.binero.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750876Ab2JHMus (ORCPT ); Mon, 8 Oct 2012 08:50:48 -0400 In-Reply-To: <5072C4D9.8020008@pengutronix.de> Sender: linux-can-owner@vger.kernel.org List-ID: To: Marc Kleine-Budde Cc: linux-can@vger.kernel.org, kernel@pengutronix.de, wg@grandegger.com On 10/08/2012 02:19 PM, Marc Kleine-Budde wrote: > On 10/08/2012 11:16 AM, Andreas Larsson wrote: >> On 10/05/2012 04:39 PM, Marc Kleine-Budde wrote: >>> Hello, >>> >>> this series ports the device tree bindings from the existing >>> sja1000_of_platform driver to the sja1000_platform driver. It has been >>> compile >>> time tested only. I've written the patches to get rid of the >>> sja1000_of_platform once this in the kernel. >>> >>> Please test, especially on sparc, powerpc and arm. >> >> On sparc, sp_probe fails for me because there is no resource of type >> IORESOURCE_IRQ. >> >> As far as I can find out, on sparc (32 and 64 bit) IORESOURCE_IRQ >> resources are never created for the platform_device representation. The >> resources that are created are the ones created for adresses/registers >> in build_device_resources() in arch/sparc/kernel/of_device_32.c and >> arch/sparc/kernel/of_device_64.c respectively. > > Okay. Do both sparc architectures implement > > irq_of_parse_and_map() Yes Cheers, Andreas