From ccc4357f0a2c4e1b2cc39f48c227f3dc905ba3d0 Mon Sep 17 00:00:00 2001 From: Chekhov Ma Date: Thu, 29 Aug 2024 19:11:46 +0800 Subject: [PATCH] drivers: gpio: pca_series: add supported device to tests/build_all Add pcal6524, pcal6534, pca9538, pca9539 to tests/build_all/gpio Signed-off-by: Chekhov Ma --- tests/drivers/build_all/gpio/app.overlay | 38 ++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/tests/drivers/build_all/gpio/app.overlay b/tests/drivers/build_all/gpio/app.overlay index 6a34c45d4d5f..0a2d3133c0a1 100644 --- a/tests/drivers/build_all/gpio/app.overlay +++ b/tests/drivers/build_all/gpio/app.overlay @@ -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>;