Skip to content

Commit 260d7c5

Browse files
Dzmitry Sankouskisre
authored andcommitted
power: supply: max17042: add max77705 fuel gauge support
Add max77705 fuel gauge support. Signed-off-by: Dzmitry Sankouski <[email protected]> Link: https://lore.kernel.org/r/20250108-starqltechn_integration_upstream-v14-5-f6e84ec20d96@gmail.com Signed-off-by: Sebastian Reichel <[email protected]>
1 parent 4519e13 commit 260d7c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/power/supply/max17042_battery.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,6 +1234,8 @@ static const struct of_device_id max17042_dt_match[] __used = {
12341234
.data = (void *) MAXIM_DEVICE_TYPE_MAX17050 },
12351235
{ .compatible = "maxim,max17055",
12361236
.data = (void *) MAXIM_DEVICE_TYPE_MAX17055 },
1237+
{ .compatible = "maxim,max77705-battery",
1238+
.data = (void *) MAXIM_DEVICE_TYPE_MAX17047 },
12371239
{ .compatible = "maxim,max77849-battery",
12381240
.data = (void *) MAXIM_DEVICE_TYPE_MAX17047 },
12391241
{ },
@@ -1256,6 +1258,7 @@ static const struct platform_device_id max17042_platform_id[] = {
12561258
{ "max17047", MAXIM_DEVICE_TYPE_MAX17047 },
12571259
{ "max17050", MAXIM_DEVICE_TYPE_MAX17050 },
12581260
{ "max17055", MAXIM_DEVICE_TYPE_MAX17055 },
1261+
{ "max77705-battery", MAXIM_DEVICE_TYPE_MAX17047 },
12591262
{ "max77849-battery", MAXIM_DEVICE_TYPE_MAX17047 },
12601263
{ }
12611264
};

0 commit comments

Comments
 (0)