[PATCH 09/13] mfd: mt6397-core: add support for mt6323 thermal
Roman Vivchar via B4 Relay
devnull+rva333.protonmail.com at kernel.org
Mon May 4 11:25:01 PDT 2026
From: Roman Vivchar <rva333 at protonmail.com>
The mt6323 PMIC temperature can be measured using AUXADC channel.
Register the thermal 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)
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 2d9419b80a5c..061ac242f1f8 100644
--- a/drivers/mfd/mt6397-core.c
+++ b/drivers/mfd/mt6397-core.c
@@ -151,6 +151,9 @@ static const struct mfd_cell mt6323_devs[] = {
.num_resources = ARRAY_SIZE(mt6323_pwrc_resources),
.resources = mt6323_pwrc_resources,
.of_compatible = "mediatek,mt6323-pwrc"
+ }, {
+ .name = "mt6323-thermal",
+ .of_compatible = "mediatek,mt6323-thermal",
},
};
--
2.53.0
More information about the linux-arm-kernel
mailing list