From patchwork Thu Jun 2 00:19:38 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 842182 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p520KFOw028160 for ; Thu, 2 Jun 2011 00:20:15 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759284Ab1FBAUN (ORCPT ); Wed, 1 Jun 2011 20:20:13 -0400 Received: from na3sys009aog102.obsmtp.com ([74.125.149.69]:59238 "EHLO na3sys009aog102.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759196Ab1FBAUJ (ORCPT ); Wed, 1 Jun 2011 20:20:09 -0400 Received: from mail-px0-f175.google.com ([209.85.212.175]) (using TLSv1) by na3sys009aob102.postini.com ([74.125.148.12]) with SMTP ID DSNKTebXOCz+a0/yVyVYUo4wPlItSfaTGgtS@postini.com; Wed, 01 Jun 2011 17:20:08 PDT Received: by pxi17 with SMTP id 17so179829pxi.34 for ; Wed, 01 Jun 2011 17:20:07 -0700 (PDT) Received: by 10.68.32.231 with SMTP id m7mr37500pbi.200.1306974007845; Wed, 01 Jun 2011 17:20:07 -0700 (PDT) Received: from localhost (c-24-19-7-36.hsd1.wa.comcast.net [24.19.7.36]) by mx.google.com with ESMTPS id x1sm73977pbb.18.2011.06.01.17.20.06 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Jun 2011 17:20:06 -0700 (PDT) From: Kevin Hilman To: Ben Dooks , linux-i2c@vger.kernel.org Cc: Andy Green , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 12/18] I2C: OMAP1/OMAP2+: add flags field to omap i2c platform data Date: Wed, 1 Jun 2011 17:19:38 -0700 Message-Id: <1306973984-15165-13-git-send-email-khilman@ti.com> X-Mailer: git-send-email 1.7.4 In-Reply-To: <1306973984-15165-1-git-send-email-khilman@ti.com> References: <1306973984-15165-1-git-send-email-khilman@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Thu, 02 Jun 2011 00:20:15 +0000 (UTC) From: Andy Green OMAP I2C driver can access the configuration flags through its platform data. Cc: patches@linaro.org Cc: Ben Dooks Reported-by: Peter Maydell Signed-off-by: Andy Green Signed-off-by: Tony Lindgren Signed-off-by: Kevin Hilman --- include/linux/i2c-omap.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/linux/i2c-omap.h b/include/linux/i2c-omap.h index b321211..776c8e1 100644 --- a/include/linux/i2c-omap.h +++ b/include/linux/i2c-omap.h @@ -18,6 +18,7 @@ struct omap_i2c_bus_platform_data { u32 clkrate; u32 rev; + u32 flags; void (*set_mpu_wkup_lat)(struct device *dev, long set); int (*device_enable) (struct platform_device *pdev); int (*device_shutdown) (struct platform_device *pdev);