Skip to content

Commit

Permalink
drivers: gpio: pca_series: add supported device to tests/build_all
Browse files Browse the repository at this point in the history
Add pcal6524, pcal6534, pca9538, pca9539 to tests/build_all/gpio

Signed-off-by: Chekhov Ma <[email protected]>
  • Loading branch information
CkovMk authored and aescolar committed Sep 11, 2024
1 parent e79507b commit ccc4357
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions tests/drivers/build_all/gpio/app.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,44 @@
reset-gpios = <&test_gpio 0 0>;
};

test_i2c_pcal6524a: pcal6524@22 {
compatible = "nxp,pcal6524";
reg = <0x22>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <24>;
int-gpios = <&test_gpio 0 0>;
reset-gpios = <&test_gpio 0 0>;
};

test_i2c_pcal6534a: pcal6534@42 {
compatible = "nxp,pcal6534";
reg = <0x42>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <32>;
int-gpios = <&test_gpio 0 0>;
reset-gpios = <&test_gpio 0 0>;
};

test_i2c_pca9538: pca9538@70 {
compatible = "nxp,pca9538";
reg = <0x70>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <8>;
int-gpios = <&test_gpio 0 0>;
};

test_i2c_pca9539: pca9539@74 {
compatible = "nxp,pca9539";
reg = <0x74>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <16>;
int-gpios = <&test_gpio 0 0>;
};

test_i2c_pca95xx: pca95xx@3 {
compatible = "nxp,pca95xx";
reg = <0x03>;
Expand Down

0 comments on commit ccc4357

Please sign in to comment.