Cosmic Circuits CC-10001 ADC
Schema identifier ($id): "http://devicetree.org/schemas/iio/adc/cosmic,10001-adc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Jonathan Cameron <jic23@kernel.org>"
Cosmic Circuits 10001 10-bit ADC device.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "cosmic,10001-adc"
reg — required here #
Maximum number of items (maxItems): 1
adc-reserved-channels — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Bitmask of reserved channels, i.e. channels that cannot be used by the OS.
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "adc"
vref-supply — required here #
true — No constraints added by this property rule.
#io-channel-cells — not listed as required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "vref-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
adc@18101600 {
compatible = "cosmic,10001-adc";
reg = <0x18101600 0x24>;
adc-reserved-channels = <0x2>;
clocks = <&adc_clk>;
clock-names = "adc";
vref-supply = <®_1v8>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)