mbox series

[v2,0/2] Add MAX17055 fuel guage

Message ID 20191214152755.25138-1-angus@akkea.ca
Headers show
Series Add MAX17055 fuel guage | expand

Message

Angus Ainslie Dec. 14, 2019, 3:27 p.m. UTC
Extend the max17042_battery driver to include the MAX17055.

Changes since v1:

Change blacklist driver checks to whitelists.

Angus Ainslie (Purism) (2):
  power: supply: max17042: add MAX17055 support
  device-tree: bindings: max17042_battery: add all of the compatible
    strings

 .../power/supply/max17042_battery.txt         |  6 ++-
 drivers/power/supply/max17042_battery.c       | 17 +++++--
 include/linux/power/max17042_battery.h        | 48 ++++++++++++++++++-
 3 files changed, 66 insertions(+), 5 deletions(-)

Comments

Krzysztof Kozlowski Dec. 17, 2019, 12:42 p.m. UTC | #1
On Sat, 14 Dec 2019 at 16:28, Angus Ainslie (Purism) <angus@akkea.ca> wrote:
>
> The MAX17055 is very similar to the MAX17042 so extend the driver.
>
> Signed-off-by: Angus Ainslie (Purism) <angus@akkea.ca>
> ---
>  drivers/power/supply/max17042_battery.c | 17 +++++++--
>  include/linux/power/max17042_battery.h  | 48 ++++++++++++++++++++++++-
>  2 files changed, 61 insertions(+), 4 deletions(-)

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof
Sebastian Reichel Dec. 19, 2019, 12:15 a.m. UTC | #2
Hi,

On Sat, Dec 14, 2019 at 07:27:53AM -0800, Angus Ainslie (Purism) wrote:
> Extend the max17042_battery driver to include the MAX17055.

Thanks, queued to power-suply's for-next branch.

-- Sebastian

> 
> Changes since v1:
> 
> Change blacklist driver checks to whitelists.
> 
> Angus Ainslie (Purism) (2):
>   power: supply: max17042: add MAX17055 support
>   device-tree: bindings: max17042_battery: add all of the compatible
>     strings
> 
>  .../power/supply/max17042_battery.txt         |  6 ++-
>  drivers/power/supply/max17042_battery.c       | 17 +++++--
>  include/linux/power/max17042_battery.h        | 48 ++++++++++++++++++-
>  3 files changed, 66 insertions(+), 5 deletions(-)
> 
> -- 
> 2.17.1
>
Angus Ainslie Dec. 19, 2019, 9:18 p.m. UTC | #3
On 2019-12-18 16:15, Sebastian Reichel wrote:
> Hi,
> 
> On Sat, Dec 14, 2019 at 07:27:53AM -0800, Angus Ainslie (Purism) wrote:
>> Extend the max17042_battery driver to include the MAX17055.
> 
> Thanks, queued to power-suply's for-next branch.
> 
> -- Sebastian
> 

Thanks

Angus

>> 
>> Changes since v1:
>> 
>> Change blacklist driver checks to whitelists.
>> 
>> Angus Ainslie (Purism) (2):
>>   power: supply: max17042: add MAX17055 support
>>   device-tree: bindings: max17042_battery: add all of the compatible
>>     strings
>> 
>>  .../power/supply/max17042_battery.txt         |  6 ++-
>>  drivers/power/supply/max17042_battery.c       | 17 +++++--
>>  include/linux/power/max17042_battery.h        | 48 
>> ++++++++++++++++++-
>>  3 files changed, 66 insertions(+), 5 deletions(-)
>> 
>> --
>> 2.17.1
>>