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