Skip to content

Commit 25b66c9

Browse files
allemanmkartben
authored andcommitted
tests: drivers: build_all: input: add cy8cmbr3xxx test
Add test for cy8cmbr3xxx input driver. Signed-off-by: Matthias Alleman <[email protected]>
1 parent d0e98b2 commit 25b66c9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/drivers/build_all/input/app.overlay

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,16 @@
273273
reg = <0xa>;
274274
compatible= "nintendo,nunchuk";
275275
};
276+
277+
cy8cmbr3xxx@b {
278+
compatible = "cypress,cy8cmbr3xxx";
279+
status= "okay";
280+
reg = <0xb>;
281+
int-gpios = <&test_gpio 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
282+
rst-gpios = <&test_gpio 1 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
283+
input-codes = <0 1 2 3 4 5 6 7>;
284+
proximity-codes = <8>;
285+
};
276286
};
277287

278288
spi@2 {

0 commit comments

Comments
 (0)