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/mar 4 $id: http://devicetree.org/schemas/iio/adc/marvell,berlin2-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Berlin 2 Analog to Digital Converter (A 7 title: Berlin 2 Analog to Digital Converter (ADC) 8 8 9 maintainers: 9 maintainers: 10 - Antoine Tenart <antoine.tenart@free-electro 10 - Antoine Tenart <antoine.tenart@free-electrons.com> 11 11 12 description: 12 description: 13 The Berlin ADC has 8 channels, with one conn 13 The Berlin ADC has 8 channels, with one connected to a temperature sensor. 14 It is part of the system controller register 14 It is part of the system controller register set. The ADC node should be a 15 sub-node of the system controller node. 15 sub-node of the system controller node. 16 16 17 properties: 17 properties: 18 compatible: 18 compatible: 19 const: marvell,berlin2-adc 19 const: marvell,berlin2-adc 20 20 21 interrupts: 21 interrupts: 22 minItems: 2 22 minItems: 2 23 maxItems: 2 23 maxItems: 2 24 24 25 interrupt-names: 25 interrupt-names: 26 items: 26 items: 27 - const: adc 27 - const: adc 28 - const: tsen 28 - const: tsen 29 29 30 "#io-channel-cells": 30 "#io-channel-cells": 31 const: 1 31 const: 1 32 32 33 required: 33 required: 34 - compatible 34 - compatible 35 - interrupts 35 - interrupts 36 - interrupt-names 36 - interrupt-names 37 37 38 additionalProperties: false 38 additionalProperties: false 39 39 40 examples: 40 examples: 41 - | 41 - | 42 sysctrl { 42 sysctrl { 43 adc { 43 adc { 44 compatible = "marvell,berlin2-adc" 44 compatible = "marvell,berlin2-adc"; 45 interrupt-parent = <&sic>; 45 interrupt-parent = <&sic>; 46 interrupts = <12>, <14>; 46 interrupts = <12>, <14>; 47 interrupt-names = "adc", "tsen"; 47 interrupt-names = "adc", "tsen"; 48 }; 48 }; 49 }; 49 }; 50 ... 50 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.