From: Paul Walmsley Date: Fri, 21 Nov 2008 21:39:55 +0000 (-0800) Subject: i2c-omap: reprogram OCP_SYSCONFIG register after reset X-Git-Tag: v2.6.29-rc1~497^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdd07fe6f6fe54250d8b1126b42ebdc72d938f05;p=pandora-kernel.git i2c-omap: 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