]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: adc: Add support for MediaTek MT6357/8/9 Auxiliary ADC
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 4 Jun 2024 12:30:07 +0000 (14:30 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 1 Jul 2024 18:38:48 +0000 (19:38 +0100)
commit3587914bf61df7924933530353d840378cdc4973
treee102483549747c73502efe4a5588b411bf62600f
parente38a82df2c9924577d39ce5ccee9e9edcadc3b5d
iio: adc: Add support for MediaTek MT6357/8/9 Auxiliary ADC

Add a driver to support reading the Auxiliary ADC IP found in the
MediaTek MT6357, MT6358 and MT6359 Power Management ICs, featuring
a different register layout, configuration reset and ADC reading
sequence from the other already supported MediaTek SoC or PMIC
(aux)ADC HW.

This driver provides multiple ADC channels for system monitoring,
such as battery voltage, PMIC temperature, PMIC-internal voltage
regulators temperature, and others.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://patch.msgid.link/20240604123008.327424-5-angelogioacchino.delregno@collabora.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/iio/adc/mt6359-auxadc.c [new file with mode: 0644]