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/nuv 4 $id: http://devicetree.org/schemas/iio/adc/nuvoton,nau7802.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Nuvoton NAU7802 I2c Analog to Digital C 7 title: Nuvoton NAU7802 I2c Analog to Digital Converter (ADC) 8 8 9 maintainers: 9 maintainers: 10 - Alexandre Belloni <alexandre.belloni@bootli 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 11 - Maxime Ripard <mripard@kernel.org> 11 - Maxime Ripard <mripard@kernel.org> 12 12 13 properties: 13 properties: 14 compatible: 14 compatible: 15 const: nuvoton,nau7802 15 const: nuvoton,nau7802 16 16 17 reg: 17 reg: 18 maxItems: 1 18 maxItems: 1 19 19 20 interrupts: 20 interrupts: 21 maxItems: 1 21 maxItems: 1 22 22 23 nuvoton,vldo: 23 nuvoton,vldo: 24 $ref: /schemas/types.yaml#/definitions/uin 24 $ref: /schemas/types.yaml#/definitions/uint32 25 description: 25 description: 26 Internal reference voltage in millivolts 26 Internal reference voltage in millivolts to be configured. 27 minimum: 2400 27 minimum: 2400 28 maximum: 4500 28 maximum: 4500 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 - reg 35 - reg 36 36 37 additionalProperties: false 37 additionalProperties: false 38 38 39 examples: 39 examples: 40 - | 40 - | 41 i2c { 41 i2c { 42 #address-cells = <1>; 42 #address-cells = <1>; 43 #size-cells = <0>; 43 #size-cells = <0>; 44 nau7802@2a { 44 nau7802@2a { 45 compatible = "nuvoton,nau7802"; 45 compatible = "nuvoton,nau7802"; 46 reg = <0x2a>; 46 reg = <0x2a>; 47 nuvoton,vldo = <3000>; 47 nuvoton,vldo = <3000>; 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.