tests: drivers: build_all: sensor: add TLE9104
Add an instance of the output diagnostics sensor for the power train switch TLE9104 to the build all tests. Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
parent
888d071fe7
commit
abf32ced74
5 changed files with 22 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
|||
CONFIG_ADC=y
|
||||
CONFIG_ADC_ADS114S0X_GPIO=y
|
||||
CONFIG_ADC_INIT_PRIORITY=81
|
||||
CONFIG_MFD=y
|
||||
CONFIG_MFD_INIT_PRIORITY=79
|
||||
CONFIG_ADC_INIT_PRIORITY=80
|
||||
CONFIG_GPIO_TLE9104_INIT_PRIORITY=81
|
||||
CONFIG_GPIO_BD8LB600FS_INIT_PRIORITY=81
|
||||
|
|
|
@ -8,3 +8,5 @@ CONFIG_MFD=y
|
|||
CONFIG_MFD_INIT_PRIORITY=80
|
||||
CONFIG_GPIO_TLE9104_INIT_PRIORITY=81
|
||||
CONFIG_GPIO_BD8LB600FS_INIT_PRIORITY=81
|
||||
CONFIG_GPIO_AXP192_INIT_PRIORITY=81
|
||||
CONFIG_REGULATOR_FIXED_INIT_PRIORITY=82
|
||||
|
|
|
@ -128,7 +128,8 @@
|
|||
<&test_gpio 0 0>,
|
||||
<&test_gpio 0 0>,
|
||||
<&test_gpio 0 0>,
|
||||
<&test_gpio 0 0>;
|
||||
<&test_gpio 0 0>,
|
||||
<&test_gpio 0 0>; /* 0x2e */
|
||||
|
||||
#include "spi.dtsi"
|
||||
};
|
||||
|
|
|
@ -9,6 +9,7 @@ CONFIG_I2C=y
|
|||
CONFIG_I3C=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_SPI=y
|
||||
CONFIG_MFD=y
|
||||
CONFIG_W1=y
|
||||
CONFIG_SENSOR=y
|
||||
CONFIG_ICM42605_TRIGGER_NONE=y
|
||||
|
|
|
@ -370,3 +370,16 @@ test_spi_lis2dux12: lis2dux12@2d {
|
|||
int2-gpios = <&test_gpio 0 0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
test_spi_tle9104: tle9104@2e {
|
||||
compatible = "infineon,tle9104";
|
||||
reg = <0x2e>;
|
||||
spi-max-frequency = <0>;
|
||||
status = "okay";
|
||||
|
||||
tle9104_diagnostics: tle9104_diagnostics {
|
||||
compatible = "infineon,tle9104-diagnostics";
|
||||
status = "okay";
|
||||
#sensor-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue