From: Jean Delvare Date: Thu, 10 Jul 2014 10:56:59 +0000 (+0200) Subject: i2c: stub: Add support for banked register ranges X-Git-Tag: omap-for-v3.17/fixes-against-rc2~107^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2408c17fce9236d929b15a975cbd8129de089d62;p=pandora-kernel.git i2c: stub: Add support for banked register ranges Some chips implement banked register ranges. This allows implementing more registers than the limited 8-bit address space originally allows. In order to access a register on these chips, you must first select the proper bank. Add support for this mechanism to the i2c-stub driver so that such chips can be emulated. All the bank settings are passed as module parameters. Signed-off-by: Jean Delvare Tested-by: Guenter Roeck Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed