From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from p15137414.pureserver.info (matrixvision.de [217.160.213.229]) by ozlabs.org (Postfix) with ESMTP id 724BBDDDCA for ; Tue, 2 Dec 2008 06:39:13 +1100 (EST) Message-ID: <49343DC2.3070601@matrix-vision.de> Date: Mon, 01 Dec 2008 20:40:50 +0100 From: =?ISO-8859-1?Q?Andr=E9_Schwarz?= MIME-Version: 1.0 To: Timur Tabi Subject: Re: i2c-mpc clocking scheme References: <492EB606.9020703@matrix-vision.de> <492EC031.9000802@matrix-vision.de> <4933FBC6.50100@freescale.com> In-Reply-To: <4933FBC6.50100@freescale.com> Content-Type: multipart/alternative; boundary="------------010802070302050105080903" Cc: linuxppc-dev@ozlabs.org, Trent Piepho List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. --------------010802070302050105080903 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Timur Tabi wrote: > Trent Piepho wrote: > > >> Seems like it should keep the clock registers at what u-boot set them too. >> > > Or we could have U-Boot put the i2c clock frequency into the I2C node, and let > the driver program the hardware again. That would keep the ugliness in U-Boot. > > Wouldn't it be easier to omit frequency re-programming at all ? Maybe configurable for non U-Boot users ... MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler - Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner --------------010802070302050105080903 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Timur Tabi wrote:
Trent Piepho wrote:

  
Seems like it should keep the clock registers at what u-boot set them too.
    

Or we could have U-Boot put the i2c clock frequency into the I2C node, and let
the driver program the hardware again.  That would keep the ugliness in U-Boot.

  
Wouldn't it be easier to omit frequency re-programming at all ?
Maybe configurable for non U-Boot users ...

MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler - Registergericht: Amtsgericht Stuttgart, HRB 271090 Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
--------------010802070302050105080903--