diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-07-10 12:56:59 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-07-17 19:56:15 +0200 |
commit | 2408c17fce9236d929b15a975cbd8129de089d62 (patch) | |
tree | 1c2c69fbba6554fe59d8dbd947aa378892990f7a /lib | |
parent | 1dff59831b2b78122a883f44269be6597b378afa (diff) |
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 <jdelvare@suse.de>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions