File Index
Files and directories
Sign in
FILE

cosmic,10001-adc.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/iio/adc/cosmic,10001-adc.yaml YAML
 1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/iio/adc/cosmic,10001-adc.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: Cosmic Circuits CC-10001 ADC
 8
 9maintainers:
10  - Jonathan Cameron <jic23@kernel.org>
11
12description:
13  Cosmic Circuits 10001 10-bit ADC device.
14
15properties:
16  compatible:
17    const: cosmic,10001-adc
18
19  reg:
20    maxItems: 1
21
22  adc-reserved-channels:
23    $ref: /schemas/types.yaml#/definitions/uint32
24    description:
25      Bitmask of reserved channels, i.e. channels that cannot be
26      used by the OS.
27
28  clocks:
29    maxItems: 1
30
31  clock-names:
32    const: adc
33
34  vref-supply: true
35
36  "#io-channel-cells":
37    const: 1
38
39required:
40  - compatible
41  - reg
42  - clocks
43  - clock-names
44  - vref-supply
45
46additionalProperties: false
47
48examples:
49  - |
50    adc@18101600 {
51        compatible = "cosmic,10001-adc";
52        reg = <0x18101600 0x24>;
53        adc-reserved-channels = <0x2>;
54        clocks = <&adc_clk>;
55        clock-names = "adc";
56        vref-supply = <&reg_1v8>;
57    };
58...
~/ Read-only file preview.