Skip to content

Commit

Permalink
tests: drivers: build_all: sensor: add BD8LB600FS diagnostics
Browse files Browse the repository at this point in the history
Add the BD8LB600FS diagnostics sensor driver to the
build all tests.

Signed-off-by: Benedikt Schmidt <[email protected]>
  • Loading branch information
benediktibk authored and aescolar committed Mar 15, 2024
1 parent 4e4049d commit b839f41
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/drivers/build_all/sensor/app.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@
<&test_gpio 0 0>, /* 0x27 */
<&test_gpio 0 0>, /* 0x28 */
<&test_gpio 0 0>, /* 0x29 */
<&test_gpio 0 0>; /* 0x2A */
<&test_gpio 0 0>, /* 0x2A */
<&test_gpio 0 0>; /* 0x2B */

#include "spi.dtsi"
};
Expand Down
15 changes: 15 additions & 0 deletions tests/drivers/build_all/sensor/spi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -337,3 +337,18 @@ test_spi_ens160: ens160@2a {
spi-max-frequency = <0>;
int-gpios = <&test_gpio 0 0>;
};

test_spi_bd8lb600fs: bd8lb600fs@2b {
compatible = "rohm,bd8lb600fs";
reg = <0x2b>;
spi-max-frequency = <0>;
reset-gpios = <&test_gpio 0 0>;
instance-count = <1>;
status = "okay";

bd8lb600fs_diagnostics: bd8lb600fs_diagnostics {
compatible = "rohm,bd8lb600fs-diagnostics";
status = "okay";
#sensor-cells = <0>;
};
};

0 comments on commit b839f41

Please sign in to comment.