1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/x-powers,axp209-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 7 title: X-Powers AXP ADC 8 9 maintainers: 10 - Chen-Yu Tsai <wens@csie.org> 11 12 description: | 13 ADC is frequently used as a provider to consumers of the ADC channels. 14 Device is a child of an axp209 multifunction device 15 ADC channels and their indexes per variant: 16 17 AXP209 18 ------ 19 0 | acin_v 20 1 | acin_i 21 2 | vbus_v 22 3 | vbus_i 23 4 | pmic_temp 24 5 | gpio0_v 25 6 | gpio1_v 26 7 | ipsout_v 27 8 | batt_v 28 9 | batt_chrg_i 29 10 | batt_dischrg_i 30 11 | ts_v 31 32 AXP22x 33 ------ 34 0 | pmic_temp 35 1 | batt_v 36 2 | batt_chrg_i 37 3 | batt_dischrg_i 38 4 | ts_v 39 40 AXP717 41 ------ 42 0 | batt_v 43 1 | ts_v 44 2 | vbus_v 45 3 | vsys_v 46 4 | pmic_temp 47 5 | batt_chrg_i 48 6 | vmid_v 49 7 | bkup_batt_v 50 51 AXP813 52 ------ 53 0 | pmic_temp 54 1 | gpio0_v 55 2 | batt_v 56 3 | batt_chrg_i 57 4 | batt_dischrg_i 58 5 | ts_v 59 60 61 properties: 62 compatible: 63 oneOf: 64 - const: x-powers,axp209-adc 65 - const: x-powers,axp221-adc 66 - const: x-powers,axp717-adc 67 - const: x-powers,axp813-adc 68 69 - items: 70 - const: x-powers,axp803-adc 71 - const: x-powers,axp813-adc 72 73 "#io-channel-cells": 74 const: 1 75 76 additionalProperties: false 77 78 examples: 79 - | 80 axp221 { 81 adc { 82 compatible = "x-powers,axp221-adc"; 83 #io-channel-cells = <1>; 84 }; 85 }; 86 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.