commit | 0b7bb77fd55903ff9dc7c0474c49002aa6b9c78c | [log] [tgz] |
---|---|---|
author | Peter Korsgaard <jacmet@sunsite.dk> | Wed Mar 09 17:56:30 2011 +0100 |
committer | Grant Likely <grant.likely@secretlab.ca> | Sat Mar 12 01:26:34 2011 -0700 |
tree | d6f20011adc132700bc3e98d8686cbe838d7c86d | |
parent | 9c3c8afccb6a163fd2be739f511e863eab668702 [diff] |
gpio/mcp23s08: support mcp23s17 variant mpc23s17 is very similar to the mcp23s08, except that registers are 16bit wide, so extend the interface to work with both variants. The s17 variant also has an additional address pin, so adjust platform data structure to support up to 8 devices per SPI chipselect. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>