Microchip MCP3021 A/D converter
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