Nuvoton NAU7802 I2c Analog to Digital Converter (ADC)
Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/nuvoton,nau7802.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>", "Maxime Ripard <mripard@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "nuvoton,nau7802"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
nuvoton,vldo — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Internal reference voltage in millivolts to be configured.
Minimum value (minimum): 2400
Maximum value (maximum): 4500
#io-channel-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>;
nau7802@2a {
compatible = "nuvoton,nau7802";
reg = <0x2a>;
nuvoton,vldo = <3000>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)