From: Kevin Hilman Date: Wed, 30 Mar 2011 23:36:30 +0000 (-0700) Subject: OMAP3+: VC: make I2C config programmable with PMIC-specific settings X-Git-Tag: v3.2-rc1~95^2^2~1^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5395480f5088a86cc8594d29b5c2f07f6995c3d;p=pandora-kernel.git OMAP3+: VC: make I2C config programmable with PMIC-specific settings Remove hard-coded I2C configuration in favor of settings that can be configured from PMIC-specific values. Currently only high-speed mode and the master-code value are supported, since they were the only fields currently used, but extending this is now trivial. Thanks to Nishanth Menon for reporting/fixing a sparse problem and making omap_vc_i2c_init() static, as well as finding and fixing a problem with the shift/mask of mcode. Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed