mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-06 04:41:28 +00:00

Add a compatible and channel bindings for MediaTek's MT6373 PMIC, featuring an Auxiliary ADC IP with 15 ADC channels for external (SoC) temperatures and external voltage inputs. Acked-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Nícolas F. R. A. Prado <nfraprado@collabora.com> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Reviewed-by: Nuno Sá <nuno.sa@analog.com> Link: https://patch.msgid.link/20250703141146.171431-3-angelogioacchino.delregno@collabora.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
36 lines
979 B
YAML
36 lines
979 B
YAML
# 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
|
|
- mediatek,mt6363-auxadc
|
|
- mediatek,mt6373-auxadc
|
|
|
|
"#io-channel-cells":
|
|
const: 1
|
|
|
|
required:
|
|
- compatible
|
|
- "#io-channel-cells"
|
|
|
|
additionalProperties: false
|