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:
parent
d6eb80ac27
commit
ab60f8b16b
2 changed files with 13 additions and 0 deletions
|
@ -154,6 +154,18 @@ test_i2c_mpu9150: mpu9150@16 {
|
|||
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 {
|
||||
compatible = "isil,isl29035";
|
||||
label = "ISL29035";
|
||||
|
|
|
@ -43,6 +43,7 @@ CONFIG_IIS2DLPC=y
|
|||
CONFIG_IIS2ICLX=y
|
||||
CONFIG_IIS2MDC=y
|
||||
CONFIG_IIS3DHHC=y
|
||||
CONFIG_INA219=y
|
||||
CONFIG_ISL29035=y
|
||||
CONFIG_ISM330DHCX=y
|
||||
CONFIG_ITDS=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue