tests: drivers: added INA219 to build tests

This adds the INA219 driver to the build tests.

Signed-off-by: Leonard Pollak <leonardp@tr-host.de>
This commit is contained in:
Leonard Pollak 2021-06-25 19:05:38 +02:00 committed by Maureen Helm
commit ab60f8b16b
2 changed files with 13 additions and 0 deletions

View file

@ -154,6 +154,18 @@ test_i2c_mpu9150: mpu9150@16 {
reg = <0x16>; reg = <0x16>;
}; };
test_i2c_ina219: ina219@40 {
compatible = "ti,ina219";
label = "INA219";
reg = <0x40>;
brng = <0>;
pg = <0>;
sadc = <13>;
badc = <13>;
shunt-milliohm = <100>;
lsb-microamp = <10>;
};
test_i2c_isl29035: isl29035@17 { test_i2c_isl29035: isl29035@17 {
compatible = "isil,isl29035"; compatible = "isil,isl29035";
label = "ISL29035"; label = "ISL29035";

View file

@ -43,6 +43,7 @@ CONFIG_IIS2DLPC=y
CONFIG_IIS2ICLX=y CONFIG_IIS2ICLX=y
CONFIG_IIS2MDC=y CONFIG_IIS2MDC=y
CONFIG_IIS3DHHC=y CONFIG_IIS3DHHC=y
CONFIG_INA219=y
CONFIG_ISL29035=y CONFIG_ISL29035=y
CONFIG_ISM330DHCX=y CONFIG_ISM330DHCX=y
CONFIG_ITDS=y CONFIG_ITDS=y