drivers: gpio: Add PCA953X driver (gpio port expander)
The Texas Instruments TCA9538 is an 8 pin GPIO port expander. It operates on an I2C bus with 2 configurable address pins. The device has an interrupt output pin that is asserted when any pin configured as an input changes state. Added under the PCA953X name to allow other similar parts to use the same driver. Signed-off-by: Kieran Mackey <kieran.mackey@lairdconnect.com>
This commit is contained in:
parent
75e9fa8274
commit
19f7af11fa
7 changed files with 582 additions and 0 deletions
|
@ -61,6 +61,16 @@
|
|||
#gpio-cells = <2>;
|
||||
gpio-controller;
|
||||
};
|
||||
|
||||
test_i2c_pca953x: pca953x@70 {
|
||||
compatible = "ti,tca9538";
|
||||
reg = <0x70>;
|
||||
label = "PCA953X";
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
ngpios = <8>;
|
||||
nint-gpios = <&test_gpio 0 0>;
|
||||
};
|
||||
};
|
||||
|
||||
test_spi: spi@33334444 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue