drivers: gpio: Add TCA6424A driver

The driver supports 24 gpio pins which are numbered sequentially from
0 to 23.

Signed-off-by: Jason Yuan <jasonyuan@google.com>
This commit is contained in:
Jason Yuan 2022-07-18 17:24:32 -07:00 committed by Carles Cufí
commit 6ff0b79d74
7 changed files with 637 additions and 0 deletions

View file

@ -152,6 +152,16 @@
pinmux_mask = <0xff>;
};
};
test_i2c_tca6424a: tca6424a@23 {
compatible = "ti,tca6424a";
reg = <0x23>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <24>;
int-gpios = <&test_gpio 0 0>;
reset-gpios = <&test_gpio 0 0>;
};
};
test_spi: spi@33334444 {