brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 1caa896 Raw
87 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/iio/adc/x-powers,axp209-adc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: X-Powers AXP ADC8 9maintainers:10  - Chen-Yu Tsai <wens@csie.org>11 12description: |13  ADC is frequently used as a provider to consumers of the ADC channels.14  Device is a child of an axp209 multifunction device15  ADC channels and their indexes per variant:16 17  AXP20918  ------19   0 | acin_v20   1 | acin_i21   2 | vbus_v22   3 | vbus_i23   4 | pmic_temp24   5 | gpio0_v25   6 | gpio1_v26   7 | ipsout_v27   8 | batt_v28   9 | batt_chrg_i29  10 | batt_dischrg_i30  11 | ts_v31 32  AXP22x33  ------34   0 | pmic_temp35   1 | batt_v36   2 | batt_chrg_i37   3 | batt_dischrg_i38   4 | ts_v39 40  AXP71741  ------42   0 | batt_v43   1 | ts_v44   2 | vbus_v45   3 | vsys_v46   4 | pmic_temp47   5 | batt_chrg_i48   6 | vmid_v49   7 | bkup_batt_v50 51  AXP81352  ------53   0 | pmic_temp54   1 | gpio0_v55   2 | batt_v56   3 | batt_chrg_i57   4 | batt_dischrg_i58   5 | ts_v59 60 61properties:62  compatible:63    oneOf:64      - const: x-powers,axp209-adc65      - const: x-powers,axp221-adc66      - const: x-powers,axp717-adc67      - const: x-powers,axp813-adc68 69      - items:70          - const: x-powers,axp803-adc71          - const: x-powers,axp813-adc72 73  "#io-channel-cells":74    const: 175 76additionalProperties: false77 78examples:79  - |80    axp221 {81        adc {82            compatible = "x-powers,axp221-adc";83            #io-channel-cells = <1>;84        };85    };86...87