From: Paul Walmsley Date: Tue, 14 Oct 2008 12:19:48 +0000 (-0600) Subject: OMAP2/3 I2C: reprogram OCP_SYSCONFIG register after reset X-Git-Tag: v2.6.28-davinci1-diff-base~130 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2090ad6052d0241bce169c0448a23914f6da25b0;p=pandora-kernel.git OMAP2/3 I2C: reprogram OCP_SYSCONFIG register after reset The I2C controller clears its OCP_SYSCONFIG register after an OCP soft reset. Reprogram OCP_SYSCONFIG for maximum power savings on rev3.6 controllers and beyond. On 2430, this involves setting the module AUTOIDLE bit. On 3430, this includes module AUTOIDLE, wakeup enable, slave smart-idle, and considers only the module functional clock state for idle-ack. Boot-tested on 2430SDP and 3430SDP. Signed-off-by: Paul Walmsley Cc: Richard Woodruff Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed