From: Johan Palsson Date: Sat, 5 Mar 2011 10:46:37 +0000 (+0100) Subject: mfd: Calibrate ab8500 gpadc using OTP values X-Git-Tag: v2.6.39-rc1~96^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=586f3318adceee4857e82cafc3610070368754e3;p=pandora-kernel.git mfd: Calibrate ab8500 gpadc using OTP values The GPADC found in the AB8500 needs to be calibrated to work properly. This is done by writing a number of special OTP (one-time-programmable) registers at production. This patch makes sure that these values are used to calibrate the returned value from the GPADC so that it is correct. Signed-off-by: Johan Palsson Signed-off-by: Linus Walleij Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed