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/nuvoton,nau7802.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Nuvoton NAU7802 I2c Analog to Digital Converter (ADC)
0008 
0009 maintainers:
0010   - Alexandre Belloni <alexandre.belloni@bootlin.com>
0011   - Maxime Ripard <mripard@kernel.org>
0012 
0013 properties:
0014   compatible:
0015     const: nuvoton,nau7802
0016 
0017   reg:
0018     maxItems: 1
0019 
0020   interrupts:
0021     maxItems: 1
0022 
0023   nuvoton,vldo:
0024     $ref: /schemas/types.yaml#/definitions/uint32
0025     description:
0026       Internal reference voltage in millivolts to be configured.
0027     minimum: 2400
0028     maximum: 4500
0029 
0030   "#io-channel-cells":
0031     const: 1
0032 
0033 required:
0034   - compatible
0035   - reg
0036 
0037 additionalProperties: false
0038 
0039 examples:
0040   - |
0041     i2c {
0042         #address-cells = <1>;
0043         #size-cells = <0>;
0044         nau7802@2a {
0045             compatible = "nuvoton,nau7802";
0046             reg = <0x2a>;
0047             nuvoton,vldo = <3000>;
0048         };
0049     };
0050 ...