linux-loongson/include/dt-bindings/iio/adc/mediatek,mt6363-auxadc.h
AngeloGioacchino Del Regno 3df2817d5a dt-bindings: iio: adc: mt6359: Add MT6363 PMIC AuxADC
Add a compatible and channel bindings for MediaTek's MT6363 PMIC,
featuring an Auxiliary ADC IP with 15 ADC channels used for both
internal temperatures and voltages and for 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-2-angelogioacchino.delregno@collabora.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2025-07-13 15:36:26 +01:00

25 lines
702 B
C

/* SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause */
#ifndef _DT_BINDINGS_MEDIATEK_MT6363_AUXADC_H
#define _DT_BINDINGS_MEDIATEK_MT6363_AUXADC_H
/* ADC Channel Index */
#define MT6363_AUXADC_BATADC 0
#define MT6363_AUXADC_VCDT 1
#define MT6363_AUXADC_BAT_TEMP 2
#define MT6363_AUXADC_CHIP_TEMP 3
#define MT6363_AUXADC_VSYSSNS 4
#define MT6363_AUXADC_VTREF 5
#define MT6363_AUXADC_VCORE_TEMP 6
#define MT6363_AUXADC_VPROC_TEMP 7
#define MT6363_AUXADC_VGPU_TEMP 8
#define MT6363_AUXADC_VIN1 9
#define MT6363_AUXADC_VIN2 10
#define MT6363_AUXADC_VIN3 11
#define MT6363_AUXADC_VIN4 12
#define MT6363_AUXADC_VIN5 13
#define MT6363_AUXADC_VIN6 14
#define MT6363_AUXADC_VIN7 15
#endif