blob: 07925387e04d9283054c2c41d5e52d3bfe899202 [file]
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0
description: |
TI INA226 Bidirectional Current and Power Monitor.
The <zephyr/dt-bindings/sensor/ina226.h> file should be included in the
DeviceTree as it provides macros that can be used for initializing the
configuration registers.
compatible: "ti,ina226"
include: ti,ina2xx-common.yaml
properties:
avg-count:
type: int
description: |
Number of samples to average (applies to all inputs).
Default is the power-on reset value.
default: 1
enum: [1, 4, 16, 64, 128, 256, 512, 1024]
vbus-conversion-time-us:
type: int
description: |
Vbus conversion time in microseconds.
Default is the power-on reset value.
default: 1100
enum: [140, 204, 332, 588, 1100, 2116, 4156, 8244]
vshunt-conversion-time-us:
type: int
description: |
Vshunt conversion time in microseconds.
Default is the power-on reset value.
default: 1100
enum: [140, 204, 332, 588, 1100, 2116, 4156, 8244]
operating-mode:
type: string
description: |
Selects mode of operation.
Default is the power-on reset value.
default: "Shunt and Bus, Continuous"
enum:
- "Power-Down (or Shutdown)"
- "Shunt Voltage, Triggered"
- "Bus Voltage, Triggered"
- "Shunt and Bus, Triggered"
- "Power-Down (or Shutdown)"
- "Shunt Voltage, Continuous"
- "Bus Voltage, Continuous"
- "Shunt and Bus, Continuous"