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:
parent
fd44b2eb2d
commit
c70f40274b
1 changed files with 11 additions and 1 deletions
|
@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue