The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/iio/adc/x-powers,axp209-adc.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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 bindings
    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   AXP813
   41   ------
   42    0 | pmic_temp
   43    1 | gpio0_v
   44    2 | batt_v
   45    3 | batt_chrg_i
   46    4 | batt_dischrg_i
   47    5 | ts_v
   48 
   49 
   50 properties:
   51   compatible:
   52     oneOf:
   53       - const: x-powers,axp209-adc
   54       - const: x-powers,axp221-adc
   55       - const: x-powers,axp813-adc
   56 
   57       - items:
   58           - const: x-powers,axp803-adc
   59           - const: x-powers,axp813-adc
   60 
   61   "#io-channel-cells":
   62     const: 1
   63 
   64 additionalProperties: false
   65 
   66 examples:
   67   - |
   68     axp221 {
   69         adc {
   70             compatible = "x-powers,axp221-adc";
   71             #io-channel-cells = <1>;
   72         };
   73     };
   74 ...

Cache object: ec148271d3386b01f2efbcd2befe2a95


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.