MADC subsystem in the TWL4030 power module
Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/ti,twl4030-madc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Sebastian Reichel <sre@kernel.org>"
The MADC subsystem in the TWL4030 consists of a 10-bit ADC combined with a 16-input analog multiplexer.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ti,twl4030-madc"
interrupts — required here #
Maximum number of items (maxItems): 1
ti,system-uses-second-madc-irq — not listed as required here #
Value type (type): "boolean"
Set if the second madc irq register should be used, which is intended to be used by Co-Processors (e.g. a modem).
#io-channel-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "interrupts", "#io-channel-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
twl {
madc {
compatible = "ti,twl4030-madc";
interrupts = <3>;
#io-channel-cells = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)