0001 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/iio/adc/dlg,da9150-gpadc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Dialog Semiconductor DA9150 IIO GPADC
0008
0009 maintainers:
0010 - Adam Thomson <Adam.Thomson.Opensource@diasemi.com>
0011
0012 description:
0013 This patch adds support for general purpose ADC within the
0014 DA9150 Charger & Fuel-Gauge IC.
0015
0016 properties:
0017 compatible:
0018 const: dlg,da9150-gpadc
0019
0020 "#io-channel-cells":
0021 const: 1
0022
0023 required:
0024 - compatible
0025 - "#io-channel-cells"
0026
0027 additionalProperties: false
0028
0029 examples:
0030 - |
0031 adc {
0032 compatible = "dlg,da9150-gpadc";
0033 #io-channel-cells = <1>;
0034 };
0035 ...