tests: drivers: build_all: sensor: add I3C test framework
Add framework to test sensor drivers I3C conditional checkings. Signed-off-by: Armando Visconti <armando.visconti@st.com>
This commit is contained in:
parent
0d9654670f
commit
0973531c94
4 changed files with 31 additions and 0 deletions
18
tests/drivers/build_all/sensor/i3c.dtsi
Normal file
18
tests/drivers/build_all/sensor/i3c.dtsi
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* Copyright (c) 2023 STMicroelectronics
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
* Application overlay for i3c devices
|
||||
*/
|
||||
|
||||
/****************************************
|
||||
* PLEASE KEEP REG ADDRESSES SEQUENTIAL *
|
||||
***************************************/
|
||||
|
||||
test_i3c_lps22hh: lps22hh@100000803E0000001 {
|
||||
compatible = "st,lps22hh";
|
||||
reg = <0x1 0x00000803 0xE0000001>;
|
||||
assigned-address = <0x1>;
|
||||
drdy-gpios = <&test_gpio 0 0>;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue