ADD: Driver for Sensor INA226

INA226 - Bidirectional Current and Power Monitor w/ I2C
Boards Tested: mr_canhubk3

Signed-off-by: Mayank Mahajan <mayankmahajan.x@nxp.com>
This commit is contained in:
Mayank Mahajan 2024-05-02 08:55:16 +05:30 committed by Carles Cufí
commit d1687a557c
8 changed files with 495 additions and 0 deletions

View file

@ -22,6 +22,7 @@
#include <zephyr/dt-bindings/sensor/lis2de12.h>
#include <zephyr/dt-bindings/sensor/tmag5273.h>
#include <zephyr/dt-bindings/sensor/stts22h.h>
#include <zephyr/dt-bindings/sensor/ina226.h>
/****************************************
* PLEASE KEEP REG ADDRESSES SEQUENTIAL *
@ -1041,3 +1042,10 @@ test_i2c_tmp114: tmp114@8c {
compatible = "ti,tmp114";
reg = <0x8c>;
};
test_i2c_ina226: ina226@8d {
compatible = "ti,ina226";
reg = <0x8d>;
current-lsb-microamps = <5000>;
rshunt-micro-ohms = <500>;
};