[PATCH v5 3/4] mfd: mt6397-core: add mt6323 AUXADC support
Roman Vivchar via B4 Relay
devnull+rva333.protonmail.com at kernel.org
Thu Jul 9 03:52:49 PDT 2026
From: Roman Vivchar <rva333 at protonmail.com>
The mt6323 PMIC includes an AUXADC. Register the AUXADC in the mt6323
devices array to allow the corresponding driver to probe using compatible
string.
Tested-by: Ben Grisdale <bengris32 at protonmail.ch> # Amazon Echo Dot (2nd Generation)
Reviewed-by: David Lechner <dlechner at baylibre.com>
Acked-by: Lee Jones <lee at kernel.org>
Signed-off-by: Roman Vivchar <rva333 at protonmail.com>
---
drivers/mfd/mt6397-core.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c
index ea1d039477e3..9ec951996588 100644
--- a/drivers/mfd/mt6397-core.c
+++ b/drivers/mfd/mt6397-core.c
@@ -125,6 +125,9 @@ static const struct resource mt6323_pwrc_resources[] = {
static const struct mfd_cell mt6323_devs[] = {
{
+ .name = "mt6323-auxadc",
+ .of_compatible = "mediatek,mt6323-auxadc",
+ }, {
.name = "mt6323-efuse",
.of_compatible = "mediatek,mt6323-efuse",
}, {
--
2.54.0
More information about the Linux-mediatek
mailing list