Analog Devices ADM1075/ADM127x/ADM1281/ADM129x digital power monitors
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adi,adm1275.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
The ADM1293 and ADM1294 are high accuracy integrated digital power monitors that offer digital current, voltage, and power monitoring using an on-chip, 12-bit analog-to-digital converter (ADC), communicated through a PMBus compliant I2C interface.
Datasheets:
https://www.analog.com/en/products/adm1294.html
The SQ24905C is also a Hot-swap controller compatibility to the ADM1278, the PMBUS_MFR_MODEL is MC09C
Datasheets:
https://www.silergy.com/
download/downloadFile?id=5669&type=product&ftype=note
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,adm1075", "adi,adm1272", "adi,adm1273", "adi,adm1275", "adi,adm1276", "adi,adm1278", "adi,adm1281", "adi,adm1293", "adi,adm1294", "silergy,mc09c"
reg — required here #
Maximum number of items (maxItems): 1
adi,volt-curr-sample-average — not listed as required here #
Number of samples to be used to report voltage and current values.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 4, 8, 16, 32, 64, 128
adi,power-sample-average — not listed as required here #
Number of samples to be used to report power values.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 4, 8, 16, 32, 64, 128
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):hwmon-common.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
adi,volt-curr-sample-average— not listed as required hereDefault value (
default):128
adi,power-sample-average— not listed as required here
false— Not permitted by this property rule.
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
adi,volt-curr-sample-average— not listed as required hereDefault value (
default):16
adi,power-sample-average— not listed as required here
false— Not permitted by this property rule.
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
adi,volt-curr-sample-average— not listed as required hereDefault value (
default):128
adi,power-sample-average— not listed as required hereDefault value (
default):128
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"adi,adm1278","adi,adm1281","adi,adm1293","adi,adm1294","silergy,mc09c"When the condition matches (
then) #Properties and child nodes (
properties)
adi,volt-curr-sample-average— not listed as required hereDefault value (
default):128
adi,power-sample-average— not listed as required hereDefault value (
default):1
Required in this object (required): "compatible", "reg"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
power-sensor@10 {
compatible = "adi,adm1272";
reg = <0x10>;
shunt-resistor-micro-ohms = <500>;
adi,volt-curr-sample-average = <128>;
adi,power-sample-average = <128>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)