From: Andreas Schallenberg Date: Wed, 9 May 2012 07:46:17 +0000 (+0200) Subject: Add support for TCA6424A X-Git-Tag: v3.5-rc1~93^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae79c19049b75af476adcbcfda6fc29bd93fc6f8;p=pandora-kernel.git Add support for TCA6424A This patch extends the PCA953x driver to support TI's TCA6424A 24 bit I2C I/O expander. The patch is based on code by Michele Bevilacqua. Changes in v2: - Compare ngpio against 24 in both places, not >16 - Larger datatype now u32 instead of uint. Bit fields not used for struct members since their address is taken. - Be precise: TCA6424A (untested for older TCA6424) Signed-off-by: Andreas Schallenberg Acked-by: Linus Walleij Signed-off-by: Grant Likely --- Reading git-diff-tree failed