brintos

brintos / linux-shallow public Read only

0
0
Text · 1.0 KiB · 4e695b9 Raw
60 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---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 ADC8 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-adc18 19  reg:20    maxItems: 121 22  adc-reserved-channels:23    $ref: /schemas/types.yaml#/definitions/uint3224    description:25      Bitmask of reserved channels, i.e. channels that cannot be26      used by the OS.27 28  clocks:29    maxItems: 130 31  clock-names:32    const: adc33 34  vref-supply: true35 36  "#io-channel-cells":37    const: 138 39 40required:41  - compatible42  - reg43  - clocks44  - clock-names45  - vref-supply46 47additionalProperties: false48 49examples:50  - |51    adc@18101600 {52        compatible = "cosmic,10001-adc";53        reg = <0x18101600 0x24>;54        adc-reserved-channels = <0x2>;55        clocks = <&adc_clk>;56        clock-names = "adc";57        vref-supply = <&reg_1v8>;58    };59...60