# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/iio/adc/mediatek,mt6359-auxadc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: MediaTek MT6350 series PMIC AUXADC

maintainers:
  - AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

description:
  The Auxiliary Analog/Digital Converter (AUXADC) is an ADC found
  in some MediaTek PMICs, performing various PMIC related measurements
  such as battery and PMIC internal voltage regulators temperatures,
  accessory detection resistance (usually, for a 3.5mm audio jack)
  other than voltages for various PMIC internal components.

properties:
  compatible:
    enum:
      - mediatek,mt6357-auxadc
      - mediatek,mt6358-auxadc
      - mediatek,mt6359-auxadc

  "#io-channel-cells":
    const: 1

required:
  - compatible
  - "#io-channel-cells"

additionalProperties: false
