From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by ozlabs.org (Postfix) with ESMTP id 63D11DDD0C for ; Tue, 2 Jun 2009 20:59:56 +1000 (EST) Message-ID: <4A2504FB.90702@gersys.de> Date: Tue, 02 Jun 2009 12:54:51 +0200 From: Stefan Strobl MIME-Version: 1.0 To: ppc-dev Subject: How to add i2c platform data in dts file Content-Type: text/plain; charset=ISO-8859-1 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi I'm using the i2c/chips/tsl2550 driver. In the tsl2550_probe() function the driver checks for platform data to set the operating_mode. I suppose I can provide this data in my dts file but I don't know how to do that. Currently my dts looks like this: tsl2550@39 { compatible = "taos,tsl2550"; reg = <0x39>; }; Can anyone help me on how to set the operating_mode here? Thanks, Stefan.