RTQ6056 Bi-Directional Current and Power Monitor with 16-bit ADC

Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/richtek,rtq6056.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "ChiYuan Huang <cy_huang@richtek.com>"

The RTQ6056 is a high accuracy current-sense monitor with I2C and SMBus interface, and the device provides full information for system by reading out the loading current and power.

The device monitors both of the drops across sense resistor and the BUS voltage, converts into the current in amperes, and power in watts through internal analog-to-digital converter ADC. The programmable calibration, adjustable conversion time, and averaging function are also built in for more design flexibility.

Datasheet is available at https://www.richtek.com/assets/product_file/RTQ6056/DSQ6056-00.pdf

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Allowed values (enum): "richtek,rtq6056", "richtek,rtq6059"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "richtek,rtq6053"

Item 2

Exact value (const): "richtek,rtq6056"

reg — required here #

Maximum number of items (maxItems): 1

#io-channel-cells — required here #

Exact value (const): 1

shunt-resistor-micro-ohms — not listed as required here #

Shunt IN+/IN- sensing node resistor

Required in this object (required): "compatible", "reg", "#io-channel-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

i2c {
  #address-cells = <1>;
  #size-cells = <0>;
  adc@40 {
    compatible = "richtek,rtq6056";
    reg = <0x40>;
    #io-channel-cells = <1>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page