Re: [PATCHv2] mcp23s08: support mcp23s17 variant
From: Peter Korsgaard
Date: Fri Feb 25 2011 - 07:28:06 EST
>>>>> "Peter" == Peter Korsgaard <jacmet@xxxxxxxxxx> 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> The s17 variant also has an additional address pin, so adjust
Peter> platform data structure to support up to 8 devices per SPI
Peter> Signed-off-by: Peter Korsgaard <jacmet@xxxxxxxxxx>
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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/