linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] power: supply: max17040: extend help/description
@ 2021-09-24 12:24 Krzysztof Kozlowski
  2021-09-24 12:24 ` [PATCH 2/2] power: supply: max17042: " Krzysztof Kozlowski
  2021-09-24 13:06 ` [PATCH 1/2] power: supply: max17040: " Hans de Goede
  0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2021-09-24 12:24 UTC (permalink / raw)
  To: Iskren Chernev, Krzysztof Kozlowski, Marek Szyprowski,
	Matheus Castello, Sebastian Reichel, Hans de Goede,
	Sebastian Krzyszkowiak, linux-pm, linux-kernel

Reorganize the Kconfig driver description and mention all supported
models.  This helps when choosing drivers for given system.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 drivers/power/supply/Kconfig | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index fcc7534edcb2..6e4201922f59 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -366,18 +366,20 @@ config AXP288_FUEL_GAUGE
 	  over/under temperature.
 
 config BATTERY_MAX17040
-	tristate "Maxim MAX17040 Fuel Gauge"
+	tristate "Maxim MAX17040/17041/17043 family Fuel Gauge"
 	depends on I2C
 	select REGMAP_I2C
 	help
-	  Maxim models with ModelGauge are fuel-gauge systems for lithium-ion
-	  (Li+) batteries in handheld and portable equipment, including
-	  max17040, max17041, max17043, max17044, max17048, max17049, max17058,
-	  max17059. It is also included in some batteries like max77836.
+	  Driver supports Maxim fuel-gauge systems for lithium-ion (Li+)
+	  batteries used mainly in handheld and portable equipment.
+	  Supported devices: max17040, max17041, max17043, max17044, max17048,
+	  max17049, max17058, max17059, max77836.
 
 	  Driver supports reporting SOC (State of Charge, i.e capacity),
 	  voltage and configurable low-SOC wakeup interrupt.
 
+	  Driver can be build as a module (max17040_battery).
+
 config BATTERY_MAX17042
 	tristate "Maxim MAX17042/17047/17050/8997/8966 Fuel Gauge"
 	depends on I2C
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] power: supply: max17042: extend help/description
  2021-09-24 12:24 [PATCH 1/2] power: supply: max17040: extend help/description Krzysztof Kozlowski
@ 2021-09-24 12:24 ` Krzysztof Kozlowski
  2021-09-24 13:06 ` [PATCH 1/2] power: supply: max17040: " Hans de Goede
  1 sibling, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2021-09-24 12:24 UTC (permalink / raw)
  To: Iskren Chernev, Krzysztof Kozlowski, Marek Szyprowski,
	Matheus Castello, Sebastian Reichel, Hans de Goede,
	Sebastian Krzyszkowiak, linux-pm, linux-kernel

Reorganize the Kconfig driver description and mention all supported
models.  This helps when choosing drivers for given system.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 drivers/power/supply/Kconfig | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
index 6e4201922f59..ad93b3550d6d 100644
--- a/drivers/power/supply/Kconfig
+++ b/drivers/power/supply/Kconfig
@@ -381,7 +381,7 @@ config BATTERY_MAX17040
 	  Driver can be build as a module (max17040_battery).
 
 config BATTERY_MAX17042
-	tristate "Maxim MAX17042/17047/17050/8997/8966 Fuel Gauge"
+	tristate "Maxim MAX17042/17047/17050/8997/8966 family Fuel Gauge"
 	depends on I2C
 	select REGMAP_I2C
 	help
@@ -389,8 +389,11 @@ config BATTERY_MAX17042
 	  in handheld and portable equipment. The MAX17042 is configured
 	  to operate with a single lithium cell. MAX8997 and MAX8966 are
 	  multi-function devices that include fuel gauages that are compatible
-	  with MAX17042. This driver also supports max17047/50 chips which are
-	  improved version of max17042.
+	  with MAX17042.
+	  Supported devices: max8966, max8997, max17042, max17047, max17050,
+	  max17055, max77693, max77849.
+
+	  Driver can be build as a module (max17042_battery).
 
 config BATTERY_MAX1721X
 	tristate "MAX17211/MAX17215 standalone gas-gauge"
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] power: supply: max17040: extend help/description
  2021-09-24 12:24 [PATCH 1/2] power: supply: max17040: extend help/description Krzysztof Kozlowski
  2021-09-24 12:24 ` [PATCH 2/2] power: supply: max17042: " Krzysztof Kozlowski
@ 2021-09-24 13:06 ` Hans de Goede
  2021-09-27 12:33   ` Sebastian Reichel
  1 sibling, 1 reply; 4+ messages in thread
From: Hans de Goede @ 2021-09-24 13:06 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Iskren Chernev, Marek Szyprowski,
	Matheus Castello, Sebastian Reichel, Sebastian Krzyszkowiak,
	linux-pm, linux-kernel

Hi,

On 9/24/21 2:24 PM, Krzysztof Kozlowski wrote:
> Reorganize the Kconfig driver description and mention all supported
> models.  This helps when choosing drivers for given system.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

Thanks, series looks good to me:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

For the series.

Regards,

Hans

> ---
>  drivers/power/supply/Kconfig | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig
> index fcc7534edcb2..6e4201922f59 100644
> --- a/drivers/power/supply/Kconfig
> +++ b/drivers/power/supply/Kconfig
> @@ -366,18 +366,20 @@ config AXP288_FUEL_GAUGE
>  	  over/under temperature.
>  
>  config BATTERY_MAX17040
> -	tristate "Maxim MAX17040 Fuel Gauge"
> +	tristate "Maxim MAX17040/17041/17043 family Fuel Gauge"
>  	depends on I2C
>  	select REGMAP_I2C
>  	help
> -	  Maxim models with ModelGauge are fuel-gauge systems for lithium-ion
> -	  (Li+) batteries in handheld and portable equipment, including
> -	  max17040, max17041, max17043, max17044, max17048, max17049, max17058,
> -	  max17059. It is also included in some batteries like max77836.
> +	  Driver supports Maxim fuel-gauge systems for lithium-ion (Li+)
> +	  batteries used mainly in handheld and portable equipment.
> +	  Supported devices: max17040, max17041, max17043, max17044, max17048,
> +	  max17049, max17058, max17059, max77836.
>  
>  	  Driver supports reporting SOC (State of Charge, i.e capacity),
>  	  voltage and configurable low-SOC wakeup interrupt.
>  
> +	  Driver can be build as a module (max17040_battery).
> +
>  config BATTERY_MAX17042
>  	tristate "Maxim MAX17042/17047/17050/8997/8966 Fuel Gauge"
>  	depends on I2C
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] power: supply: max17040: extend help/description
  2021-09-24 13:06 ` [PATCH 1/2] power: supply: max17040: " Hans de Goede
@ 2021-09-27 12:33   ` Sebastian Reichel
  0 siblings, 0 replies; 4+ messages in thread
From: Sebastian Reichel @ 2021-09-27 12:33 UTC (permalink / raw)
  To: Hans de Goede
  Cc: Krzysztof Kozlowski, Iskren Chernev, Marek Szyprowski,
	Matheus Castello, Sebastian Krzyszkowiak, linux-pm, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 511 bytes --]

Hi,

On Fri, Sep 24, 2021 at 03:06:46PM +0200, Hans de Goede wrote:
> On 9/24/21 2:24 PM, Krzysztof Kozlowski wrote:
> > Reorganize the Kconfig driver description and mention all supported
> > models.  This helps when choosing drivers for given system.
> > 
> > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> 
> Thanks, series looks good to me:
> 
> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
> 
> For the series.

Thanks, series has been queued.

-- Sebastian

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-27 12:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-24 12:24 [PATCH 1/2] power: supply: max17040: extend help/description Krzysztof Kozlowski
2021-09-24 12:24 ` [PATCH 2/2] power: supply: max17042: " Krzysztof Kozlowski
2021-09-24 13:06 ` [PATCH 1/2] power: supply: max17040: " Hans de Goede
2021-09-27 12:33   ` Sebastian Reichel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).