[PATCH v2 1/4] dt-bindings: iio: adc: mediatek,mt6359-auxadc: add mt6323 PMIC AUXADC
Conor Dooley
conor at kernel.org
Tue Jun 9 09:01:19 PDT 2026
On Tue, Jun 09, 2026 at 04:31:58PM +0300, Roman Vivchar via B4 Relay wrote:
> From: Roman Vivchar <rva333 at protonmail.com>
>
> The MediaTek mt6323 PMIC includes an AUXADC used for battery voltage,
> temperature, and other internal measurements.
>
> 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.
>
> Signed-off-by: Roman Vivchar <rva333 at protonmail.com>
> ---
> .../bindings/iio/adc/mediatek,mt6359-auxadc.yaml | 3 ++-
> MAINTAINERS | 6 ++++++
> .../dt-bindings/iio/adc/mediatek,mt6323-auxadc.h | 24 ++++++++++++++++++++++
> 3 files changed, 32 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/mediatek,mt6359-auxadc.yaml b/Documentation/devicetree/bindings/iio/adc/mediatek,mt6359-auxadc.yaml
> index 5d4ab701f51a..852eb7336a5a 100644
> --- a/Documentation/devicetree/bindings/iio/adc/mediatek,mt6359-auxadc.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/mediatek,mt6359-auxadc.yaml
> @@ -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 at collabora.com>
> @@ -19,6 +19,7 @@ description:
> properties:
> compatible:
> enum:
> + - mediatek,mt6323-auxadc
Commit message needs to explain why a fallback is not suitable.
pw-bot: changes-requested
> - mediatek,mt6357-auxadc
> - mediatek,mt6358-auxadc
> - mediatek,mt6359-auxadc
> diff --git a/MAINTAINERS b/MAINTAINERS
> index d1cc0e12fe1f..2551c8cd9e9d 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -16256,6 +16256,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 at protonmail.com>
> +L: linux-iio at vger.kernel.org
> +S: Maintained
> +F: include/dt-bindings/iio/adc/mediatek,mt6323-auxadc.h
Why is the binding not being included here?
Cheers,
Conor.
> +
> MEDIATEK MT6735 CLOCK & RESET DRIVERS
> M: Yassine Oudjana <y.oudjana at protonmail.com>
> L: linux-clk at vger.kernel.org
> diff --git a/include/dt-bindings/iio/adc/mediatek,mt6323-auxadc.h b/include/dt-bindings/iio/adc/mediatek,mt6323-auxadc.h
> new file mode 100644
> index 000000000000..6ee9a9ecffc1
> --- /dev/null
> +++ b/include/dt-bindings/iio/adc/mediatek,mt6323-auxadc.h
> @@ -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
>
> --
> 2.54.0
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260609/cc1c2bd4/attachment.sig>
More information about the linux-arm-kernel
mailing list