* [PATCH 1/2] dt-bindings: power: supply: max17042: Document max77849-battery
@ 2021-07-27 17:03 Nikita Travkin
2021-07-27 17:03 ` [PATCH 2/2] power: supply: max17042_battery: Add support for MAX77849 Fuel-Gauge Nikita Travkin
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Nikita Travkin @ 2021-07-27 17:03 UTC (permalink / raw)
To: sre; +Cc: robh+dt, linux-pm, devicetree, linux-kernel, Nikita Travkin
max77849 is a combined fuel-gauge, charger and MUIC device. Add it to
the bindings documentation.
Signed-off-by: Nikita Travkin <nikita@trvn.ru>
---
.../devicetree/bindings/power/supply/maxim,max17042.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
index c70f05ea6d27..42ebf87d300b 100644
--- a/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
+++ b/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
@@ -19,6 +19,7 @@ properties:
- maxim,max17047
- maxim,max17050
- maxim,max17055
+ - maxim,max77849-battery
reg:
maxItems: 1
--
2.30.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/2] power: supply: max17042_battery: Add support for MAX77849 Fuel-Gauge
2021-07-27 17:03 [PATCH 1/2] dt-bindings: power: supply: max17042: Document max77849-battery Nikita Travkin
@ 2021-07-27 17:03 ` Nikita Travkin
2021-08-06 21:25 ` Sebastian Reichel
2021-08-02 20:55 ` [PATCH 1/2] dt-bindings: power: supply: max17042: Document max77849-battery Rob Herring
2021-08-06 21:25 ` Sebastian Reichel
2 siblings, 1 reply; 5+ messages in thread
From: Nikita Travkin @ 2021-07-27 17:03 UTC (permalink / raw)
To: sre; +Cc: robh+dt, linux-pm, devicetree, linux-kernel, Nikita Travkin
MAX77849 is a combined fuel-gauge, charger and MUIC IC. Notably,
fuel-gauge has dedicated i2c lines and seems to be fully compatible
with max17047. Add new compatible for it reusing max17047 code paths.
Signed-off-by: Nikita Travkin <nikita@trvn.ru>
---
drivers/power/supply/max17042_battery.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/power/supply/max17042_battery.c b/drivers/power/supply/max17042_battery.c
index ce2041b30a06..f28c90ea41b4 100644
--- a/drivers/power/supply/max17042_battery.c
+++ b/drivers/power/supply/max17042_battery.c
@@ -1196,6 +1196,7 @@ static const struct of_device_id max17042_dt_match[] = {
{ .compatible = "maxim,max17047" },
{ .compatible = "maxim,max17050" },
{ .compatible = "maxim,max17055" },
+ { .compatible = "maxim,max77849-battery" },
{ },
};
MODULE_DEVICE_TABLE(of, max17042_dt_match);
@@ -1206,6 +1207,7 @@ static const struct i2c_device_id max17042_id[] = {
{ "max17047", MAXIM_DEVICE_TYPE_MAX17047 },
{ "max17050", MAXIM_DEVICE_TYPE_MAX17050 },
{ "max17055", MAXIM_DEVICE_TYPE_MAX17055 },
+ { "max77849-battery", MAXIM_DEVICE_TYPE_MAX17047 },
{ }
};
MODULE_DEVICE_TABLE(i2c, max17042_id);
--
2.30.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: power: supply: max17042: Document max77849-battery
2021-07-27 17:03 [PATCH 1/2] dt-bindings: power: supply: max17042: Document max77849-battery Nikita Travkin
2021-07-27 17:03 ` [PATCH 2/2] power: supply: max17042_battery: Add support for MAX77849 Fuel-Gauge Nikita Travkin
@ 2021-08-02 20:55 ` Rob Herring
2021-08-06 21:25 ` Sebastian Reichel
2 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2021-08-02 20:55 UTC (permalink / raw)
To: Nikita Travkin; +Cc: sre, linux-pm, devicetree, robh+dt, linux-kernel
On Tue, 27 Jul 2021 22:03:44 +0500, Nikita Travkin wrote:
> max77849 is a combined fuel-gauge, charger and MUIC device. Add it to
> the bindings documentation.
>
> Signed-off-by: Nikita Travkin <nikita@trvn.ru>
> ---
> .../devicetree/bindings/power/supply/maxim,max17042.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: power: supply: max17042: Document max77849-battery
2021-07-27 17:03 [PATCH 1/2] dt-bindings: power: supply: max17042: Document max77849-battery Nikita Travkin
2021-07-27 17:03 ` [PATCH 2/2] power: supply: max17042_battery: Add support for MAX77849 Fuel-Gauge Nikita Travkin
2021-08-02 20:55 ` [PATCH 1/2] dt-bindings: power: supply: max17042: Document max77849-battery Rob Herring
@ 2021-08-06 21:25 ` Sebastian Reichel
2 siblings, 0 replies; 5+ messages in thread
From: Sebastian Reichel @ 2021-08-06 21:25 UTC (permalink / raw)
To: Nikita Travkin; +Cc: robh+dt, linux-pm, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 941 bytes --]
Hi,
On Tue, Jul 27, 2021 at 10:03:44PM +0500, Nikita Travkin wrote:
> max77849 is a combined fuel-gauge, charger and MUIC device. Add it to
> the bindings documentation.
>
> Signed-off-by: Nikita Travkin <nikita@trvn.ru>
> ---
Thanks, queued.
-- Sebastian
> .../devicetree/bindings/power/supply/maxim,max17042.yaml | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml b/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
> index c70f05ea6d27..42ebf87d300b 100644
> --- a/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
> +++ b/Documentation/devicetree/bindings/power/supply/maxim,max17042.yaml
> @@ -19,6 +19,7 @@ properties:
> - maxim,max17047
> - maxim,max17050
> - maxim,max17055
> + - maxim,max77849-battery
>
> reg:
> maxItems: 1
> --
> 2.30.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] power: supply: max17042_battery: Add support for MAX77849 Fuel-Gauge
2021-07-27 17:03 ` [PATCH 2/2] power: supply: max17042_battery: Add support for MAX77849 Fuel-Gauge Nikita Travkin
@ 2021-08-06 21:25 ` Sebastian Reichel
0 siblings, 0 replies; 5+ messages in thread
From: Sebastian Reichel @ 2021-08-06 21:25 UTC (permalink / raw)
To: Nikita Travkin; +Cc: robh+dt, linux-pm, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1392 bytes --]
Hi,
On Tue, Jul 27, 2021 at 10:03:45PM +0500, Nikita Travkin wrote:
> MAX77849 is a combined fuel-gauge, charger and MUIC IC. Notably,
> fuel-gauge has dedicated i2c lines and seems to be fully compatible
> with max17047. Add new compatible for it reusing max17047 code paths.
>
> Signed-off-by: Nikita Travkin <nikita@trvn.ru>
> ---
Thanks, queued.
-- Sebastian
> drivers/power/supply/max17042_battery.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/power/supply/max17042_battery.c b/drivers/power/supply/max17042_battery.c
> index ce2041b30a06..f28c90ea41b4 100644
> --- a/drivers/power/supply/max17042_battery.c
> +++ b/drivers/power/supply/max17042_battery.c
> @@ -1196,6 +1196,7 @@ static const struct of_device_id max17042_dt_match[] = {
> { .compatible = "maxim,max17047" },
> { .compatible = "maxim,max17050" },
> { .compatible = "maxim,max17055" },
> + { .compatible = "maxim,max77849-battery" },
> { },
> };
> MODULE_DEVICE_TABLE(of, max17042_dt_match);
> @@ -1206,6 +1207,7 @@ static const struct i2c_device_id max17042_id[] = {
> { "max17047", MAXIM_DEVICE_TYPE_MAX17047 },
> { "max17050", MAXIM_DEVICE_TYPE_MAX17050 },
> { "max17055", MAXIM_DEVICE_TYPE_MAX17055 },
> + { "max77849-battery", MAXIM_DEVICE_TYPE_MAX17047 },
> { }
> };
> MODULE_DEVICE_TABLE(i2c, max17042_id);
> --
> 2.30.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-08-06 21:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27 17:03 [PATCH 1/2] dt-bindings: power: supply: max17042: Document max77849-battery Nikita Travkin
2021-07-27 17:03 ` [PATCH 2/2] power: supply: max17042_battery: Add support for MAX77849 Fuel-Gauge Nikita Travkin
2021-08-06 21:25 ` Sebastian Reichel
2021-08-02 20:55 ` [PATCH 1/2] dt-bindings: power: supply: max17042: Document max77849-battery Rob Herring
2021-08-06 21:25 ` Sebastian Reichel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.