tests: drivers: build_all: Add PCAL6408A GPIO driver
Include the PCAL6408A I/O expander driver in the build_all test. Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
This commit is contained in:
parent
d860569d94
commit
fa20bd129d
2 changed files with 12 additions and 0 deletions
|
@ -3,5 +3,6 @@ CONFIG_GPIO=y
|
|||
CONFIG_TEST_USERSPACE=y
|
||||
CONFIG_I2C=y
|
||||
CONFIG_GPIO_SX1509B=y
|
||||
CONFIG_GPIO_PCAL6408A=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_GPIO_MCP23S17=y
|
||||
|
|
|
@ -582,3 +582,14 @@ test_i2c_bmi270: bmi270@4a {
|
|||
label = "BMI270";
|
||||
reg = <0x4a>;
|
||||
};
|
||||
|
||||
test_i2c_pcal6408a: pcal6408a@4b {
|
||||
compatible = "nxp,pcal6408a";
|
||||
label = "PCAL6408A";
|
||||
reg = <0x4b>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
ngpios = <8>;
|
||||
int-gpios = <&test_gpio 0 0>;
|
||||
reset-gpios = <&test_gpio 0 0>;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue