[PATCH 1/4] GPIO: PCA953X: Increase size of invert variable to support 24 bit
Linus Walleij
linus.walleij at linaro.org
Thu Jul 12 08:02:50 EST 2012
On Tue, Jul 10, 2012 at 3:35 PM, Chandrabhanu Mahapatra
<cmahapatra at ti.com> wrote:
> TCA6424 is a low voltage 24 bit I2C and SMBus I/O expander of pca953x family
> similar to its 16 bit predecessor TCA6416. It comes with three 8-bit active
> Input, Output, Polarity Inversion and Configuration registers each. The polarity
> of Input ports can be reversed by setting the appropiate bit in Polarity
> Inversion registers.
>
> The variables corresponding to Input, Output and Configuration registers have
> already been updated to support 24 bit values. This patch thus updates the
> invert variable of PCA953X platform data to support 24 bit.
>
> Signed-off-by: Chandrabhanu Mahapatra <cmahapatra at ti.com>
I remember this (I think). So expand to 32bit to support 24 bit,
that looks reasonable.
Patch applied.
Thanks,
Linus Walleij
More information about the devicetree-discuss
mailing list