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:
Armando Visconti 2023-11-11 10:44:35 +01:00 committed by Fabio Baltieri
commit 0973531c94
4 changed files with 31 additions and 0 deletions

View 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>;
};