1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/iio/adc/nuvoton,nau7802.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Nuvoton NAU7802 I2c Analog to Digital Converter (ADC) 8 9maintainers: 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 11 - Maxime Ripard <mripard@kernel.org> 12 13properties: 14 compatible: 15 const: nuvoton,nau7802 16 17 reg: 18 maxItems: 1 19 20 interrupts: 21 maxItems: 1 22 23 nuvoton,vldo: 24 $ref: /schemas/types.yaml#/definitions/uint32 25 description: 26 Internal reference voltage in millivolts to be configured. 27 minimum: 2400 28 maximum: 4500 29 30 "#io-channel-cells": 31 const: 1 32 33required: 34 - compatible 35 - reg 36 37additionalProperties: false 38 39examples: 40 - | 41 i2c { 42 #address-cells = <1>; 43 #size-cells = <0>; 44 nau7802@2a { 45 compatible = "nuvoton,nau7802"; 46 reg = <0x2a>; 47 nuvoton,vldo = <3000>; 48 }; 49 }; 50... 51