* [PATCH] power: supply: mm8013: Publish the OF module alias
@ 2026-09-05 13:45 hpp.iscas
2026-09-09 20:49 ` Sebastian Reichel
0 siblings, 1 reply; 2+ messages in thread
From: hpp.iscas @ 2026-09-05 13:45 UTC (permalink / raw)
To: Konrad Dybcio; +Cc: hpp.iscas, Sebastian Reichel, linux-pm, linux-kernel
The MM8013 driver matches mitsumi,mm8013 Device Tree clients, but
exports only its legacy I2C ID table. The I2C core emits an OF modalias
for these clients rather than i2c:mm8013.
Publish the existing OF match table without changing gauge operations.
Fixes: c75f4bf6800b ("power: supply: Introduce MM8013 fuel gauge driver")
Signed-off-by: hpp.iscas <hppiscas@163.com>
---
drivers/power/supply/mm8013.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/power/supply/mm8013.c b/drivers/power/supply/mm8013.c
index 819667a..c38f483 100644
--- a/drivers/power/supply/mm8013.c
+++ b/drivers/power/supply/mm8013.c
@@ -293,6 +293,7 @@ static const struct of_device_id mm8013_match_table[] = {
{ .compatible = "mitsumi,mm8013" },
{}
};
+MODULE_DEVICE_TABLE(of, mm8013_match_table);
static struct i2c_driver mm8013_i2c_driver = {
.probe = mm8013_probe,
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] power: supply: mm8013: Publish the OF module alias
2026-09-05 13:45 [PATCH] power: supply: mm8013: Publish the OF module alias hpp.iscas
@ 2026-09-09 20:49 ` Sebastian Reichel
0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Reichel @ 2026-09-09 20:49 UTC (permalink / raw)
To: Konrad Dybcio, hpp.iscas; +Cc: Sebastian Reichel, linux-pm, linux-kernel
On Sat, 05 Sep 2026 21:45:00 +0800, hpp.iscas wrote:
> The MM8013 driver matches mitsumi,mm8013 Device Tree clients, but
> exports only its legacy I2C ID table. The I2C core emits an OF modalias
> for these clients rather than i2c:mm8013.
>
> Publish the existing OF match table without changing gauge operations.
>
>
> [...]
Applied, thanks!
[1/1] power: supply: mm8013: Publish the OF module alias
commit: 95450ccb3545c8ecbd61a41d4727ff8df86d3bd3
Best regards,
--
Sebastian Reichel <sebastian.reichel@collabora.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-09 20:49 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-05 13:45 [PATCH] power: supply: mm8013: Publish the OF module alias hpp.iscas
2026-09-09 20:49 ` Sebastian Reichel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox