Hwmon bindings
Single-page view · as markdown
Analog Devices ADP1050 digital controller with PMBus interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings / pmbus
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/pmbus/adi,adp1050.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Radu Sabau <radu.sabau@analog.com>"
The ADP1050 and similar devices are used to monitor system voltages, currents, power, and temperatures.
Through the PMBus interface, the ADP1050 targets isolated power supplies
and has four individual monitors for input/output voltage, input current
and temperature.
Datasheet:
https://www.analog.com/en/products/adp1050.html
https://www.analog.com/en/products/adp1051.html
https://www.analog.com/en/products/adp1055.html
https://www.analog.com/en/products/ltp8800-1a.html
https://www.analog.com/en/products/ltp8800-2.html
https://www.analog.com/en/products/ltp8800-4a.html
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,adp1050", "adi,adp1051", "adi,adp1055", "adi,ltp8800"
reg — required here #
Maximum number of items (maxItems): 1
vcc-supply — required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "vcc-supply"
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>;
clock-frequency = <100000>;
hwmon@70 {
compatible = "adi,adp1050";
reg = <0x70>;
vcc-supply = <&vcc>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Analog Devices LT3074 voltage regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings / pmbus
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/pmbus/adi,lt3074.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Cedric Encarnacion <cedricjustine.encarnacion@analog.com>"
The LT3074 is a low voltage, ultra-low noise and ultra-fast transient response linear regulator. It allows telemetry for input/output voltage, output current and temperature through the PMBus serial interface.
Datasheet:
https://www.analog.com/en/products/lt3074.html
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/regulator/regulator.yaml#
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,lt3074"
reg — required here #
Maximum number of items (maxItems): 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>;
regulator@6d {
compatible = "adi,lt3074";
reg = <0x6d>;
regulator-name = "vout";
regulator-max-microvolt = <1250000>;
regulator-min-microvolt = <1150000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices MAX17616/MAX17616A Current-Limiter with PMBus Interface
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings / pmbus
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/pmbus/adi,max17616.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kim Seer Paller <kimseer.paller@analog.com>"
The MAX17616/MAX17616A is a 3V to 80V, 7A current-limiter with overvoltage,
surge, undervoltage, reverse polarity, and loss of ground protection. It allows
monitoring of input/output voltage, output current and temperature through the
PMBus serial interface.
Datasheet:
https://www.analog.com/en/products/max17616.html
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "adi,max17616"
reg — required here #
Maximum number of items (maxItems): 1
vcc-supply — required here #
true — No constraints added by this property rule.
interrupts — not listed as required here #
Fault condition signal provided on SMBALERT pin.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg", "vcc-supply"
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>;
hwmon@16 {
compatible = "adi,max17616";
reg = <0x16>;
vcc-supply = <&vcc>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Infineon TDA38640 Synchronous Buck Regulator with SVID and I2C
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings / pmbus
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/pmbus/infineon,tda38640.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Naresh Solanki <naresh.solanki@9elements.com>"
The Infineon TDA38640 is a 40A Single-voltage Synchronous Buck Regulator with SVID and I2C designed for Industrial use.
Datasheet: https://www.infineon.com/dgdl/Infineon-TDA38640-0000-DataSheet-v02_04-EN.pdf?fileId=8ac78c8c80027ecd018042f2337f00c9
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "infineon,tda38640"
reg — required here #
Maximum number of items (maxItems): 1
infineon,en-pin-fixed-level — not listed as required here #
Indicates that the chip EN pin is at fixed level or left unconnected(has internal pull-down).
Value type (type): "boolean"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
regulators — not listed as required here #
Value type (type): "object"
list of regulators provided by this controller.
Properties and child nodes (properties) #
vout — not listed as required here
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
tda38640@40 {
compatible = "infineon,tda38640";
reg = <0x40>;
interrupt-parent = <&smb_pex_cpu0_event>;
interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
regulators {
pvnn_main_cpu0: vout {
regulator-name = "pvnn_main_cpu0";
regulator-enable-ramp-delay = <200>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Renesas Digital Multiphase Voltage Regulators with PMBus
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings / pmbus
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/pmbus/isil,isl68137.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Grant Peltier <grant.peltier.jg@renesas.com>"
Renesas digital multiphase voltage regulators with PMBus. https://www.renesas.com/en/products/power-management/multiphase-power/multiphase-dcdc-switching-controllers
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "isil,isl68137", "renesas,isl68220", "renesas,isl68221", "renesas,isl68222", "renesas,isl68223", "renesas,isl68224", "renesas,isl68225", "renesas,isl68226", "renesas,isl68227", "renesas,isl68229", "renesas,isl68233", "renesas,isl68239", "renesas,isl69222", "renesas,isl69223", "renesas,isl69224", "renesas,isl69225", "renesas,isl69227", "renesas,isl69228", "renesas,isl69234", "renesas,isl69236", "renesas,isl69239", "renesas,isl69242", "renesas,isl69243", "renesas,isl69247", "renesas,isl69248", "renesas,isl69254", "renesas,isl69255", "renesas,isl69256", "renesas,isl69259", "isil,isl69260", "renesas,isl69268", "isil,isl69269", "renesas,isl69298", "renesas,raa228000", "renesas,raa228004", "renesas,raa228006", "renesas,raa228228", "renesas,raa228244", "renesas,raa228246", "renesas,raa229001", "renesas,raa229004", "renesas,raa229621"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^channel@([0-3])$ — name matches this regular expression #
Value type (type): "object"
Container for properties specific to a particular channel (rail).
Properties and child nodes (properties) #
reg — required here
The channel (rail) index.
Array item rules (items)
Minimum value (
minimum):0Maximum value (
maximum):3
vout-voltage-divider — not listed as required here
Resistances of a voltage divider placed between Vout and the voltage sense (Vsense) pin for the given channel (rail). It has two numbers representing the resistances of the voltage divider provided as <Rout Rtotal> which yields an adjusted Vout as Vout_adj = Vout * Rtotal / Rout given the original Vout as reported by the Vsense pin. Given a circuit configuration similar to the one below, Rtotal = R1 + Rout.
Vout ----.
|
.-----.
| R1 |
'-----'
|
+---- Vsense
|
.-----.
| Rout|
'-----'
|
GND
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Required in this object (required): "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg"
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>;
isl68239@60 {
compatible = "isil,isl68137";
reg = <0x60>;
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
isl68239@60 {
compatible = "renesas,isl68239";
reg = <0x60>;
#address-cells = <1>;
#size-cells = <0>;
channel@0 {
reg = <0>;
vout-voltage-divider = <1000 2000>; // Reported Vout/Pout would be scaled by 2
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
MPS MP2975 Synchronous Buck Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings / pmbus
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/pmbus/mps,mp2975.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Naresh Solanki <naresh.solanki@9elements.com>"
The MPS MP2971, MP2973 & MP2975 is a multi-phase voltage regulator designed for use in high-performance computing and server applications. It supports I2C/PMBus for control and monitoring.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mps,mp2971", "mps,mp2973", "mps,mp2975"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
regulators — not listed as required here #
Value type (type): "object"
List of regulators provided by this controller.
Properties matching a name pattern (patternProperties) #
^vout[0-1]$ — name matches this regular expression
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
regulator@58 {
compatible = "mps,mp2973";
reg = <0x58>;
interrupt-parent = <&smb_pex_cpu1_event>;
interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
regulators {
vout0 {
regulator-name = "pvccin_cpu1";
regulator-enable-ramp-delay = <200>;
};
vout1 {
regulator-name = "pvccfa_ehv_fivra_cpu1";
regulator-enable-ramp-delay = <200>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Monolithic Power Systems Multiphase Voltage Regulators with PMBus
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings / pmbus
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/pmbus/mps,mpq8785.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Charles Hsu <ythsu0511@gmail.com>"
Monolithic Power Systems digital multiphase voltage regulators with PMBus.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "mps,mpm3695", "mps,mpm3695-25", "mps,mpm82504", "mps,mpq8785"
reg — required here #
Maximum number of items (maxItems): 1
mps,vout-fb-divider-ratio-permille — not listed as required here #
The feedback resistor divider ratio, expressed in permille (Vfb / Vout * 1000). This value is written to the PMBUS_VOUT_SCALE_LOOP register and is required for correct output voltage presentation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 4095
Default value (default): 706
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereWhen the condition matches (
then) #Properties and child nodes (
properties)
mps,vout-fb-divider-ratio-permille— not listed as required hereMaximum value (
maximum):1023
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereExact value (
const):"mps,mpq8785"When the condition matches (
then) #Properties and child nodes (
properties)
mps,vout-fb-divider-ratio-permille— not listed as required hereMaximum value (
maximum):2047
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>;
pmic@30 {
compatible = "mps,mpm82504";
reg = <0x30>;
mps,vout-fb-divider-ratio-permille = <600>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
National Semiconductor/Texas Instruments LM250x6/LM506x power-management ICs
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings / pmbus
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/pmbus/ti,lm25066.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Zev Weiss <zev@bewilderbeest.net>"
The LM25066 family of power-management ICs (a.k.a. hot-swap controllers or eFuses in various contexts) are PMBus devices that offer temperature, current, voltage, and power monitoring.
Datasheet: https://www.ti.com/lit/ds/symlink/lm25066.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,lm25056", "ti,lm25066", "ti,lm5064", "ti,lm5066", "ti,lm5066i"
reg — required here #
Maximum number of items (maxItems): 1
shunt-resistor-micro-ohms — not listed as required here #
Shunt (sense) resistor value in micro-Ohms
Default value (default): 1000
regulators — not listed as required here #
Value type (type): "object"
Properties and child nodes (properties) #
vout — not listed as required here
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/hwmon/hwmon-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
pmic@40 {
compatible = "ti,lm25066";
reg = <0x40>;
shunt-resistor-micro-ohms = <675>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Texas Instruments TPS25990 Stackable eFuse
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings / pmbus
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/pmbus/ti,tps25990.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jerome Brunet <jbrunet@baylibre.com>"
The TI TPS25990 is an integrated, high-current circuit protection and power management device with PMBUS interface
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,tps25990"
reg — required here #
Maximum number of items (maxItems): 1
ti,rimon-micro-ohms — required here #
micro Ohms value of the resistance installed between the Imon pin and the ground reference.
interrupts — not listed as required here #
PMBUS SMB Alert Interrupt.
Maximum number of items (maxItems): 1
regulators — not listed as required here #
Value type (type): "object"
list of regulators provided by this controller.
Properties and child nodes (properties) #
vout — not listed as required here
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
gpdac1 — not listed as required here
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
gpdac2 — not listed as required here
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "ti,rimon-micro-ohms"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
hw-monitor@46 {
compatible = "ti,tps25990";
reg = <0x46>;
interrupt-parent = <&gpio>;
interrupts = <42 IRQ_TYPE_LEVEL_LOW>;
ti,rimon-micro-ohms = <1370000000>;
regulators {
cpu0_vout: vout {
regulator-name = "main_cpu0";
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
UCD90320 power sequencer
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings / pmbus
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/pmbus/ti,ucd90320.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jim Wright <wrightj@linux.vnet.ibm.com>"
The UCD90320 is a 32-rail PMBus/I2C addressable power-supply sequencer and monitor. The 24 integrated ADC channels (AMONx) monitor the power supply voltage, current, and temperature. Of the 84 GPIO pins, 8 can be used as digital monitors (DMONx), 32 to enable the power supply (ENx), 24 for margining (MARx), 16 for logical GPO, and 32 GPIs for cascading, and system function.
http://focus.ti.com/lit/ds/symlink/ucd90320.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,ucd9000", "ti,ucd9090", "ti,ucd90120", "ti,ucd90124", "ti,ucd90160", "ti,ucd90320", "ti,ucd90910"
reg — required here #
Maximum number of items (maxItems): 1
gpio-controller — not listed as required here #
true — No constraints added by this property rule.
gpio-line-names — not listed as required here #
Minimum number of items (minItems): 84
Maximum number of items (maxItems): 84
#gpio-cells — not listed as required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg"
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>;
ucd90320@11 {
compatible = "ti,ucd90320";
reg = <0x11>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Vicor PLI1209BC Power Regulator
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings / pmbus
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/pmbus/vicor,pli1209bc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Marcello Sylvester Bauer <sylv@sylv.io>", "Naresh Solanki <naresh.solanki@9elements.com>"
The Vicor PLI1209BC is a Digital Supervisor with Isolation for use with BCM Bus Converter Modules.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "vicor,pli1209bc"
reg — required here #
Maximum number of items (maxItems): 1
regulators — not listed as required here #
Value type (type): "object"
List of regulators provided by this controller.
Properties and child nodes (properties) #
vout2 — not listed as required here
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg"
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>;
regulator@5f {
compatible = "vicor,pli1209bc";
reg = <0x5f>;
regulators {
p12v_d: vout2 {
regulator-name = "bcm3";
regulator-boot-on;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Analog Devices AD7416/AD7417/AD7418 temperature sensors
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adi,ad741x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,ad7416", "adi,ad7417", "adi,ad7418"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
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>;
temperature-sensor@28 {
compatible = "adi,ad7418";
reg = <0x28>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adi,adm1177.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michael Hennerich <michael.hennerich@analog.com>"
Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1177.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,adm1177"
reg — required here #
Maximum number of items (maxItems): 1
avcc-supply — not listed as required here #
Phandle to the Avcc power supply
shunt-resistor-micro-ohms — not listed as required here #
The value of current sense resistor in microohms. If not provided, the current reading and overcurrent alert is disabled.
adi,shutdown-threshold-microamp — not listed as required here #
Specifies the current level at which an over current alert occurs. If not provided, the overcurrent alert is configured to max ADC range based on shunt-resistor-micro-ohms.
adi,vrange-high-enable — not listed as required here #
Specifies which internal voltage divider to be used. A 1 selects a 7:2 voltage divider while a 0 selects a 14:1 voltage divider.
Value type (type): "boolean"
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):hwmon-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pwmon@5a {
compatible = "adi,adm1177";
reg = <0x5a>;
shunt-resistor-micro-ohms = <50000>; /* 50 mOhm */
adi,shutdown-threshold-microamp = <1059000>; /* 1.059 A */
adi,vrange-high-enable;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices ADM1266 Cascadable Super Sequencer with Margin Control and Fault Recording
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adi,adm1266.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Cedric Encarnacion <cedricjustine.encarnacion@analog.com>"
Analog Devices ADM1266 Cascadable Super Sequencer with Margin Control and Fault Recording. https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1266.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,adm1266"
reg — required here #
I2C address of slave device.
Array item rules (items) #
Minimum value (
minimum):64Maximum value (
maximum):79
avcc-supply — not listed as required here #
Phandle to the Avcc power supply.
Required in this object (required): "compatible", "reg"
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>;
adm1266@40 {
compatible = "adi,adm1266";
reg = <0x40>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices ADM1075/ADM127x/ADM1281/ADM129x digital power monitors
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
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)
Analog Devices AXI FAN Control
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adi,axi-fan-control.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nuno Sá <nuno.sa@analog.com>"
Bindings for the Analog Devices AXI FAN Control driver. Specifications of the core can be found in:
https://wiki.analog.com/resources/fpga/docs/axi_fan_control
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,axi-fan-control-1.00.a"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
pulses-per-revolution — required here #
Value specifying the number of pulses per revolution of the controlled FAN.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 4
Required in this object (required): "compatible", "reg", "clocks", "interrupts", "pulses-per-revolution"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
fpga_axi: fpga-axi {
#address-cells = <0x2>;
#size-cells = <0x1>;
axi_fan_control: axi-fan-control@80000000 {
compatible = "adi,axi-fan-control-1.00.a";
reg = <0x0 0x80000000 0x10000>;
clocks = <&clk 71>;
interrupts = <0 110 0>;
pulses-per-revolution = <2>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright 2019 Analog Devices Inc.
Analog Devices LTC2945 wide range i2c power monitor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adi,ltc2945.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Guenter Roeck <linux@roeck-us.net>"
Analog Devices LTC2945 wide range i2c power monitor over I2C.
https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2945.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,ltc2945"
reg — required here #
Maximum number of items (maxItems): 1
shunt-resistor-micro-ohms — not listed as required here #
Shunt resistor value in micro-Ohms
Default value (default): 1000
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):hwmon-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
power-monitor@6e {
compatible = "adi,ltc2945";
reg = <0x6e>;
/* 10 milli-Ohm shunt resistor */
shunt-resistor-micro-ohms = <10000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices LTC2947 high precision power and energy monitor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adi,ltc2947.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nuno Sá <nuno.sa@analog.com>"
Analog Devices LTC2947 high precision power and energy monitor over SPI or I2C.
https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,ltc2947"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
The LTC2947 uses either a trimmed internal oscillator or an external clock as the time base for determining the integration period to represent time, charge and energy. When an external clock is used, this property must be set accordingly.
Maximum number of items (maxItems): 1
adi,accumulator-ctl-pol — not listed as required here #
This property controls the polarity of current that is accumulated to calculate charge and energy so that, they can be only accumulated for positive current for example. Since there are two sets of registers for the accumulated values, this entry can also have two items which sets energy1/charge1 and energy2/charger2 respectively. Check table 12 of the datasheet for more information on the supported options.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Array item rules (items) #
Allowed values (
enum):0,1,2,3Default value (
default):0
adi,accumulation-deadband-microamp — not listed as required here #
This property controls the Accumulation Dead band which allows to set the level of current below which no accumulation takes place.
Maximum value (maximum): 255
Default value (default): 0
adi,gpio-out-pol — not listed as required here #
This property controls the GPIO polarity. Setting it to one makes the GPIO active high, setting it to zero makets it active low. When this property is present, the GPIO is automatically configured as output and set to control a fan as a function of measured temperature.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 0
adi,gpio-in-accum — not listed as required here #
When set, this property sets the GPIO as input. It is then used to control the accumulation of charge, energy and time. This function can be enabled/configured separately for each of the two sets of accumulation registers. Check table 13 of the datasheet for more information on the supported options. This property cannot be used together with adi,gpio-out-pol.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Array item rules (items) #
Allowed values (
enum):0,1,2Default value (
default):0
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
spi {
#address-cells = <1>;
#size-cells = <0>;
ltc2947_spi: ltc2947@0 {
compatible = "adi,ltc2947";
reg = <0>;
/* accumulation takes place always for energ1/charge1. */
/* accumulation only on positive current for energy2/charge2. */
adi,accumulator-ctl-pol = <0 1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices LTC2991 Octal I2C Voltage, Current and Temperature Monitor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adi,ltc2991.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Antoniu Miclaus <antoniu.miclaus@analog.com>"
The LTC2991 is used to monitor system temperatures, voltages and currents. Through the I2C serial interface, the eight monitors can individually measure supply voltages and can be paired for differential measurements of current sense resistors or temperature sensing transistors.
Datasheet:
https://www.analog.com/en/products/ltc2991.html
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "adi,ltc2991"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
vcc-supply — required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
^channel@[0-3]$ — name matches this regular expression #
Value type (type): "object"
Represents the differential/temperature channels.
Properties and child nodes (properties) #
reg — required here
The channel number. LTC2991 can monitor 4 currents/temperatures.
Array item rules (items)
Minimum value (
minimum):0Maximum value (
maximum):3
shunt-resistor-micro-ohms — not listed as required here
The value of curent sense resistor in micro ohms. Pin configuration is set for differential input pair.
adi,temperature-enable — not listed as required here
Enables temperature readings. Pin configuration is set for remote diode temperature measurement.
Value type (type): "boolean"
Required in this object (required): "reg"
All of these rules must match (allOf) #
Rule 1
Condition (
if)Required in this object (
required):"shunt-resistor-micro-ohms"When the condition matches (
then)Properties and child nodes (
properties)
adi,temperature-enable— not listed as required here
false— Not permitted by this property rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "vcc-supply"
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>;
hwmon@48 {
compatible = "adi,ltc2991";
reg = <0x48>;
vcc-supply = <&vcc>;
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
hwmon@48 {
#address-cells = <1>;
#size-cells = <0>;
compatible = "adi,ltc2991";
reg = <0x48>;
vcc-supply = <&vcc>;
channel@0 {
reg = <0x0>;
shunt-resistor-micro-ohms = <100000>;
};
channel@1 {
reg = <0x1>;
shunt-resistor-micro-ohms = <100000>;
};
channel@2 {
reg = <0x2>;
adi,temperature-enable;
};
channel@3 {
reg = <0x3>;
adi,temperature-enable;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Linear Technology 2992 Power Monitor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adi,ltc2992.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Cedric Encarnacion <cedricjustine.encarnacion@analog.com>"
Linear Technology 2992 Dual Wide Range Power Monitor https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2992.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,ltc2992"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
avcc-supply — not listed as required here #
true — No constraints added by this property rule.
Properties matching a name pattern (patternProperties) #
^channel@([0-1])$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Represents the two supplies to be monitored.
Properties and child nodes (properties) #
reg — not listed as required here
The channel number. LTC2992 can monitor two supplies.
Array item rules (items)
Minimum value (
minimum):0Maximum value (
maximum):1
shunt-resistor-micro-ohms — not listed as required here
The value of current sense resistor in microohms.
Required in this object (required): "compatible", "reg"
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>;
ltc2992@6f {
#address-cells = <1>;
#size-cells = <0>;
compatible = "adi,ltc2992";
reg = <0x6f>;
channel@0 {
reg = <0x0>;
shunt-resistor-micro-ohms = <10000>;
};
channel@1 {
reg = <0x1>;
shunt-resistor-micro-ohms = <10000>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices LTC4282 I2C High Current Hot Swap Controller over I2C
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adi,ltc4282.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nuno Sa <nuno.sa@analog.com>"
Analog Devices LTC4282 I2C High Current Hot Swap Controller over I2C.
https://www.analog.com/media/en/technical-documentation/data-sheets/ltc4282.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,ltc4282"
reg — required here #
Maximum number of items (maxItems): 1
vdd-supply — not listed as required here #
true — No constraints added by this property rule.
clocks — not listed as required here #
Maximum number of items (maxItems): 1
#clock-cells — not listed as required here #
Exact value (const): 0
adi,rsense-nano-ohms — required here #
Value of the sense resistor.
adi,vin-mode-microvolt — not listed as required here #
Selects operating range for the Undervoltage, Overvoltage and Foldback pins. Also for the ADC. Should be set to the nominal input voltage.
Allowed values (enum): 3300000, 5000000, 12000000, 24000000
Default value (default): 12000000
adi,fet-bad-timeout-ms — not listed as required here #
From the moment a FET bad conditions is present, this property selects the wait time/timeout for a FET-bad fault to be signaled. Setting this to 0, disables FET bad faults to be reported.
Default value (default): 255
Maximum value (maximum): 255
adi,overvoltage-dividers — not listed as required here #
Select which dividers to use for VDD Overvoltage detection. Note that when the internal dividers are used the threshold is referenced to VDD. The percentages in the datasheet are misleading since the actual values to look for are in the "Absolute Maximum Ratings" table in the "Comparator Inputs" section. In there there's a line for each of the 5%, 10% and 15% settings with the actual min, typical and max tolerances.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "external", "vdd_5_percent", "vdd_10_percent", "vdd_15_percent"
Default value (default): "external"
adi,undervoltage-dividers — not listed as required here #
Select which dividers to use for VDD Overvoltage detection. Note that when the internal dividers are used the threshold is referenced to VDD. The percentages in the datasheet are misleading since the actual values to look for are in the "Absolute Maximum Ratings" table in the "Comparator Inputs" section. In there there's a line for each of the 5%, 10% and 15% settings with the actual min, typical and max tolerances.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "external", "vdd_5_percent", "vdd_10_percent", "vdd_15_percent"
Default value (default): "external"
adi,current-limit-sense-microvolt — not listed as required here #
The current limit sense voltage of the chip is adjustable between 12.5mV and 34.4mV in 3.1mV steps. This effectively limits the current on the load.
Allowed values (enum): 12500, 15625, 18750, 21875, 25000, 28125, 31250, 34375
Default value (default): 25000
adi,overcurrent-retry — not listed as required here #
If set, enables the chip to auto-retry 256 timer cycles after an Overcurrent fault.
Value type (type): "boolean"
adi,overvoltage-retry-disable — not listed as required here #
If set, disables the chip to auto-retry 50ms after an Overvoltage fault. It's enabled by default.
Value type (type): "boolean"
adi,undervoltage-retry-disable — not listed as required here #
If set, disables the chip to auto-retry 50ms after an Undervoltage fault. It's enabled by default.
Value type (type): "boolean"
adi,fault-log-enable — not listed as required here #
If set, enables the FAULT_LOG and ADC_ALERT_LOG registers to be written to the EEPROM when a fault bit transitions high and hence, will be available after a power cycle (the chip loads the contents of the EE_FAULT_LOG register - the one in EEPROM - into FAULT_LOG at boot).
Value type (type): "boolean"
adi,gpio1-mode — not listed as required here #
Defines the function of the Pin. It can indicate that power is good (PULL the pin low when power is not good) or that power is bad (Go into high-z when power is not good).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "power_bad", "power_good"
Default value (default): "power_good"
adi,gpio2-mode — not listed as required here #
Defines the function of the Pin. It can be set as the input for the ADC or indicating that the MOSFET is in stress (dissipating power).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "adc_input", "stress_fet"
Default value (default): "adc_input"
adi,gpio3-monitor-enable — not listed as required here #
If set, gpio3 is set as input for the ADC instead of gpio2.
Value type (type): "boolean"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Required in this object (
required):"adi,gpio3-monitor-enable"When the condition matches (
then) #Properties and child nodes (
properties)
adi,gpio2-mode— not listed as required hereExact value (
const):"stress_fet"
Required in this object (required): "compatible", "reg", "adi,rsense-nano-ohms"
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>;
hwmon@50 {
compatible = "adi,ltc4282";
reg = <0x50>;
adi,rsense-nano-ohms = <500>;
adi,gpio1-mode = "power_good";
adi,gpio2-mode = "adc_input";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices MAX31760 Fan-Speed Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adi,max31760.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ibrahim Tilki <Ibrahim.Tilki@analog.com>"
Analog Devices MAX31760 Fan-Speed Controller https://datasheets.maximintegrated.com/en/ds/MAX31760.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,max31760"
reg — required here #
I2C address of slave device.
Minimum value (minimum): 80
Maximum value (maximum): 87
Required in this object (required): "compatible", "reg"
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>;
fan-controller@50 {
reg = <0x50>;
compatible = "adi,max31760";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adi,max31827.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Daniel Matyas <daniel.matyas@analog.com>"
Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch with I2C Interface https://www.analog.com/media/en/technical-documentation/data-sheets/MAX31827-MAX31829.pdf
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"adi,max31827"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"adi,max31827"
reg — required here #
Maximum number of items (maxItems): 1
vref-supply — required here #
Must have values in the interval (1.6V; 3.6V) in order for the device to function correctly.
adi,comp-int — not listed as required here #
If present interrupt mode is used. If not present comparator mode is used (default).
Value type (type): "boolean"
adi,alarm-pol — not listed as required here #
Sets the alarms active state. - 0 = active low - 1 = active high
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
adi,fault-q — not listed as required here #
Select how many consecutive temperature faults must occur before overtemperature or undertemperature faults are indicated in the corresponding status bits.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 4, 8
adi,timeout-enable — not listed as required here #
Enables timeout. Bus timeout resets the I2C-compatible interface when SCL is low for more than 30ms (nominal).
Value type (type): "boolean"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"adi,max31829"When the condition matches (
then) #Properties and child nodes (
properties)
adi,alarm-pol— not listed as required hereDefault value (
default):1When the condition does not match (
else) #Properties and child nodes (
properties)
adi,alarm-pol— not listed as required hereDefault value (
default):0
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"adi,max31827"When the condition matches (
then) #Properties and child nodes (
properties)
adi,fault-q— not listed as required hereDefault value (
default):1When the condition does not match (
else) #Properties and child nodes (
properties)
adi,fault-q— not listed as required hereDefault value (
default):4
Required in this object (required): "compatible", "reg", "vref-supply"
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>;
temperature-sensor@42 {
compatible = "adi,max31827";
reg = <0x42>;
vref-supply = <®_vdd>;
adi,comp-int;
adi,alarm-pol = <0>;
adi,fault-q = <1>;
adi,timeout-enable;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ADT7475 hwmon sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/adt7475.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jean Delvare <jdelvare@suse.com>"
The ADT7473, ADT7475, ADT7476, and ADT7490 are thermal monitors and multiple PWN fan controllers.
They support monitoring and controlling up to four fans (the ADT7490 can only control up to three). They support reading a single on chip temperature sensor and two off chip temperature sensors (the ADT7490 additionally supports measuring up to three current external temperature sensors with series resistance cancellation (SRC)).
Datasheets: https://www.onsemi.com/pub/Collateral/ADT7473-D.PDF https://www.onsemi.com/pub/Collateral/ADT7475-D.PDF https://www.onsemi.com/pub/Collateral/ADT7476-D.PDF https://www.onsemi.com/pub/Collateral/ADT7490-D.PDF
Description taken from onsemiconductors specification sheets, with minor rephrasing.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,adt7473", "adi,adt7475", "adi,adt7476", "adi,adt7490"
reg — required here #
Maximum number of items (maxItems): 1
adi,pwm-active-state — not listed as required here #
Integer array, represents the active state of the pwm outputs If set to 0 the pwm uses a logic low output for 100% duty cycle. If set to 1 the pwm uses a logic high output for 100% duty cycle.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Deprecated (deprecated): true
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 3
Array item rules (items) #
Default value (
default):1
#pwm-cells — not listed as required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):3
Rule 2
Exact value (
const):4Deprecated (
deprecated):true
Number of cells in a PWM specifier.
- 0: The PWM channel
- 1: The PWM period in nanoseconds
- 90909091 (11 Hz)
- 71428571 (14 Hz)
- 45454545 (22 Hz)
- 34482759 (29 Hz)
- 28571429 (35 Hz)
- 22727273 (44 Hz)
- 17241379 (58 Hz)
- 11363636 (88 Hz)
- 44444 (22 kHz)
- 2: PWM flags 0 or PWM_POLARITY_INVERTED
- 3: The default PWM duty cycle in nanoseconds, defaults to period.
Properties matching a name pattern (patternProperties) #
^adi,bypass-attenuator-in[0-4]$ — name matches this regular expression #
Configures bypassing the individual voltage input attenuator. If set to 1 the attenuator is bypassed if set to 0 the attenuator is not bypassed. If the property is absent then the attenuator retains its configuration from the bios/bootloader.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
^adi,pin(5|10)-function$ — name matches this regular expression #
Configures the function for pin 5 on the adi,adt7473 and adi,adt7475. Or pin 10 on the adi,adt7476 and adi,adt7490.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "pwm2", "smbalert#"
^adi,pin(9|14)-function$ — name matches this regular expression #
Configures the function for pin 9 on the adi,adt7473 and adi,adt7475. Or pin 14 on the adi,adt7476 and adi,adt7490
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "tach4", "therm#", "smbalert#", "gpio"
^fan-[0-9]+$ — name matches this regular expression #
Shared schema rule ($ref): fan-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/pwm/pwm.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
pwm: hwmon@2e {
compatible = "adi,adt7476";
reg = <0x2e>;
adi,bypass-attenuator-in0 = <1>;
adi,bypass-attenuator-in1 = <0>;
adi,pin10-function = "smbalert#";
adi,pin14-function = "tach4";
#pwm-cells = <3>;
/* PWMs at 22.5 kHz frequency */
fan-0 {
pwms = <&pwm 0 44444 0>;
};
fan-1 {
pwms = <&pwm 2 44444 0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Sideband Remote Management Interface (SB-RMI) compliant AMD SoC power device.
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/amd,sbrmi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Akshay Gupta <Akshay.Gupta@amd.com>"
SB Remote Management Interface (SB-RMI) is an SMBus compatible interface that reports AMD SoC's Power (normalized Power) using, Mailbox Service Request and resembles a typical 8-pin remote power sensor's I2C interface to BMC. The power attributes in hwmon reports power in microwatts.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "amd,sbrmi"
reg — required here #
Maximum number of items (maxItems): 1
I2C bus address of the device as specified in Section SBI SMBus Address
of the SoC register reference. The SB-RMI address is normally 78h for
socket 0 and 70h for socket 1, but it could vary based on hardware
address select pins.
\[open source SoC register reference\]
https://www.amd.com/en/support/tech-docs?keyword=55898
Required in this object (required): "compatible", "reg"
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>;
sbrmi@3c {
compatible = "amd,sbrmi";
reg = <0x3c>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Sideband interface Temperature Sensor Interface (SB-TSI) compliant AMD SoC temperature device
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/amd,sbtsi.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kun Yi <kunyi@google.com>", "Supreeth Venkatesh <supreeth.venkatesh@amd.com>"
SB Temperature Sensor Interface (SB-TSI) is an SMBus compatible interface that reports AMD SoC's Ttcl (normalized temperature), and resembles a typical 8-pin remote temperature sensor's I2C interface to BMC. The emulated thermal sensor can report temperatures in increments of 0.125 degrees, ranging from 0 to 255.875.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "amd,sbtsi"
reg — required here #
Maximum number of items (maxItems): 1
I2C bus address of the device as specified in Section 6.3.1 of the
SoC register reference. The SB-TSI address is normally 98h for socket
0 and 90h for socket 1, but it could vary based on hardware address
select pins.
\[open source SoC register reference\]
https://www.amd.com/system/files/TechDocs/56255_OSRR.pdf
Required in this object (required): "compatible", "reg"
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>;
sbtsi@4c {
compatible = "amd,sbtsi";
reg = <0x4c>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ChipCap 2 humidity and temperature iio sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/amphenol,chipcap2.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"
Relative humidity and temperature sensor on I2C bus.
Datasheets:
https://www.amphenol-sensors.com/en/telaire/humidity/527-humidity-sensors/3095-chipcap-2
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"amphenol,cc2d23"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"amphenol,cc2d23s","amphenol,cc2d25","amphenol,cc2d25s","amphenol,cc2d33","amphenol,cc2d33s","amphenol,cc2d35","amphenol,cc2d35s"Item 2
Exact value (
const):"amphenol,cc2d23"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Array item rules (items) #
Item 1
measurement ready indicator
Item 2
low humidity alarm
Item 3
high humidity alarm
interrupt-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"ready"
Item 2
Exact value (
const):"low"
Item 3
Exact value (
const):"high"
vdd-supply — required here #
Dedicated, controllable supply-regulator to reset the device and enter in command mode.
Required in this object (required): "compatible", "reg", "vdd-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
humidity@28 {
compatible = "amphenol,cc2d23s", "amphenol,cc2d23";
reg = <0x28>;
interrupt-parent = <&gpio>;
interrupts = <4 IRQ_TYPE_EDGE_RISING>,
<5 IRQ_TYPE_EDGE_RISING>,
<6 IRQ_TYPE_EDGE_RISING>;
interrupt-names = "ready", "low", "high";
vdd-supply = <®_vdd>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
APM X-Gene SLIMpro hwmon
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/apm,xgene-slimpro-hwmon.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Khuong Dinh <khuong@os.amperecomputing.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "apm,xgene-slimpro-hwmon"
mboxes — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "mboxes"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
hwmon {
compatible = "apm,xgene-slimpro-hwmon";
mboxes = <&mailbox 7>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
ASPEED AST2400/AST2500 PWM and Fan Tacho controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/aspeed,ast2400-pwm-tacho.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Joel Stanley <joel@jms.id.au>", "Andrew Jeffery <andrew@codeconstruct.com.au>"
The ASPEED PWM controller can support up to 8 PWM outputs. The ASPEED Fan Tacho controller can support up to 16 Fan tachometer inputs. There can be up to 8 fans supported. Each fan can have 1 PWM output and 1-2 Fan tach inputs.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "aspeed,ast2400-pwm-tacho", "aspeed,ast2500-pwm-tacho"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
#cooling-cells — not listed as required here #
Exact value (const): 2
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^fan@[0-7]$ — name matches this regular expression #
Fan subnode
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
reg — required here
PWM source port index (0 = PWM A, ..., 7 = PWM H)
Maximum value (maximum): 7
cooling-levels — not listed as required here
PWM duty cycle values for cooling states
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 16
aspeed,fan-tach-ch — required here
Fan tachometer input channel
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
Array item rules (items)
Maximum value (
maximum):15
Required in this object (required): "reg", "aspeed,fan-tach-ch"
Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells", "clocks", "resets"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/aspeed-clock.h>
fan-controller@1e786000 {
compatible = "aspeed,ast2500-pwm-tacho";
reg = <0x1e786000 0x1000>;
#address-cells = <1>;
#size-cells = <0>;
#cooling-cells = <2>;
clocks = <&syscon ASPEED_CLK_APB>;
resets = <&syscon ASPEED_RESET_PWM>;
fan@0 {
reg = <0x00>;
cooling-levels = /bits/ 8 <125 151 177 203 229 255>;
aspeed,fan-tach-ch = /bits/ 8 <0x00>;
};
fan@1 {
reg = <0x01>;
aspeed,fan-tach-ch = /bits/ 8 <0x01 0x02>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 59: Should be enough
ASPEED G6 PWM and Fan Tach controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/aspeed,g6-pwm-tach.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Billy Tsai <billy_tsai@aspeedtech.com>"
The ASPEED PWM controller can support up to 16 PWM outputs. The ASPEED Fan Tacho controller can support up to 16 fan tach input. They are independent hardware blocks, which are different from the previous version of the ASPEED chip.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"aspeed,ast2700-pwm-tach"Item 2
Exact value (
const):"aspeed,ast2600-pwm-tach"
Rule 2
Exact value (
const):"aspeed,ast2600-pwm-tach"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
resets — required here #
Maximum number of items (maxItems): 1
#pwm-cells — required here #
Exact value (const): 3
Properties matching a name pattern (patternProperties) #
^fan-[0-9]+$ — name matches this regular expression #
Shared schema rule ($ref): fan-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "tach-ch"
Required in this object (required): "reg", "clocks", "resets", "#pwm-cells", "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/aspeed-clock.h>
pwm_tach: pwm-tach-controller@1e610000 {
compatible = "aspeed,ast2600-pwm-tach";
reg = <0x1e610000 0x100>;
clocks = <&syscon ASPEED_CLK_AHB>;
resets = <&syscon ASPEED_RESET_PWM>;
#pwm-cells = <3>;
fan-0 {
tach-ch = /bits/ 8 <0x0>;
pwms = <&pwm_tach 0 40000 0>;
};
fan-1 {
tach-ch = /bits/ 8 <0x1 0x2>;
pwms = <&pwm_tach 1 40000 0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2023 Aspeed, Inc.
Baikal-T1 PVT Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/baikal,bt1-pvt.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Serge Semin <fancer.lancer@gmail.com>"
Baikal-T1 SoC provides an embedded process, voltage and temperature sensor to monitor an internal SoC environment (chip temperature, supply voltage and process monitor) and on time detect critical situations, which may cause the system instability and even damages. The IP-block is based on the Analog Bits PVT sensor, but is equipped with a dedicated control wrapper, which provides a MMIO registers-based access to the sensor core functionality (APB3-bus based) and exposes an additional functions like thresholds/data ready interrupts, its status and masks, measurements timeout. Its internal structure is depicted on the next diagram:
Analog Bits core Bakal-T1 PVT control block
+--------------------+ +------------------------+
| Temperature sensor |-+ +------| Sensors control |
|--------------------| |<---En---| |------------------------|
| Voltage sensor |-|<--Mode--| +--->| Sampled data |
|--------------------| |<--Trim--+ | |------------------------|
| Low-Vt sensor |-| | +--| Thresholds comparator |
|--------------------| |---Data----| | |------------------------|
| High-Vt sensor |-| | +->| Interrupts status |
|--------------------| |--Valid--+-+ | |------------------------|
| Standard-Vt sensor |-+ +---+--| Interrupts mask |
+--------------------+ |------------------------|
^ | Interrupts timeout |
| +------------------------+
| ^ ^
Rclk-----+----------------------------------------+ |
APB3-------------------------------------------------+
This bindings describes the external Baikal-T1 PVT control interfaces like MMIO registers space, interrupt request number and clocks source. These are then used by the corresponding hwmon device driver to implement the sysfs files-based access to the sensors functionality.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "baikal,bt1-pvt"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
PVT reference clock
Item 2
APB3 interface clock
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"ref"
Item 2
Exact value (
const):"pclk"
#thermal-sensor-cells — not listed as required here #
Baikal-T1 can be referenced as the CPU thermal-sensor
Exact value (const): 0
baikal,pvt-temp-offset-millicelsius — not listed as required here #
Temperature sensor trimming factor. It can be used to manually adjust the temperature measurements within 7.130 degrees Celsius.
Default value (default): 0
Minimum value (minimum): 0
Maximum value (maximum): 7130
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"
Examples (examples) #
#include <dt-bindings/interrupt-controller/mips-gic.h>
pvt@1f200000 {
compatible = "baikal,bt1-pvt";
reg = <0x1f200000 0x1000>;
#thermal-sensor-cells = <0>;
interrupts = <GIC_SHARED 31 IRQ_TYPE_LEVEL_HIGH>;
baikal,pvt-temp-offset-millicelsius = <1000>;
clocks = <&ccu_sys>, <&ccu_sys>;
clock-names = "ref", "pclk";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2020 BAIKAL ELECTRONICS, JSC
Cirrus Logic Lochnagar Audio Development Board
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/cirrus,lochnagar.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "patches@opensource.cirrus.com"
Lochnagar is an evaluation and development board for Cirrus Logic Smart CODEC and Amp devices. It allows the connection of most Cirrus Logic devices on mini-cards, as well as allowing connection of various application processor systems to provide a full evaluation platform. Audio system topology, clocking and power can all be controlled through the Lochnagar, allowing the device under test to be used in a variety of possible use cases.
This binding document describes the binding for the hardware monitor portion of the driver.
This binding must be part of the Lochnagar MFD binding:
[1] ../mfd/cirrus,lochnagar.yaml
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "cirrus,lochnagar2-hwmon"
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Common Fan Properties
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/fan-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Naresh Solanki <naresh.solanki@9elements.com>", "Billy Tsai <billy_tsai@aspeedtech.com>"
Properties and child nodes (properties) #
max-rpm — not listed as required here #
Max RPM supported by fan.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 100000
min-rpm — not listed as required here #
Min RPM supported by fan.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 1000
pulses-per-revolution — not listed as required here #
The number of pulse from fan sensor per revolution.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 4
tach-div — not listed as required here #
Divisor for the tach sampling clock, which determines the sensitivity of the tach pin.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
target-rpm — not listed as required here #
The default desired fan speed in RPM.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
fan-driving-mode — not listed as required here #
Select the driving mode of the fan.(DC, PWM and so on)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "dc", "pwm"
pwms — not listed as required here #
PWM provider.
Maximum number of items (maxItems): 1
#cooling-cells — not listed as required here #
Exact value (const): 2
cooling-levels — not listed as required here #
The control value which correspond to thermal cooling states.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
tach-ch — not listed as required here #
The tach channel used for the fan.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
label — not listed as required here #
Optional fan label
fan-supply — not listed as required here #
Power supply for fan.
reg — not listed as required here #
Maximum number of items (maxItems): 1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
GMT G761/G762/G763 PWM Fan controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/gmt,g762.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Christian Marangi <ansuelsmth@gmail.com>"
GMT G761/G762/G763 PWM Fan controller.
G761 supports an internal-clock hence the clocks property is optional. If not defined, internal-clock will be used. (31KHz is the clock of the internal crystal oscillator)
If an optional property is not set in DT, then current value is kept unmodified (e.g. bootloader installed value).
Additional information on operational parameters for the device is available in Documentation/hwmon/g762.rst. A detailed datasheet for the device is available at http://natisbad.org/NAS/refs/GMT_EDS-762_763-080710-0.2.pdf.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "gmt,g761", "gmt,g762", "gmt,g763"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
a fixed clock providing input clock frequency on CLK pin of the chip.
Maximum number of items (maxItems): 1
fan_startv — not listed as required here #
Fan startup voltage step
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2, 3
pwm_polarity — not listed as required here #
PWM polarity (positive or negative duty)
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
fan_gear_mode — not listed as required here #
FAN gear mode. Configure High speed fan setting factor
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 0, 1, 2
Required in this object (required): "compatible", "reg"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)
When the condition matches (then) #
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>;
g762@3e {
compatible = "gmt,g762";
reg = <0x3e>;
clocks = <&g762_clk>;
fan_gear_mode = <0>;
fan_startv = <1>;
pwm_polarity = <0>;
};
g761@1e {
compatible = "gmt,g761";
reg = <0x1e>;
fan_gear_mode = <0>;
fan_startv = <1>;
pwm_polarity = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Fan connected to GPIO lines
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/gpio-fan.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rob Herring <robh@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "gpio-fan"
gpios — required here #
Specifies the pins that map to bits in the control value, ordered MSB-->LSB.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 7
alarm-gpios — not listed as required here #
Maximum number of items (maxItems): 1
fan-supply — not listed as required here #
Power supply for fan
gpio-fan,speed-map — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-matrix
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 127
Array item rules (items) #
Array item rules (
items)Item 1
fan speed in RPMs
Item 2
control value
A mapping of possible fan RPM speeds and the control value that should be set to achieve them. This array must have the RPM values in ascending order.
#cooling-cells — not listed as required here #
Exact value (const): 2
Required in this object (required): "compatible", "gpios", "gpio-fan,speed-map"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
gpio-fan {
compatible = "gpio-fan";
gpios = <&gpio2 14 1
&gpio2 13 1>;
gpio-fan,speed-map = < 0 0>,
<3000 1>,
<6000 2>;
alarm-gpios = <&gpio2 15 1>;
#cooling-cells = <2>; /* min followed by max */
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
HPE GXP Fan Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/hpe,gxp-fan-ctrl.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nick Hawkins <nick.hawkins@hpe.com>"
The HPE GXP fan controller controls the fans through an external CPLD device that connects to the fans.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "hpe,gxp-fan-ctrl"
reg — required here #
Array item rules (items) #
Item 1
Fan controller PWM
Item 2
Programmable logic
Item 3
Function 2
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"base"
Item 2
Exact value (
const):"pl"
Item 3
Exact value (
const):"fn2"
Required in this object (required): "compatible", "reg", "reg-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
fan-controller@1000c00 {
compatible = "hpe,gxp-fan-ctrl";
reg = <0x1000c00 0x200>, <0xd1000000 0xff>, <0x80200000 0x100000>;
reg-names = "base", "pl", "fn2";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Hardware Monitoring Devices Common Properties
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/hwmon-common.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Guenter Roeck <linux@roeck-us.net>"
Properties and child nodes (properties) #
label — not listed as required here #
A descriptive name for this device.
shunt-resistor-micro-ohms — not listed as required here #
The value of current sense resistor.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
true
Allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
IBM On-Chip Controller (OCC) accessed from a service processor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ibm,occ-hwmon.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"
The POWER processor On-Chip Controller (OCC) helps manage power and thermals for the system. A service processor or baseboard management controller can query the OCC for it's power and thermal data to report through hwmon.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ibm,p9-occ-hwmon", "ibm,p10-occ-hwmon"
ibm,no-poll-on-init — not listed as required here #
This property describes whether or not the OCC should be polled during driver initialization.
Value type (type): "boolean"
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
hwmon {
compatible = "ibm,p10-occ-hwmon";
ibm,no-poll-on-init;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
IBM POWERNV platform sensors
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ibm,opal-sensor.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ibm,opal-sensor-cooling-fan", "ibm,opal-sensor-amb-temp", "ibm,opal-sensor-power-supply", "ibm,opal-sensor-power"
sensor-id — required here #
An opaque id provided by the firmware to the kernel, identifies a given sensor and its attribute data.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Required in this object (required): "compatible", "sensor-id"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sensor {
compatible = "ibm,opal-sensor-cooling-fan";
sensor-id = <0x7052107>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
IEI WT61P803 PUZZLE MCU HWMON module from IEI Integration Corp.
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/iei,wt61p803-puzzle-hwmon.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Luka Kovacic <luka.kovacic@sartura.hr>"
This module is a part of the IEI WT61P803 PUZZLE MFD device. For more details see Documentation/devicetree/bindings/mfd/iei,wt61p803-puzzle.yaml.
The HWMON module is a sub-node of the MCU node in the Device Tree.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "iei,wt61p803-puzzle-hwmon"
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^fan-group@[0-1]$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
reg — required here
Minimum value (minimum): 0
Maximum value (maximum): 1
Fan group ID
#cooling-cells — required here
Exact value (const): 2
cooling-levels — required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 255
Cooling levels for the fans (PWM value mapping)
Required in this object (required): "reg", "#cooling-cells", "cooling-levels"
Required in this object (required): "compatible", "#address-cells", "#size-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
ADC-attached Hardware Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/iio-hwmon.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jonathan Cameron <jic23@kernel.org>"
Bindings for hardware monitoring devices connected to ADC controllers supporting the Industrial I/O bindings.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "iio-hwmon"
io-channels — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 51
List of phandles to ADC channels to read the monitoring values
Required in this object (required): "compatible", "io-channels"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
iio-hwmon {
compatible = "iio-hwmon";
io-channels = <&adc 1>, <&adc 2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 22: Should be enough
Jedec JC-42.4 compatible temperature sensors
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/jedec,jc42.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jean Delvare <jdelvare@suse.com>", "Guenter Roeck <linux@roeck-us.net>"
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Exact value (
const):"jedec,jc-42.4-temp"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"jedec,jc-42.4-temp"
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"adi,adt7408","atmel,at30ts00","atmel,at30tse004","idt,tse2002","idt,tse2004","idt,ts3000","idt,ts3001","maxim,max6604","microchip,mcp9804","microchip,mcp9805","microchip,mcp9808","microchip,mcp98243","microchip,mcp98244","microchip,mcp9843","nxp,se97","nxp,se97b","nxp,se98","onnn,cat6095","onnn,cat34ts02","st,stts2002","st,stts2004","st,stts3000","st,stts424","st,stts424e"Item 2
Exact value (
const):"jedec,jc-42.4-temp"
reg — required here #
Maximum number of items (maxItems): 1
smbus-timeout-disable — not listed as required here #
When set, the smbus timeout function will be disabled. This is not supported on all chips.
Value type (type): "boolean"
Required in this object (required): "compatible", "reg"
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>;
temp-sensor@1a {
compatible = "jedec,jc-42.4-temp";
reg = <0x1a>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Hardware monitoring driver for the sl28cpld board management controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/kontron,sl28cpld-hwmon.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michael Walle <michael@walle.cc>"
This module is part of the sl28cpld multi-function device. For more details see ../embedded-controller/kontron,sl28cpld.yaml.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "kontron,sl28cpld-fan"
reg — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Lantiq cpu temperature sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/lantiq,cputemp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Florian Eckert <fe@dev.tdt.de>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "lantiq,cputemp"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
cputemp@103040 {
compatible = "lantiq,cputemp";
reg = <0x103040 0x4>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Octal Digital Power-supply monitor/supervisor/sequencer/margin controller.
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/lltc,ltc2978.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "lltc,lt7170", "lltc,lt7171", "lltc,ltc2972", "lltc,ltc2974", "lltc,ltc2975", "lltc,ltc2977", "lltc,ltc2978", "lltc,ltc2979", "lltc,ltc2980", "lltc,ltc3880", "lltc,ltc3882", "lltc,ltc3883", "lltc,ltc3884", "lltc,ltc3886", "lltc,ltc3887", "lltc,ltc3889", "lltc,ltc7132", "lltc,ltc7841", "lltc,ltc7880", "lltc,ltm2987", "lltc,ltm4664", "lltc,ltm4673", "lltc,ltm4675", "lltc,ltm4676", "lltc,ltm4677", "lltc,ltm4678", "lltc,ltm4680", "lltc,ltm4686", "lltc,ltm4700"
reg — required here #
Maximum number of items (maxItems): 1
regulators — not listed as required here #
Value type (type): "object"
list of regulators provided by this controller. Valid names of regulators depend on number of supplies supported per device: * lt7170, lt7171 : vout0 * ltc2972 vout0 - vout1 * ltc2974, ltc2975 : vout0 - vout3 * ltc2977, ltc2979, ltc2980, ltm2987 : vout0 - vout7 * ltc2978 : vout0 - vout7 * ltc3880, ltc3882, ltc3884, ltc3886, ltc3887, ltc3889 : vout0 - vout1 * ltc7132 : vout0 - vout1 * ltc7841 : vout0 * ltc7880 : vout0 - vout1 * ltc3883 : vout0 * ltm4664 : vout0 - vout1 * ltm4673 : vout0 - vout3 * ltm4675, ltm4676, ltm4677, ltm4678 : vout0 - vout1 * ltm4680, ltm4686 : vout0 - vout1 * ltm4700 : vout0 - vout1
Properties matching a name pattern (patternProperties) #
^vout[0-7]$ — name matches this regular expression
Shared schema rule ($ref): /schemas/regulator/regulator.yaml#
Value type (type): "object"
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg"
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>;
regulator@5e {
compatible = "lltc,ltc2978";
reg = <0x5e>;
regulators {
vout0 {
regulator-name = "FPGA-2.5V";
};
vout2 {
regulator-name = "FPGA-1.5V";
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
LTC4151 High Voltage I2C Current and Voltage Monitor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/lltc,ltc4151.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "lltc,ltc4151"
reg — required here #
Maximum number of items (maxItems): 1
shunt-resistor-micro-ohms — not listed as required here #
Shunt resistor value in micro-Ohms
Default value (default): 1000
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):hwmon-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@6e {
compatible = "lltc,ltc4151";
reg = <0x6e>;
shunt-resistor-micro-ohms = <1500>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
LTC4286 power monitors
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/lltc,ltc4286.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Delphine CC Chiu <Delphine_CC_Chiu@Wiwynn.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "lltc,ltc4286", "lltc,ltc4287"
reg — required here #
Maximum number of items (maxItems): 1
adi,vrange-low-enable — not listed as required here #
This property is a bool parameter to represent the voltage range is 25.6 volts or 102.4 volts for this chip. The default is 102.4 volts.
Value type (type): "boolean"
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):hwmon-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
power-monitor@40 {
compatible = "lltc,ltc4286";
reg = <0x40>;
adi,vrange-low-enable;
shunt-resistor-micro-ohms = <300>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
LM75 hwmon sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/lm75.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jean Delvare <jdelvare@suse.com>", "Guenter Roeck <linux@roeck-us.net>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,adt75", "ams,as6200", "atmel,at30ts74", "dallas,ds1775", "dallas,ds75", "dallas,ds7505", "gmt,g751", "national,lm75", "national,lm75a", "national,lm75b", "maxim,max6625", "maxim,max6626", "maxim,max31725", "maxim,max31726", "maxim,mcp980x", "nxp,p3t1750", "nxp,p3t1755", "nxp,pct2075", "st,stds75", "st,stlm75", "microchip,tcn75", "ti,tmp1075", "ti,tmp100", "ti,tmp101", "ti,tmp105", "ti,tmp112", "ti,tmp175", "ti,tmp275", "ti,tmp75", "ti,tmp75b", "ti,tmp75c"
reg — required here #
Maximum number of items (maxItems): 1
vs-supply — not listed as required here #
phandle to the regulator that provides the +VS supply
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):hwmon-common.yaml#
Rule 2 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"ams,as6200","ti,tmp100","ti,tmp101","ti,tmp112","ti,tmp75"When the condition matches (
then) #Properties and child nodes (
properties)
interrupts— not listed as required here
false— Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@48 {
compatible = "st,stlm75";
reg = <0x48>;
vs-supply = <&vs>;
};
};
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
temperature-sensor@48 {
compatible = "ams,as6200";
reg = <0x48>;
vs-supply = <&vs>;
interrupt-parent = <&gpio1>;
interrupts = <17 IRQ_TYPE_EDGE_BOTH>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Maxim max20730
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/maxim,max20730.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jean Delvare <jdelvare@suse.com>", "Guenter Roeck <linux@roeck-us.net>"
The MAX20730 is a fully integrated, highly efficient switching regulator with PMBus for applications operating from 4.5V to 16V and requiring up to 25A (max) load. This single-chip regulator provides extremely compact, high efficiency power-delivery solutions with high-precision output voltages and excellent transient response.
Datasheets:
https://datasheets.maximintegrated.com/en/ds/MAX20730.pdf
https://datasheets.maximintegrated.com/en/ds/MAX20734.pdf
https://datasheets.maximintegrated.com/en/ds/MAX20743.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "maxim,max20710", "maxim,max20730", "maxim,max20734", "maxim,max20743"
reg — required here #
Maximum number of items (maxItems): 1
vout-voltage-divider — not listed as required here #
If voltage divider present at vout, the voltage at voltage sensor pin will be scaled. The properties will convert the raw reading to a more meaningful number if voltage divider present. It has two numbers, the first number is the output resistor, the second number is the total resistance. Therefore, the adjusted vout is equal to Vout = Vout * output_resistance / total resistance.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
Required in this object (required): "compatible", "reg"
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>;
max20730@10 {
compatible = "maxim,max20730";
reg = <0x10>;
vout-voltage-divider = <1000 2000>; // vout would be scaled to 0.5
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
The Maxim MAX31790 Fan Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/maxim,max31790.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Guenter Roeck <linux@roeck-us.net>", "Chanh Nguyen <chanh@os.amperecomputing.com>"
The MAX31790 controls the speeds of up to six fans using six independent PWM outputs. The desired fan speeds (or PWM duty cycles) are written through the I2C interface.
Datasheets:
https://datasheets.maximintegrated.com/en/ds/MAX31790.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "maxim,max31785", "maxim,max31785a", "maxim,max31785b", "maxim,max31790"
reg — required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
#pwm-cells — not listed as required here #
Exact value (const): 1
Properties matching a name pattern (patternProperties) #
^fan@[0-9]+$ — name matches this regular expression #
Shared schema rule ($ref): fan-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg"
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>;
pwm_provider: fan-controller@20 {
compatible = "maxim,max31790";
reg = <0x20>;
clocks = <&sys_clk>;
resets = <&reset 0>;
#address-cells = <1>;
#pwm-cells = <1>;
#size-cells = <0>;
fan@0 {
reg = <0x0>;
pwms = <&pwm_provider 1>;
};
fan@1 {
reg = <0x1>;
pwms = <&pwm_provider 2>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Maxim max6639
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/maxim,max6639.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Naresh Solanki <naresh.solanki@9elements.com>"
The MAX6639 is a 2-channel temperature monitor with dual, automatic, PWM fan-speed controller. It monitors its own temperature and one external diode-connected transistor or the temperatures of two external diode-connected transistors, typically available in CPUs, FPGAs, or GPUs.
Datasheets:
https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "maxim,max6639"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
#pwm-cells — not listed as required here #
Exact value (const): 3
Required in this object (required): "compatible", "reg"
Properties matching a name pattern (patternProperties) #
^fan@[0-1]$ — name matches this regular expression #
Value type (type): "object"
Represents the two fans and their specific configuration.
Shared schema rule ($ref): fan-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
reg — required here
The fan number.
Required in this object (required): "reg"
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>;
fan1: fan-controller@10 {
compatible = "maxim,max6639";
reg = <0x10>;
#address-cells = <1>;
#size-cells = <0>;
#pwm-cells = <3>;
fan@0 {
reg = <0x0>;
pulses-per-revolution = <2>;
max-rpm = <4000>;
target-rpm = <1000>;
pwms = <&fan1 0 25000 0>;
};
fan@1 {
reg = <0x1>;
pulses-per-revolution = <2>;
max-rpm = <8000>;
pwms = <&fan1 1 25000 0>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Maxim MAX6650 and MAX6651 I2C Fan Controllers
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/maxim,max6650.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"
The MAX6650 and MAX6651 regulate and monitor the speed of 5VDC/12VDC burshless fans with built-in tachometers.
Datasheets:
https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "maxim,max6650", "maxim,max6651"
reg — required here #
Maximum number of items (maxItems): 1
maxim,fan-microvolt — not listed as required here #
The supply voltage of the fan, either 5000000 uV or 12000000 uV.
Allowed values (enum): 5000000, 12000000
maxim,fan-prescale — not listed as required here #
Pre-scaling value, as per datasheet. Lower values allow more fine-grained control of slower fans.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 4, 8, 16
maxim,fan-target-rpm — not listed as required here #
Initial requested fan rotation speed. If specified, the driver selects closed-loop mode and the requested speed. This ensures the fan is already running before userspace takes over.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 30000
Required in this object (required): "compatible", "reg"
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>;
fan-controller@1b {
compatible = "maxim,max6650";
reg = <0x1b>;
maxim,fan-microvolt = <12000000>;
maxim,fan-prescale = <4>;
maxim,fan-target-rpm = <1200>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Microchip EMC2305 SMBus compliant PWM fan controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/microchip,emc2305.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michael Shych <michaelsh@nvidia.com>"
Microchip EMC2301/2/3/5 pwm controller which supports up to five programmable fan control circuits.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"microchip,emc2303","microchip,emc2302","microchip,emc2301"Item 2
Exact value (
const):"microchip,emc2305"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
#pwm-cells — not listed as required here #
Exact value (const): 3
Number of cells in a PWM specifier.
- cell 0: The PWM frequency
- cell 1: The PWM polarity: 0 or PWM_POLARITY_INVERTED
- cell 2: The PWM output config:
- 0 (Open-Drain)
- 1 (Push-Pull)
Properties matching a name pattern (patternProperties) #
^fan@[0-4]$ — name matches this regular expression #
Shared schema rule ($ref): fan-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
reg — required here
The fan number used to determine the associated PWM channel.
Maximum number of items (maxItems): 1
Required in this object (required): "reg"
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/pwm/pwm.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
fan_controller: fan-controller@2f {
compatible = "microchip,emc2305";
reg = <0x2f>;
#address-cells = <1>;
#size-cells = <0>;
#pwm-cells = <3>;
fan@0 {
reg = <0x0>;
pwms = <&fan_controller 26000 PWM_POLARITY_INVERTED 1>;
#cooling-cells = <2>;
};
fan@1 {
reg = <0x1>;
pwms = <&fan_controller 26000 0 1>;
#cooling-cells = <2>;
};
fan@2 {
reg = <0x2>;
pwms = <&fan_controller 26000 0 1>;
#cooling-cells = <2>;
};
fan@3 {
reg = <0x3>;
pwms = <&fan_controller 26000 0 1>;
#cooling-cells = <2>;
};
fan@4 {
reg = <0x4>;
pwms = <&fan_controller 26000 0 1>;
#cooling-cells = <2>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Microchip LAN966x Hardware Monitor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/microchip,lan966x.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michael Walle <michael@walle.cc>"
Microchip LAN966x temperature monitor and fan controller
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "microchip,lan9668-hwmon"
reg — required here #
Array item rules (items) #
Item 1
PVT registers
Item 2
FAN registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"pvt"
Item 2
Exact value (
const):"fan"
clocks — required here #
Maximum number of items (maxItems): 1
#thermal-sensor-cells — not listed as required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "reg-names", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
hwmon: hwmon@e2010180 {
compatible = "microchip,lan9668-hwmon";
reg = <0xe2010180 0xc>,
<0xe20042a8 0xc>;
reg-names = "pvt", "fan";
clocks = <&sys_clk>;
#thermal-sensor-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Microchip MCP3021 A/D converter
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/microchip,mcp3021.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "microchip,mcp3021", "microchip,mcp3221"
reg — required here #
Maximum number of items (maxItems): 1
reference-voltage-microvolt — not listed as required here #
VDD supply power and reference voltage
Required in this object (required): "compatible", "reg"
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@4d {
compatible = "microchip,mcp3021";
reg = <0x4d>;
reference-voltage-microvolt = <4500000>; /* 4.5 V */
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Microchip Sparx5 Temperature Monitor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/microchip,sparx5-temp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lars Povlsen <lars.povlsen@microchip.com>"
Microchip Sparx5 embedded temperature monitor
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"microchip,sparx5-temp"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"microchip,sparx5-temp"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
System reference clock
#thermal-sensor-cells — not listed as required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
tmon0: tmon@610508110 {
compatible = "microchip,sparx5-temp";
reg = <0x10508110 0xc>;
#thermal-sensor-cells = <0>;
clocks = <&sys_clk>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Moortec Semiconductor MR75203 PVT Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/moortec,mr75203.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Rahul Tanwar <rtanwar@maxlinear.com>"
A Moortec PVT (Process, Voltage, Temperature) monitoring logic design can include many different units. Such a design will usually consists of several Moortec's embedded analog IPs, and a single Moortec controller (mr75203) to configure and control the IPs.
Some of the Moortec's analog hard IPs that can be used in a design:
*) Temperature Sensor (TS) - used to monitor core temperature (e.g. mr74137).
*) Voltage Monitor (VM) - used to monitor voltage levels (e.g. mr74138).
*) Process Detector (PD) - used to assess silicon speed (e.g. mr74139).
*) Delay Chain - ring oscillator connected to the PD, used to measure IO
based transistors (e.g. mr76008 ring oscillator at 1.1V, mr76007 ring
oscillator at 1.8V).
*) Pre Scaler - provides divide-by-X scaling of input voltage, which can then
be presented for VM for measurement within its range (e.g. mr76006 -
divide by 2 pre-scaler).
TS, VM & PD also include a digital interface, which consists of configuration inputs and measurement outputs.
Some of the units have number of series, each series can have slightly different characteristics.
The mr75203 binding describes configuration for the controller unit, but also for some of the analog IPs.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "moortec,mr75203"
reg — required here #
Array item rules (items) #
Item 1
PVT common registers
Item 2
PVT temperature sensor registers
Item 3
PVT process detector registers
Item 4
PVT voltage monitor registers
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"common"
Item 2
Exact value (
const):"ts"
Item 3
Exact value (
const):"pd"
Item 4
Exact value (
const):"vm"
intel,vm-map — not listed as required here #
PVT controller has 5 VM (voltage monitor) sensors. vm-map defines CPU core to VM instance mapping. A value of 0xff means that VM sensor is unused.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
Maximum number of items (maxItems): 5
clocks — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
#thermal-sensor-cells — required here #
Exact value (const): 1
moortec,vm-active-channels — not listed as required here #
Defines the number of channels per VM that are actually used and are connected to some input source. Maximum number of items - number of VMs. Maximum value of each item - number of channels. Minimum value of each item - 0 (which means entire VM sensor is not used).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
moortec,vm-pre-scaler-x2 — not listed as required here #
Defines the channels that use a mr76006 pre-scaler to divide the input source by 2. The pre-scaler is used for input sources that exceed the VM input range. The driver uses this information to present to the user with the actual value of the voltage source. For channels that are not listed, no pre-scaler is assumed. Maximum number of items - total number of channels in all VMs. Each channel should not appear more than once.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8-array
moortec,ts-series — not listed as required here #
Definition of the temperature equation and coefficients that shall be used to convert the digital output to value in milli-Celsius.
Minimum value (minimum): 5
Maximum value (maximum): 6
Default value (default): 5
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
moortec,ts-coeff-g — not listed as required here #
G coefficient for temperature equation. Default for series 5 = 60000 Default for series 6 = 57400
Multiple of (multipleOf): 100
Minimum value (minimum): 1000
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
moortec,ts-coeff-h — not listed as required here #
H coefficient for temperature equation. Default for series 5 = 200000 Default for series 6 = 249400
Multiple of (multipleOf): 100
Minimum value (minimum): 1000
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
moortec,ts-coeff-cal5 — not listed as required here #
cal5 coefficient for temperature equation. Default for series 5 = 4094 Default for series 6 = 4096
Minimum value (minimum): 1
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
moortec,ts-coeff-j — not listed as required here #
J coefficient for temperature equation. Default for series 5 = -100 Default for series 6 = 0
Multiple of (multipleOf): 100
Maximum value (maximum): 0
Shared schema rule ($ref): /schemas/types.yaml#/definitions/int32
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "#thermal-sensor-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pvt: pvt@e0680000 {
compatible = "moortec,mr75203";
reg = <0xe0680000 0x80>,
<0xe0680080 0x180>,
<0xe0680200 0x200>,
<0xe0680400 0xc00>;
reg-names = "common", "ts", "pd", "vm";
intel,vm-map = [03 01 04 ff ff];
clocks = <&osc0>;
resets = <&rcu0 0x40 7>;
moortec,vm-active-channels = /bits/ 8 <0x10 0x05>;
moortec,vm-pre-scaler-x2 = /bits/ 8 <5 6 20>;
moortec,ts-coeff-g = <61400>;
moortec,ts-coeff-h = <253700>;
#thermal-sensor-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
LM90 series thermometer
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/national,lm90.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jean Delvare <jdelvare@suse.com>", "Guenter Roeck <linux@roeck-us.net>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,adm1032", "adi,adt7461", "adi,adt7461a", "adi,adt7481", "dallas,max6646", "dallas,max6647", "dallas,max6649", "dallas,max6654", "dallas,max6657", "dallas,max6658", "dallas,max6659", "dallas,max6680", "dallas,max6681", "dallas,max6695", "dallas,max6696", "gmt,g781", "national,lm86", "national,lm89", "national,lm90", "national,lm99", "nuvoton,nct7716", "nuvoton,nct7717", "nuvoton,nct7718", "nxp,sa56004", "onnn,nct72", "onnn,nct214", "onnn,nct218", "onnn,nct1008", "ti,tmp451", "ti,tmp461", "winbond,w83l771"
interrupts — not listed as required here #
Array item rules (items) #
Item 1
Single interrupt specifier which describes the LM90 "-ALERT" pin output.
reg — required here #
Maximum number of items (maxItems): 1
#thermal-sensor-cells — not listed as required here #
Exact value (const): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
vcc-supply — not listed as required here #
phandle to the regulator that provides the +VCC supply
ti,extended-range-enable — not listed as required here #
Set to enable extended range temperature.
Value type (type): "boolean"
Required in this object (required): "compatible", "reg"
Properties matching a name pattern (patternProperties) #
^channel@([0-2])$ — name matches this regular expression #
Value type (type): "object"
Represents channels of the device and their specific configuration.
Properties and child nodes (properties) #
reg — required here
The channel number. 0 is local channel, 1-2 are remote channels.
Array item rules (items)
Minimum value (
minimum):0Maximum value (
maximum):2
label — not listed as required here
A descriptive name for this channel, like "ambient" or "psu".
temperature-offset-millicelsius — not listed as required here
Temperature offset to be added to or subtracted from remote temperature measurements.
Required in this object (required): "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #This rule must not match (
not)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"adi,adt7461","adi,adt7461a","adi,adt7481","ti,tmp451","ti,tmp461"When the condition matches (
then) #Properties and child nodes (
properties)
ti,extended-range-enable— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"dallas,max6646","dallas,max6647","dallas,max6649","dallas,max6654","dallas,max6657","dallas,max6658","dallas,max6659","dallas,max6695","dallas,max6696","nuvoton,nct7716","nuvoton,nct7717"When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^channel@([0-2])$— name matches this regular expressionProperties and child nodes (
properties)
temperature-offset-millicelsius— 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)Allowed values (
enum):"adi,adt7461","adi,adt7461a","adi,adt7481","onnn,nct72","onnn,nct214","onnn,nct218","onnn,nct1008"When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^channel@([0-2])$— name matches this regular expressionProperties and child nodes (
properties)
temperature-offset-millicelsius— not listed as required hereMaximum value (
maximum):127750
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"adi,adm1032","dallas,max6680","dallas,max6681","gmt,g781","national,lm86","national,lm89","national,lm90","national,lm99","nuvoton,nct7718","nxp,sa56004","winbond,w83l771"When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^channel@([0-2])$— name matches this regular expressionProperties and child nodes (
properties)
temperature-offset-millicelsius— not listed as required hereMaximum value (
maximum):127875
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties matching a name pattern (
patternProperties)
^channel@([0-2])$— name matches this regular expressionProperties and child nodes (
properties)
temperature-offset-millicelsius— not listed as required hereMaximum value (
maximum):127937
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@4c {
compatible = "onnn,nct1008";
reg = <0x4c>;
vcc-supply = <&palmas_ldo6_reg>;
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
#thermal-sensor-cells = <1>;
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@4c {
compatible = "adi,adt7481";
reg = <0x4c>;
#address-cells = <1>;
#size-cells = <0>;
channel@0 {
reg = <0x0>;
label = "local";
};
channel@1 {
reg = <0x1>;
label = "front";
temperature-offset-millicelsius = <4000>;
};
channel@2 {
reg = <0x2>;
label = "back";
temperature-offset-millicelsius = <750>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
NTC thermistor temperature sensors
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ntc-thermistor.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
Thermistors with negative temperature coefficient (NTC) are resistors that vary in resistance in an often non-linear way in relation to temperature. The negative temperature coefficient means that the resistance decreases as the temperature rises. Since the relationship between resistance and temperature is non-linear, software drivers most often need to use a look up table and interpolation to get from resistance to temperature.
When used in practice, a thermistor is often connected between ground, a pull-up resistor or/and a pull-down resistor and a fixed voltage like this:
+ e.g. 5V = pull-up voltage (puv)
|
+-+
| |
| | Pull-up resistor
| | (puo)
+-+
|-------------------------o
+-+ | ^
| |/ |
| / |
|/| Thermistor | Measured voltage (mv)
/ | | "connected ground"
/| | |
+-+ |
|-------------------------o
+-+ ^
| | |
| | Pull-down resistor | Measured voltage (mv)
| | (pdo) | "connected positive"
+-+ |
| |
| v
+ GND GND
The arrangements of where we measure the voltage over the thermistor are called "connected ground" and "connected positive" and shall be understood as the cases when either pull-up or pull-down resistance is zero.
If the pull-up resistance is 0 one end of the thermistor is connected to the positive voltage and we get the thermistor on top of a pull-down resistor and we take the measure between the thermistor and the pull-down resistor.
Conversely if the pull-down resistance is zero, one end of the thermistor is connected to ground and we get the thermistor under the pull-up resistor and we take the measure between the pull-up resistor and the thermistor.
We can use both pull-up and pull-down resistors at the same time, and then the figure illustrates where the voltage will be measured for the "connected ground" and "connected positive" cases.
Properties and child nodes (properties) #
$nodename — not listed as required here #
String pattern (pattern): "^thermistor(.*)?$"
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"epcos,b57330v2103"
Rule 2
Exact value (
const):"epcos,b57891s0103"
Rule 3
Exact value (
const):"murata,ncp15wb473"
Rule 4
Exact value (
const):"murata,ncp18wb473"
Rule 5
Exact value (
const):"murata,ncp21wb473"
Rule 6
Exact value (
const):"murata,ncp03wb473"
Rule 7
Exact value (
const):"murata,ncp15wl333"
Rule 8
Exact value (
const):"murata,ncp03wf104"
Rule 9
Exact value (
const):"murata,ncp15xh103"
Rule 10
Exact value (
const):"murata,ncp18wm474"
Rule 11
Exact value (
const):"samsung,1404-001221"
Rule 12
Exact value (
const):"ntc,ncp15wb473"Deprecated (
deprecated):true
Rule 13
Exact value (
const):"ntc,ncp18wb473"Deprecated (
deprecated):true
Rule 14
Exact value (
const):"ntc,ncp21wb473"Deprecated (
deprecated):true
Rule 15
Exact value (
const):"ntc,ncp03wb473"Deprecated (
deprecated):true
Rule 16
Exact value (
const):"ntc,ncp15wl333"Deprecated (
deprecated):true
#thermal-sensor-cells — not listed as required here #
Thermal sensor cells if used for thermal sensoring.
Exact value (const): 0
pullup-uv — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Pull-up voltage in micro volts. Must always be specified.
pullup-ohm — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Pull-up resistance in ohms. Must always be specified, even if zero.
pulldown-ohm — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Pull-down resistance in ohms. Must always be specified, even if zero.
connected-positive — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Indicates how the thermistor is connected in series with a pull-up and/or a pull-down resistor. See the description above for an illustration. If this flag is NOT specified, the thermistor is assumed to be connected-ground, which usually means a pull-down resistance of zero but complex arrangements are possible.
io-channels — required here #
Maximum number of items (maxItems): 1
IIO ADC channel to read the voltage over the resistor. Must always be specified.
Required in this object (required): "compatible", "pullup-uv", "pullup-ohm", "pulldown-ohm", "io-channels"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
thermistor {
compatible = "murata,ncp18wb473";
io-channels = <&gpadc 0x06>;
pullup-uv = <1800000>;
pullup-ohm = <220000>;
pulldown-ohm = <0>;
#thermal-sensor-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 80: Deprecated "ntc," compatible strings
Line 118: See /schemas/iio/adc/adc.yaml
Nuvoton NCT6775 and compatible Super I/O chips
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/nuvoton,nct6775.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Zev Weiss <zev@bewilderbeest.net>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nuvoton,nct6106", "nuvoton,nct6116", "nuvoton,nct6775", "nuvoton,nct6776", "nuvoton,nct6779", "nuvoton,nct6791", "nuvoton,nct6792", "nuvoton,nct6793", "nuvoton,nct6795", "nuvoton,nct6796", "nuvoton,nct6797", "nuvoton,nct6798", "nuvoton,nct6799"
reg — required here #
Maximum number of items (maxItems): 1
nuvoton,tsi-channel-mask — not listed as required here #
Bitmask indicating which TSI temperature sensor channels are active. LSB is TSI0, bit 1 is TSI1, etc.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Maximum value (maximum): 255
Default value (default): 0
Required in this object (required): "compatible", "reg"
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>;
superio@4d {
compatible = "nuvoton,nct6779";
reg = <0x4d>;
nuvoton,tsi-channel-mask = <0x03>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Nuvoton NCT7363Y Hardware Monitoring IC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/nuvoton,nct7363.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Ban Feng <kcfeng0@nuvoton.com>"
The NCT7363Y is a fan controller which provides up to 16 independent FAN input monitors, and up to 16 independent PWM outputs with SMBus interface.
Datasheets: Available from Nuvoton upon request
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nuvoton,nct7363", "nuvoton,nct7362"
reg — required here #
Maximum number of items (maxItems): 1
#pwm-cells — required here #
Exact value (const): 2
Properties matching a name pattern (patternProperties) #
^fan-[0-9]+$ — name matches this regular expression #
Shared schema rule ($ref): fan-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "pwms", "tach-ch"
Required in this object (required): "compatible", "reg", "#pwm-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>;
hwmon: hwmon@22 {
compatible = "nuvoton,nct7363";
reg = <0x22>;
#pwm-cells = <2>;
fan-0 {
pwms = <&hwmon 0 50000>;
tach-ch = /bits/ 8 <0x00>;
};
fan-1 {
pwms = <&hwmon 1 50000>;
tach-ch = /bits/ 8 <0x01>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Nuvoton NCT7802Y Hardware Monitoring IC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/nuvoton,nct7802.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Guenter Roeck <linux@roeck-us.net>"
The NCT7802Y is a hardware monitor IC which supports one on-die and up to 5 remote temperature sensors with SMBus interface.
Datasheets:
https://www.nuvoton.com/export/resource-files/Nuvoton_NCT7802Y_Datasheet_V12.pdf
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nuvoton,nct7802"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^channel@[0-3]$ — name matches this regular expression #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
reg — required here
Array item rules (items)
Item 1
sensor-type — not listed as required here
Array item rules (items)
Item 1
temperature-mode — not listed as required here
Array item rules (items)
Item 1
Required in this object (required): "reg"
All of these rules must match (allOf) #
Rule 1
Condition (
if)Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
When the condition matches (
then)When the condition does not match (
else)This rule must not match (
not)
Rule 2
Condition (
if)Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
sensor-type— not listed as required hereArray item rules (
items)Item 1
When the condition matches (
then)When the condition does not match (
else)This rule must not match (
not)
Required in this object (required): "compatible", "reg"
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
nct7802@28 {
compatible = "nuvoton,nct7802";
reg = <0x28>;
#address-cells = <1>;
#size-cells = <0>;
channel@0 { /* LTD */
reg = <0>;
};
channel@1 { /* RTD1 */
reg = <1>;
sensor-type = "voltage";
};
channel@2 { /* RTD2 */
reg = <2>;
sensor-type = "temperature";
temperature-mode = "thermal-diode";
};
channel@3 { /* RTD3 */
reg = <3>;
sensor-type = "temperature";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Line 45: Local Temperature Sensor ("LTD")
Line 46: Remote Temperature Sensor or Voltage Sensor 1 ("RTD1")
Line 47: Remote Temperature Sensor or Voltage Sensor 2 ("RTD2")
Line 48: Remote Temperature Sensor or Voltage Sensor 3 ("RTD3")
Line 66: For channels RTD1, RTD2 and RTD3, require sensor-type to be set.
Line 67: Otherwise (for all other channels), do not allow temperature-mode to be
Line 68: set.
Line 85: For channels RTD1 and RTD2 and if sensor-type is "temperature", require
Line 86: temperature-mode to be set. Otherwise (for all other channels or
Line 87: sensor-type settings), do not allow temperature-mode to be set
NXP MC34VR500 hwmon sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/nxp,mc34vr500.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Mario Kicherer <dev@kicherer.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nxp,mc34vr500"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
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>;
pmic@8 {
compatible = "nxp,mc34vr500";
reg = <0x08>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Fan connected to PWM lines
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/pwm-fan.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jean Delvare <jdelvare@suse.com>", "Guenter Roeck <linux@roeck-us.net>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "pwm-fan"
cooling-levels — not listed as required here #
PWM duty cycle values corresponding to thermal cooling states.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Array item rules (items) #
Maximum value (
maximum):255
fan-supply — not listed as required here #
Phandle to the regulator that provides power to the fan.
interrupts — not listed as required here #
This contains an interrupt specifier for each fan tachometer output connected to an interrupt source. The output signal must generate a defined number of interrupts per fan revolution, which require that it must be self resetting edge interrupts.
Maximum number of items (maxItems): 1
fan-shutdown-percent — not listed as required here #
Fan RPM in percent set during shutdown. This is used to keep the fan running at fixed RPM after the kernel shut down, which is useful on hardware that does keep heating itself even after the kernel did shut down, for example from some sort of management core.
Minimum value (minimum): 0
Maximum value (maximum): 100
fan-stop-to-start-percent — not listed as required here #
Minimum fan RPM in percent to start when stopped.
Minimum value (minimum): 0
Maximum value (maximum): 100
fan-stop-to-start-us — not listed as required here #
Time to wait in microseconds after start when stopped.
pulses-per-revolution — not listed as required here #
Define the number of pulses per fan revolution for each tachometer input as an integer.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 4
Default value (default): 2
pwms — required here #
The PWM that is used to control the fan.
Maximum number of items (maxItems): 1
#cooling-cells — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "pwms"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pwm-fan {
compatible = "pwm-fan";
cooling-levels = <0 102 170 230>;
pwms = <&pwm 0 10000 0>;
#cooling-cells = <2>;
};
thermal-zones {
cpu_thermal: cpu-thermal {
thermal-sensors = <&tmu 0>;
polling-delay-passive = <0>;
polling-delay = <0>;
trips {
cpu_alert1: cpu-alert1 {
temperature = <100000>; /* millicelsius */
hysteresis = <2000>; /* millicelsius */
type = "passive";
};
};
cooling-maps {
map0 {
trip = <&cpu_alert1>;
cooling-device = <&fan0 0 1>;
};
};
};
};
#include <dt-bindings/interrupt-controller/irq.h>
pwm-fan {
compatible = "pwm-fan";
pwms = <&pwm 0 40000 0>;
fan-supply = <®_fan>;
interrupt-parent = <&gpio5>;
interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
pulses-per-revolution = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Renesas ISL28022 power monitor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/renesas,isl28022.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Carsten Spieß <mail@carsten-spiess.de>"
The ISL28022 is a power monitor with I2C interface. The device monitors voltage, current via shunt resistor and calculated power.
Datasheets:
https://www.renesas.com/us/en/www/doc/datasheet/isl28022.pdf
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "renesas,isl28022"
reg — required here #
Maximum number of items (maxItems): 1
shunt-resistor-micro-ohms — not listed as required here #
Shunt resistor value in micro-Ohm
Minimum value (minimum): 800
Default value (default): 10000
renesas,shunt-range-microvolt — not listed as required here #
Maximal shunt voltage range of +/- 40 mV, 80 mV, 160 mV or 320 mV
Default value (default): 320000
Allowed values (enum): 40000, 80000, 160000, 320000
renesas,average-samples — not listed as required here #
Number of samples to be used to report voltage, current and power values.
Default value (default): 1
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 4, 8, 16, 32, 64, 128
Required in this object (required): "compatible", "reg"
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>;
power-monitor@40 {
compatible = "renesas,isl28022";
reg = <0x40>;
shunt-resistor-micro-ohms = <8000>;
renesas,shunt-range-microvolt = <40000>;
renesas,average-samples = <128>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Sensirion SHT15 humidity and temperature sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/sensirion,sht15.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sensirion,sht15"
clk-gpios — required here #
Maximum number of items (maxItems): 1
data-gpios — required here #
Maximum number of items (maxItems): 1
vcc-supply — required here #
regulator that drives the VCC pin
Required in this object (required): "compatible", "clk-gpios", "data-gpios", "vcc-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sensor {
compatible = "sensirion,sht15";
clk-gpios = <&gpio4 12 0>;
data-gpios = <&gpio4 13 0>;
vcc-supply = <®_sht15>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sensor>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Sensirion SHTC1 Humidity and Temperature Sensor IC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/sensirion,shtc1.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Christopher Ruehl <chris.ruehl@gtsys.com.hk>"
The SHTC1, SHTW1 and SHTC3 are digital humidity and temperature sensors designed especially for battery-driven high-volume consumer electronics applications. For further information refer to Documentation/hwmon/shtc1.rst
This binding document describes the binding for the hardware monitor portion of the driver.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "sensirion,shtc1", "sensirion,shtw1", "sensirion,shtc3"
reg — required here #
Exact value (const): 112
sensirion,blocking-io — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
If set, the driver holds the i2c bus until the measurement is finished.
sensirion,low-precision — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
If set, the sensor acquires data with low precision (not recommended). The driver acquires data with high precision by default.
Required in this object (required): "compatible", "reg"
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>;
clock-frequency = <400000>;
shtc3@70 {
compatible = "sensirion,shtc3";
reg = <0x70>;
sensirion,blocking-io;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Sophgo SG2042 onboard MCU support
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/sophgo,sg2042-hwmon-mcu.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Inochi Amaoto <inochiama@outlook.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"sophgo,sg2044-hwmon-mcu"Item 2
Exact value (
const):"sophgo,sg2042-hwmon-mcu"
Rule 2
Exact value (
const):"sophgo,sg2042-hwmon-mcu"
reg — required here #
Maximum number of items (maxItems): 1
#thermal-sensor-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "#thermal-sensor-cells"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/thermal/thermal-sensor.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
hwmon@17 {
compatible = "sophgo,sg2042-hwmon-mcu";
reg = <0x17>;
#thermal-sensor-cells = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
STTS751 Thermometer
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/st,stts751.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,stts751"
reg — required here #
Maximum number of items (maxItems): 1
smbus-timeout-disable — not listed as required here #
When set, the smbus timeout function will be disabled.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Required in this object (required): "compatible", "reg"
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>;
thermometer@48 {
compatible = "st,stts751";
reg = <0x48>;
smbus-timeout-disable;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
ST Microelectronics TSC1641 I2C power monitor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/st,tsc1641.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Igor Reznichenko <igor@reznichenko.net>"
TSC1641 is a 60 V, 16-bit high-precision power monitor with I2C and MIPI I3C interface
Datasheets:
https://www.st.com/resource/en/datasheet/tsc1641.pdf
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "st,tsc1641"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Optional alert interrupt.
Maximum number of items (maxItems): 1
shunt-resistor-micro-ohms — not listed as required here #
Shunt resistor value in micro-ohms. Since device has internal 16-bit RSHUNT register with 10 uOhm LSB, the maximum value is capped at 655.35 mOhm.
Minimum value (minimum): 100
Default value (default): 1000
Maximum value (maximum): 655350
st,alert-polarity-active-high — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
Default value is 0 which configures the normal polarity of the ALERT pin, being active low open-drain. Setting this to 1 configures the polarity of the ALERT pin to be inverted and active high open-drain. Specify this property to set the alert polarity to active-high.
Required in this object (required): "compatible", "reg"
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>;
power-sensor@40 {
compatible = "st,tsc1641";
reg = <0x40>;
shunt-resistor-micro-ohms = <1000>;
st,alert-polarity-active-high;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
StarFive JH71x0 Temperature Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/starfive,jh71x0-temp.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Emil Renner Berthing <kernel@esmil.dk>"
StarFive Technology Co. JH71x0 embedded temperature sensor
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "starfive,jh7100-temp", "starfive,jh7110-temp"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sense"
Item 2
Exact value (
const):"bus"
#thermal-sensor-cells — not listed as required here #
Exact value (const): 0
resets — required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 2
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sense"
Item 2
Exact value (
const):"bus"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "resets", "reset-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/starfive-jh7100.h>
#include <dt-bindings/reset/starfive-jh7100.h>
temperature-sensor@124a0000 {
compatible = "starfive,jh7100-temp";
reg = <0x124a0000 0x10000>;
clocks = <&clkgen JH7100_CLK_TEMP_SENSE>,
<&clkgen JH7100_CLK_TEMP_APB>;
clock-names = "sense", "bus";
#thermal-sensor-cells = <0>;
resets = <&rstgen JH7100_RSTN_TEMP_SENSE>,
<&rstgen JH7100_RSTN_TEMP_APB>;
reset-names = "sense", "bus";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Synaptics AS370 PVT sensors
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/syna,as370.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "syna,as370-hwmon"
reg — required here #
Address and length of the register set.
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
sensor@ea0810 {
compatible = "syna,as370-hwmon";
reg = <0xea0810 0xc>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Texas Instruments ADC128D818 ADC System Monitor With Temperature Sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,adc128d818.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"
The ADC128D818 is a 12-Bit, 8-Channel Analog to Digital Converter (ADC) with a temperature sensor and an I2C interface.
Datasheets:
https://www.ti.com/product/ADC128D818
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,adc128d818"
reg — required here #
Maximum number of items (maxItems): 1
ti,mode — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint8
Operation mode. Mode 0 - 7 single-ended voltage readings (IN0-IN6), 1 temperature reading (internal). Mode 1 - 8 single-ended voltage readings (IN0-IN7), no temperature. Mode 2 - 4 pseudo-differential voltage readings (IN0-IN1, IN3-IN2, IN4-IN5, IN7-IN6), 1 temperature reading (internal). Mode 3 - 4 single-ended voltage readings (IN0-IN3), 2 pseudo-differential voltage readings (IN4-IN5, IN7-IN6), 1 temperature reading (internal).
Default value (default): 0
vref-supply — not listed as required here #
The regulator to use as an external reference. If it does not exist, the internal reference will be used.
Required in this object (required): "compatible", "reg"
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@1d {
compatible = "ti,adc128d818";
reg = <0x1d>;
vref-supply = <&vref>;
ti,mode = /bits/ 8 <2>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Texas Instruments ADS7828/ADS7830 Analog to Digital Converter (ADC)
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,ads7828.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
The ADS7828 is 12-Bit, 8-Channel Sampling Analog to Digital Converter (ADC) with an I2C interface.
Datasheets:
https://www.ti.com/product/ADS7828
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,ads7828", "ti,ads7830"
reg — required here #
Maximum number of items (maxItems): 1
ti,differential-input — not listed as required here #
Set to use the device in differential mode.
Value type (type): "boolean"
vref-supply — not listed as required here #
The regulator to use as an external reference. If it does not exists the internal reference will be used.
Required in this object (required): "compatible", "reg"
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@48 {
compatible = "ti,ads7828";
reg = <0x48>;
vref-supply = <&vref>;
ti,differential-input;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
AMC6821 Intelligent Temperature Monitor and PWM Fan Controller
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,amc6821.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Farouk Bouabid <farouk.bouabid@cherry.de>", "Quentin Schulz <quentin.schulz@cherry.de>"
Intelligent temperature monitor and pulse-width modulation (PWM) fan controller.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"tsd,mule"Item 2
Exact value (
const):"ti,amc6821"
Rule 2
Exact value (
const):"ti,amc6821"
reg — required here #
Maximum number of items (maxItems): 1
i2c-mux — not listed as required here #
Value type (type): "object"
fan — not listed as required here #
Shared schema rule ($ref): fan-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
cooling-levels — not listed as required here
PWM duty cycle values corresponding to thermal cooling states.
Array item rules (items)
Maximum value (
maximum):255
#pwm-cells — not listed as required here #
Exact value (const): 2
Number of cells in a PWM specifier. - cell 0: PWM period in nanoseconds - cell 1: PWM polarity: 0 or PWM_POLARITY_INVERTED
Required in this object (required): "compatible", "reg"
Condition (if) #
Properties and child nodes (
properties) #
compatible— not listed as required here #Rule for matching array elements (
contains)Exact value (
const):"tsd,mule"
When the condition matches (then) #
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>;
fan_controller: fan@18 {
compatible = "ti,amc6821";
reg = <0x18>;
#pwm-cells = <2>;
fan {
pwms = <&fan_controller 40000 0>;
};
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
fan@18 {
compatible = "tsd,mule", "ti,amc6821";
reg = <0x18>;
i2c-mux {
compatible = "tsd,mule-i2c-mux";
#address-cells = <1>;
#size-cells = <0>;
i2c@0 {
reg = <0x0>;
#address-cells = <1>;
#size-cells = <0>;
rtc@6f {
compatible = "isil,isl1208";
reg = <0x6f>;
};
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Texas Instruments INA209 family of power/voltage monitors
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,ina2xx.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
The INA209 is a high-side current shunt and power monitor with an I2C interface.
Datasheets:
https://www.ti.com/product/INA209
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "silergy,sq52206", "silergy,sy24655", "ti,ina209", "ti,ina219", "ti,ina220", "ti,ina226", "ti,ina228", "ti,ina230", "ti,ina231", "ti,ina233", "ti,ina237", "ti,ina238", "ti,ina260", "ti,ina700", "ti,ina780"
reg — required here #
Maximum number of items (maxItems): 1
#io-channel-cells — not listed as required here #
Exact value (const): 1
shunt-resistor — not listed as required here #
Shunt resistor value in micro-Ohm.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
ti,shunt-gain — not listed as required here #
Programmable gain divisor for the shunt voltage accuracy and range. This property only applies to devices that have configurable PGA/ADCRANGE. The gain value is used configure the gain and to convert the shunt voltage, current and power register values when reading measurements from the device.
For devices that have a configurable PGA (e.g. INA209, INA219, INA220), the gain value maps directly with the PG bits of the config register.
For devices that have ADCRANGE configuration (e.g. INA238) a shunt-gain value of 1 maps to ADCRANGE=1 where no gain divisor is applied to the shunt voltage, and a value of 4 maps to ADCRANGE=0 such that a wider voltage range is used.
For SQ52206,the shunt-gain value 1 mapps to ADCRANGE=10/11, the value 2 mapps to ADCRANGE=01, and the value 4 mapps to ADCRANGE=00.
The default value is device dependent, and is defined by the reset value of PGA/ADCRANGE in the respective configuration registers.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 4, 8
vs-supply — not listed as required here #
phandle to the regulator that provides the VS supply typically in range from 2.7 V to 5.5 V.
ti,alert-polarity-active-high — not listed as required here #
Alert pin is asserted based on the value of Alert polarity Bit of Mask/Enable register. Default value is Normal (0 which maps to active-low open collector). The other value is Inverted (1 which maps to active-high open collector). Specify this property to set the alert polarity to active-high.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
ti,maximum-expected-current-microamp — not listed as required here #
This value indicates the maximum current in microamps that you can expect to measure with ina233 in your circuit.
This value will be used to calculate the Current_LSB and current/power coefficient for the pmbus and to calibrate the IC.
Minimum value (minimum): 32768
Maximum value (maximum): 4294967295
Default value (default): 32768000
Required in this object (required): "compatible", "reg"
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)Allowed values (
enum):"silergy,sq52206","silergy,sy24655","ti,ina209","ti,ina219","ti,ina220","ti,ina226","ti,ina228","ti,ina230","ti,ina231","ti,ina237","ti,ina238","ti,ina260","ti,ina700","ti,ina780"When the condition matches (
then) #Properties and child nodes (
properties)
ti,maximum-expected-current-microamp— 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)Allowed values (
enum):"silergy,sy24655","ti,ina209","ti,ina219","ti,ina220","ti,ina226","ti,ina230","ti,ina231","ti,ina260","ti,ina700","ti,ina780"When the condition matches (
then) #Properties and child nodes (
properties)
ti,shunt-gain— 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)
shunt-resistor— not listed as required here
false— Not permitted by this property rule.
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
power-sensor@44 {
compatible = "ti,ina220";
reg = <0x44>;
#io-channel-cells = <1>;
label = "vdd_3v0";
shunt-resistor = <1000>;
vs-supply = <&vdd_3v0>;
ti,alert-polarity-active-high;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Texas Instruments INA3221 Current and Voltage Monitor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,ina3221.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jean Delvare <jdelvare@suse.com>", "Guenter Roeck <linux@roeck-us.net>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,ina3221"
reg — required here #
Maximum number of items (maxItems): 1
ti,single-shot — not listed as required here #
This chip has two power modes: single-shot (chip takes one measurement and then shuts itself down) and continuous (chip takes continuous measurements). The continuous mode is more reliable and suitable for hardware monitor type device, but the single-shot mode is more power- friendly and useful for battery-powered device which cares power consumptions while still needs some measurements occasionally.
If this property is present, the single-shot mode will be used, instead of the default continuous one for monitoring.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
#address-cells — not listed as required here #
Required only if a child node is present.
Exact value (const): 1
#size-cells — not listed as required here #
Required only if a child node is present.
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
^input@[0-2]$ — name matches this regular expression #
The node contains optional child nodes for three channels. Each child node describes the information of input source. Input channels default to enabled in the chip. Unless channels are explicitly disabled in device-tree, input channels will be enabled.
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties and child nodes (properties) #
reg — required here
Must be 0, 1 and 2, corresponding to the IN1, IN2 or IN3 ports of the INA3221, respectively.
Allowed values (enum): 0, 1, 2
label — not listed as required here
name of the input source
shunt-resistor-micro-ohms — not listed as required here
shunt resistor value in micro-Ohm
ti,summation-disable — not listed as required here
The INA3221 has a critical alert pin that can be controlled by the summation control function. This function adds the single shunt-voltage conversions for the desired channels in order to compare the combined sum to the programmed limit. The Shunt-Voltage Sum Limit register contains the programmed value that is compared to the value in the Shunt-Voltage Sum register in order to determine if the total summed limit is exceeded. If the shunt-voltage sum limit value is exceeded, the critical alert pin is asserted.
For the summation limit to have a meaningful value, it is necessary to use the same shunt-resistor value on all enabled channels. If this is not the case or if a channel should not be used for triggering the critical alert pin, then this property can be used exclude specific channels from the summation control function.
Value type (type): "boolean"
Required in this object (required): "reg"
Required in this object (required): "compatible", "reg"
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>;
power-sensor@40 {
compatible = "ti,ina3221";
reg = <0x40>;
#address-cells = <1>;
#size-cells = <0>;
input@0 {
reg = <0x0>;
/*
* Input channels are enabled by default in the device and so
* to disable, must be explicitly disabled in device-tree.
*/
status = "disabled";
};
input@1 {
reg = <0x1>;
shunt-resistor-micro-ohms = <5000>;
};
input@2 {
reg = <0x2>;
label = "VDD_5V";
shunt-resistor-micro-ohms = <5000>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Texas Instruments LM87 Hardware Monitor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,lm87.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Javier Carrasco <javier.carrasco.cruz@gmail.com>"
The LM87 is a serial interface system hardware monitor with remote diode temperature sensing.
Datasheets:
https://www.ti.com/product/LM87
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "adi,adm1024", "ti,lm87"
reg — required here #
Maximum number of items (maxItems): 1
has-temp3 — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
This configures pins 18 and 19 to be used as a second remote temperature sensing channel. By default the pins are configured as voltage input pins in0 and in5.
has-in6 — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
When set, pin 5 is configured to be used as voltage input in6. Otherwise the pin is set as FAN1 input.
has-in7 — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag
When set, pin 6 is configured to be used as voltage input in7. Otherwise the pin is set as FAN2 input.
vcc-supply — not listed as required here #
Regulator supplying power, can be configured to measure 5.0V power supply. Default is 3.3V.
Required in this object (required): "compatible", "reg"
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>;
hwmon@2e {
compatible = "ti,lm87";
reg = <0x2e>;
has-temp3;
vcc-supply = <®_5v0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
TMP102 temperature sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,tmp102.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,tmp102"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
label — not listed as required here #
A descriptive name for this channel, like "ambient" or "psu".
#thermal-sensor-cells — not listed as required here #
Exact value (const): 1
vcc-supply — not listed as required here #
Power supply for tmp102
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@48 {
compatible = "ti,tmp102";
reg = <0x48>;
interrupt-parent = <&gpio7>;
interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
label = "somelabel";
vcc-supply = <&supply>;
#thermal-sensor-cells = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
TMP108/P3T1035/P3T1085/P3T2030 temperature sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,tmp108.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krzysztof Kozlowski <krzk@kernel.org>"
The TMP108 or NXP P3T Family (P3T1035, P3T1085 and P3T2030) is a digital- output temperature sensor with a dynamically-programmable limit window, and under- and over-temperature alert functions.
NXP P3T Family (P3T1035, P3T1085 and P3T2030) supports I3C.
Datasheets:
https://www.ti.com/product/TMP108
https://www.nxp.com/docs/en/data-sheet/P3T1085UK.pdf
https://www.nxp.com/docs/en/data-sheet/P3T1035XUK_P3T2030XUK.pdf
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Exact value (
const):"nxp,p3t2030"Item 2
Exact value (
const):"nxp,p3t1035"
Rule 2
Exact value (
const):"nxp,p3t1035"
Rule 3
Exact value (
const):"nxp,p3t1085"
Rule 4
Exact value (
const):"ti,tmp108"
interrupts — not listed as required here #
Array item rules (items) #
Item 1
alert interrupt
reg — required here #
Maximum number of items (maxItems): 1
#thermal-sensor-cells — not listed as required here #
Exact value (const): 0
vcc-supply — not listed as required here #
phandle to the regulator that provides the V+ supply
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@48 {
compatible = "ti,tmp108";
reg = <0x48>;
interrupt-parent = <&gpio1>;
interrupts = <7 IRQ_TYPE_LEVEL_LOW>;
pinctrl-names = "default";
pinctrl-0 = <&tmp_alrt>;
vcc-supply = <&supply>;
#thermal-sensor-cells = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
TMP401, TPM411 and TMP43x temperature sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,tmp401.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Guenter Roeck <linux@roeck-us.net>"
±1°C Remote and Local temperature sensor
Datasheets: https://www.ti.com/lit/ds/symlink/tmp401.pdf https://www.ti.com/lit/ds/symlink/tmp411.pdf https://www.ti.com/lit/ds/symlink/tmp431.pdf https://www.ti.com/lit/ds/symlink/tmp435.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,tmp401", "ti,tmp411", "ti,tmp431", "ti,tmp432", "ti,tmp435"
reg — required here #
Maximum number of items (maxItems): 1
ti,extended-range-enable — not listed as required here #
When set, this sensor measures over extended temperature range.
Value type (type): "boolean"
ti,n-factor — not listed as required here #
value to be used for converting remote channel measurements to temperature.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/int32
Minimum value (minimum): -128
Maximum value (maximum): 127
ti,beta-compensation — not listed as required here #
value to select beta correction range.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 0
Maximum value (maximum): 15
All of these rules must match (allOf) #
Rule 1 #
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)
ti,n-factor— not listed as required here
false— Not permitted by this property rule.
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)
ti,beta-compensation— not listed as required here
false— Not permitted by this property rule.
Required in this object (required): "compatible", "reg"
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>;
sensor@4c {
compatible = "ti,tmp401";
reg = <0x4c>;
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@4c {
compatible = "ti,tmp431";
reg = <0x4c>;
ti,extended-range-enable;
ti,n-factor = <0x3b>;
ti,beta-compensation = <0x7>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
TMP42x/TMP44x temperature sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,tmp421.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Guenter Roeck <linux@roeck-us.net>"
±1°C Remote and Local temperature sensor https://www.ti.com/lit/ds/symlink/tmp422.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,tmp421", "ti,tmp422", "ti,tmp423", "ti,tmp441", "ti,tmp442"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^channel@([0-3])$ — name matches this regular expression #
Value type (type): "object"
Represents channels of the device and their specific configuration.
Properties and child nodes (properties) #
reg — required here
The channel number. 0 is local channel, 1-3 are remote channels
Array item rules (items)
Minimum value (
minimum):0Maximum value (
maximum):3
label — not listed as required here
A descriptive name for this channel, like "ambient" or "psu".
ti,n-factor — not listed as required here
The value (two's complement) to be programmed in the channel specific N correction register. For remote channels only.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/int32
Minimum value (minimum): -128
Maximum value (maximum): 127
Required in this object (required): "reg"
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>;
sensor@4c {
compatible = "ti,tmp422";
reg = <0x4c>;
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@4c {
compatible = "ti,tmp422";
reg = <0x4c>;
#address-cells = <1>;
#size-cells = <0>;
channel@0 {
reg = <0x0>;
ti,n-factor = <0x1>;
label = "local";
};
channel@1 {
reg = <0x1>;
ti,n-factor = <0x0>;
label = "somelabel";
};
channel@2 {
reg = <0x2>;
status = "disabled";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
TMP464 and TMP468 temperature sensors
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,tmp464.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Guenter Roeck <linux@roeck-us.net>"
±0.0625°C Remote and Local temperature sensor https://www.ti.com/lit/ds/symlink/tmp464.pdf https://www.ti.com/lit/ds/symlink/tmp468.pdf
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,tmp464", "ti,tmp468"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 1
#size-cells — not listed as required here #
Exact value (const): 0
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Properties matching a name pattern (patternProperties) #
^channel@([0-8])$ — name matches this regular expression #
Value type (type): "object"
Represents channels of the device and their specific configuration.
Properties and child nodes (properties) #
reg — required here
The channel number. 0 is local channel, 1-8 are remote channels.
Array item rules (items)
Minimum value (
minimum):0Maximum value (
maximum):8
label — not listed as required here
A descriptive name for this channel, like "ambient" or "psu".
ti,n-factor — not listed as required here
The value (two's complement) to be programmed in the channel specific N correction register. For remote channels only.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/int32
Minimum value (minimum): -128
Maximum value (maximum): 127
Required in this object (required): "reg"
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>;
sensor@4b {
compatible = "ti,tmp464";
reg = <0x4b>;
};
};
i2c {
#address-cells = <1>;
#size-cells = <0>;
sensor@4b {
compatible = "ti,tmp464";
reg = <0x4b>;
#address-cells = <1>;
#size-cells = <0>;
channel@0 {
reg = <0x0>;
label = "local";
};
channel@1 {
reg = <0x1>;
ti,n-factor = <(-10)>;
label = "external";
};
channel@2 {
reg = <0x2>;
ti,n-factor = <0x10>;
label = "somelabel";
};
channel@3 {
reg = <0x3>;
status = "disabled";
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
TMP513/512 system monitor sensor
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,tmp513.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Eric Tremblay <etremblay@distech-controls.com>"
The TMP512 (dual-channel) and TMP513 (triple-channel) are system monitors that include remote sensors, a local temperature sensor, and a high-side current shunt monitor. These system monitors have the capability of measuring remote temperatures, on-chip temperatures, and system voltage/power/current consumption.
Datasheets: https://www.ti.com/lit/gpn/tmp513 https://www.ti.com/lit/gpn/tmp512
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,tmp512", "ti,tmp513"
reg — required here #
Maximum number of items (maxItems): 1
shunt-resistor-micro-ohms — not listed as required here #
If 0, the calibration process will be skipped and the current and power measurement engine will not work. Temperature and voltage measurement will continue to work. The shunt value also need to respect: rshunt <= pga-gain * 40 * 1000 * 1000. If not, it's not possible to compute a valid calibration value.
Default value (default): 1000
ti,pga-gain — not listed as required here #
The gain value for the PGA function. This is 8, 4, 2 or 1. The PGA gain affect the shunt voltage range. The range will be equal to: pga-gain * 40mV
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Allowed values (enum): 1, 2, 4, 8
Default value (default): 8
ti,bus-range-microvolt — not listed as required here #
This is the operating range of the bus voltage in microvolt
Allowed values (enum): 16000000, 32000000
Default value (default): 32000000
ti,nfactor — not listed as required here #
Array of three(TMP513) or two(TMP512) n-Factor value for each remote temperature channel. See datasheet Table 11 for n-Factor range list and value interpretation.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 3
Array item rules (items) #
Default value (
default):0Minimum value (
minimum):0Maximum value (
maximum):255
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):hwmon-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
tmp513@5c {
compatible = "ti,tmp513";
reg = <0x5c>;
shunt-resistor-micro-ohms = <330000>;
ti,bus-range-microvolt = <32000000>;
ti,pga-gain = <8>;
ti,nfactor = <0x1 0xf3 0x00>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
TI TPS23861 PoE PSE
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/ti,tps23861.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Robert Marko <robert.marko@sartura.hr>"
The TPS23861 is a IEEE 802.3at Quad Port Power-over-Ethernet PSE Controller.
Datasheets: https://www.ti.com/lit/gpn/tps23861
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "ti,tps23861"
reg — required here #
Maximum number of items (maxItems): 1
shunt-resistor-micro-ohms — not listed as required here #
The value of current sense resistor in microohms.
Default value (default): 255000
Minimum value (minimum): 250000
Maximum value (maximum): 255000
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):hwmon-common.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
tps23861@30 {
compatible = "ti,tps23861";
reg = <0x30>;
shunt-resistor-micro-ohms = <255000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
Winbond W83781 and compatible hardware monitor IC
Peios Kernel / Hardware and drivers / Device-tree binding reference / Hwmon bindings
Schema identifier ($id): "http://devicetree.org/schemas/hwmon/winbond,w83781d.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "winbond,w83781d", "winbond,w83781g", "winbond,w83782d", "winbond,w83783s", "asus,as99127f"
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "reg"
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>;
temperature-sensor@28 {
compatible = "winbond,w83781d";
reg = <0x28>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)