mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
dt-bindings: iio: adc: mediatek,mt6359-auxadc: add mt6323 PMIC AUXADC
The MediaTek mt6323 PMIC includes an AUXADC used for battery voltage, temperature, and other internal measurements. The IP block is not register-compatible with mt6359. Add the devicetree binding documentation and the associated header file defining the ADC channel constants. Also change the description to 'MT6350 series and similar' because the binding already includes more than mt635x series PMICs. Finally, add the MAINTAINERS entry for the header with ADC constants. Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Roman Vivchar <rva333@protonmail.com> Reviewed-by: David Lechner <dlechner@baylibre.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
committed by
Jonathan Cameron
parent
c4f4b964dd
commit
348ff65577
@@ -4,7 +4,7 @@
|
||||
$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
|
||||
title: MediaTek MT6350 series and similar PMIC AUXADC
|
||||
|
||||
maintainers:
|
||||
- AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
|
||||
@@ -20,6 +20,7 @@ properties:
|
||||
compatible:
|
||||
oneOf:
|
||||
- enum:
|
||||
- mediatek,mt6323-auxadc
|
||||
- mediatek,mt6357-auxadc
|
||||
- mediatek,mt6358-auxadc
|
||||
- mediatek,mt6359-auxadc
|
||||
|
||||
@@ -16564,6 +16564,12 @@ S: Maintained
|
||||
F: Documentation/devicetree/bindings/mmc/mtk-sd.yaml
|
||||
F: drivers/mmc/host/mtk-sd.c
|
||||
|
||||
MEDIATEK MT6323 PMIC AUXADC DRIVER
|
||||
M: Roman Vivchar <rva333@protonmail.com>
|
||||
L: linux-iio@vger.kernel.org
|
||||
S: Maintained
|
||||
F: include/dt-bindings/iio/adc/mediatek,mt6323-auxadc.h
|
||||
|
||||
MEDIATEK MT6735 CLOCK & RESET DRIVERS
|
||||
M: Yassine Oudjana <y.oudjana@protonmail.com>
|
||||
L: linux-clk@vger.kernel.org
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
|
||||
|
||||
#ifndef _DT_BINDINGS_MEDIATEK_MT6323_AUXADC_H
|
||||
#define _DT_BINDINGS_MEDIATEK_MT6323_AUXADC_H
|
||||
|
||||
#define MT6323_AUXADC_BATON2 0
|
||||
#define MT6323_AUXADC_CH6 1
|
||||
#define MT6323_AUXADC_BAT_TEMP 2
|
||||
#define MT6323_AUXADC_CHIP_TEMP 3
|
||||
#define MT6323_AUXADC_VCDT 4
|
||||
#define MT6323_AUXADC_BATON1 5
|
||||
#define MT6323_AUXADC_ISENSE 6
|
||||
#define MT6323_AUXADC_BATSNS 7
|
||||
#define MT6323_AUXADC_ACCDET 8
|
||||
#define MT6323_AUXADC_AUDIO0 9
|
||||
#define MT6323_AUXADC_AUDIO1 10
|
||||
#define MT6323_AUXADC_AUDIO2 11
|
||||
#define MT6323_AUXADC_AUDIO3 12
|
||||
#define MT6323_AUXADC_AUDIO4 13
|
||||
#define MT6323_AUXADC_AUDIO5 14
|
||||
#define MT6323_AUXADC_AUDIO6 15
|
||||
#define MT6323_AUXADC_AUDIO7 16
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user