mfd: mt6397-core: Add mt6397 AUXADC support

The mt6397 PMIC includes an AUXADC. Register the AUXADC in the mt6397
devices array to allow the corresponding driver to probe using compatible
string.

Assisted-by: LLM
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Ryan Brue <ryanbrue.dev@gmail.com>
Link: https://patch.msgid.link/20260928-rbrue-suez-upstreaming-mt6397-auxadc-v4-3-23533a0d30e3@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
Ryan Brue 2026-09-28 15:57:21 -05:00 committed by Lee Jones
parent 42a947779e
commit cc6597f4e3

View File

@ -261,6 +261,9 @@ static const struct mfd_cell mt6359_devs[] = {
static const struct mfd_cell mt6397_devs[] = {
{
.name = "mt6397-auxadc",
.of_compatible = "mediatek,mt6397-auxadc",
}, {
.name = "mt6397-rtc",
.num_resources = ARRAY_SIZE(mt6397_rtc_resources),
.resources = mt6397_rtc_resources,