From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from yow.seanm.ca (toronto-hs-216-138-233-67.s-ip.magma.ca [216.138.233.67]) by ozlabs.org (Postfix) with SMTP id 6975CDDE03 for ; Tue, 6 May 2008 14:18:53 +1000 (EST) Date: Tue, 6 May 2008 00:18:50 -0400 From: Sean MacLennan To: Subject: Re: [PATCH] Sam440ep support Message-ID: <20080506001850.340e4e7f@lappy.seanm.ca> In-Reply-To: <1210030608.21644.114.camel@pasglop> References: <1210030608.21644.114.camel@pasglop> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org, Giuseppe Coviello List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tue, 06 May 2008 09:36:48 +1000 "Benjamin Herrenschmidt" wrote: > The IBM IIC driver should already have an of_platform_device created > for it, so we can have here a generic driver for that chip that > instanciates itself based on it. No need to create a platform > device .. Or is the ibm iic host driver only in the form of a > platform device nowadays ? As of 2.6.26-rc1 (and I believe Josh's for-2.6.26 tree?) the ibm iic driver is available as an of_platform driver. So you need a very recent kernel. However, the patches should be available in the linuxppc-dev archives if you search for them. Look at platforms/44x/warp.c for an example of how to initialize the driver for the 440EP. Cheers, Sean