tests: drivers: gpio: add BD8LB600FS

Add the BD8LB600FS to the build all tests,
as well as add another specific test for just
this chip which also demonstrates the
usage.

Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
Benedikt Schmidt 2023-02-14 13:18:43 +01:00 committed by Christopher Friedt
commit c70f40274b

View file

@ -173,7 +173,7 @@
clock-frequency = <2000000>;
/* one entry for every devices at spi.dtsi */
cs-gpios = <&test_gpio 0 0 &test_gpio 0 0>;
cs-gpios = <&test_gpio 0 0 &test_gpio 0 0 &test_gpio 0 0>;
test_spi_mcp23s17: mcp23s17@0 {
compatible = "microchip,mcp23s17";
@ -192,6 +192,16 @@
#gpio-cells = <2>;
ngpios = <16>;
};
test_spi_bd8lb600fs: bd8lb600fs@0 {
compatible = "rohm,bd8lb600fs";
spi-max-frequency = <0>;
reg = <0x0>;
gpio-controller;
#gpio-cells = <2>;
ngpios = <8>;
reset-gpios = <&test_gpio 0 0>;
};
};
};
};