Messages in this thread | | | From | Peter Korsgaard <> | Subject | Re: [PATCHv2] mcp23s08: support mcp23s17 variant | Date | Fri, 25 Feb 2011 13:27:47 +0100 |
| |
>>>>> "Peter" == Peter Korsgaard <jacmet@sunsite.dk> writes:
Peter> mpc23s17 is very similar to the mcp23s08, except that registers Peter> are 16bit wide, so extend the interface to work with both Peter> variants.
Peter> The s17 variant also has an additional address pin, so adjust Peter> platform data structure to support up to 8 devices per SPI Peter> chipselect.
Peter> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Peter> --- Peter> Changes since v1: Peter> - Add mcp23s08_ops callbacks for 8 and 16 bit instead of handling both Peter> in the same accessor function as requested by Grant. Peter> - Don't use a temporary buffer for 8bit version of read_regs - Peter> Stack addresses are not DMA safe.
Ping? Any comments?
-- Bye, Peter Korsgaard
| |