From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.chez-thomas.org (hermes.mlbassoc.com [76.76.67.137]) by ozlabs.org (Postfix) with ESMTP id 8CBE7DDDB6 for ; Sat, 2 May 2009 00:50:47 +1000 (EST) Message-ID: <49FB0C3B.3000209@mlbassoc.com> Date: Fri, 01 May 2009 08:50:35 -0600 From: Gary Thomas MIME-Version: 1.0 To: Jon Smirl Subject: Re: Using archaic I2C with OF References: <49FAF351.4010409@mlbassoc.com> <9e4733910905010739q4038555ck211ee61b9b443f01@mail.gmail.com> <9e4733910905010739p6c4fddf3oab1b583b72df4eeb@mail.gmail.com> In-Reply-To: <9e4733910905010739p6c4fddf3oab1b583b72df4eeb@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Cc: Linux PPC Development List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Jon Smirl wrote: > On Fri, May 1, 2009 at 10:39 AM, Jon Smirl wrote: >> On Fri, May 1, 2009 at 9:04 AM, Gary Thomas wrote: >>> I'd like to use an existing I2C driver (a touchscreen device) >>> with my 834x based platform. How do I arrange to provide >>> platform data (i2c_client->dev.platform_data) from my OF world? >> It is easier to convert the i2c driver to work in the current model. > > All in-tree drivers have already been converted. I'm looking at drivers/input/touchscreen/tsc2007.c (the one I need) from Kumar's 'next' tree. It most definitely still uses the old model. Can you suggest another place to look? -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------