Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/marvell,berlin2-adc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Berlin 2 Analog to Digital Converter (ADC)
0008 
0009 maintainers:
0010   - Antoine Tenart <antoine.tenart@free-electrons.com>
0011 
0012 description:
0013   The Berlin ADC has 8 channels, with one connected to a temperature sensor.
0014   It is part of the system controller register set. The ADC node should be a
0015   sub-node of the system controller node.
0016 
0017 properties:
0018   compatible:
0019     const: marvell,berlin2-adc
0020 
0021   interrupts:
0022     minItems: 2
0023     maxItems: 2
0024 
0025   interrupt-names:
0026     items:
0027       - const: adc
0028       - const: tsen
0029 
0030   "#io-channel-cells":
0031     const: 1
0032 
0033 required:
0034   - compatible
0035   - interrupts
0036   - interrupt-names
0037 
0038 additionalProperties: false
0039 
0040 examples:
0041   - |
0042     sysctrl {
0043         adc {
0044             compatible = "marvell,berlin2-adc";
0045             interrupt-parent = <&sic>;
0046             interrupts = <12>, <14>;
0047             interrupt-names = "adc", "tsen";
0048         };
0049     };
0050 ...