Part Number: INA260
Tool/software: Linux
Hello:
We are using INA260 in our custom design board. I have got the following module to enable in my Kernel configuration.
CONFIG_PACKAGE_kmod-hwmon-ina2xx:
│
│ Kernel module for ina2xx dc current monitor chips
│
│
│
│ Symbol: PACKAGE_kmod-hwmon-ina2xx [=y]
│ Type : tristate
│ Prompt: kmod-hwmon-ina2xx.............................. INA2XX monitoring support
│ Location:
│ -> Kernel modules
│ -> Hardware Monitoring Support
│ -> kmod-hwmon-core.............................. Hardware monitoring support (PACKAGE_kmod-hwmon-core [=y])
│ Defined at tmp/.config-package.in:9152
│ Depends on: PACKAGE_kmod-hwmon-core [=y]
│ Selects: PACKAGE_kmod-i2c-core [=y] && PACKAGE_kmod-regmap [=n]
&i2c1 {
clock-frequency = <100000>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c1>;
status = "okay";
ina260 {
compatible = "ti,ina230";
reg = <0x4e>;
shunt-resistor = <10000>;
};
};
Am I missing any DTS entry for current sense trip? or how do I assign the same?
We have to measure the power draw on the USB port, hence the Alert output from INA260 is connected to a GPIO. I believe we have to define the GPIO entry in the above structure.
Appreciate your support
Regards,
Waman Prabhu
Methode Electronics.
