mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Add omit-battery-class property for bq256xxx
@ 2024-09-07 11:07 Barnabás Czémán
  2024-09-07 11:07 ` [PATCH 1/2] dt-bindings: power: supply: bq256xx: Add omit-battery-class property Barnabás Czémán
  2024-09-07 11:07 ` [PATCH 2/2] power: supply: bq256xx: Add ability to omit battery class Barnabás Czémán
  0 siblings, 2 replies; 6+ messages in thread
From: Barnabás Czémán @ 2024-09-07 11:07 UTC (permalink / raw)
  To: Sebastian Reichel, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Andrew Davis
  Cc: linux-pm, devicetree, linux-kernel, Barnabás Czémán

Add new omit-battery-class property for bq256xxx for avoid creating
a battery device when a fuel gauge make one.

In my case i have a Redmi Note 5A with bq25601 charger and bq27426 fg
and two battery device is created one for the charger and one for the fg
It seems battery device created by fg would be enough.

Signed-off-by: Barnabás Czémán <barnabas.czeman@mainlining.org>
---
Barnabás Czémán (2):
      dt-bindings: power: supply: bq256xx: Add omit-battery-class property
      power: supply: bq256xx: Add ability to omit battery class

 .../devicetree/bindings/power/supply/bq256xx.yaml          |  6 ++++++
 drivers/power/supply/bq256xx_charger.c                     | 14 ++++++++------
 2 files changed, 14 insertions(+), 6 deletions(-)
---
base-commit: 9aaeb87ce1e966169a57f53a02ba05b30880ffb8
change-id: 20240907-bq256xx-omit-battery-class-e2cff68b3cee

Best regards,
-- 
Barnabás Czémán <barnabas.czeman@mainlining.org>


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

end of thread, other threads:[~2024-09-16  8:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-07 11:07 [PATCH 0/2] Add omit-battery-class property for bq256xxx Barnabás Czémán
2024-09-07 11:07 ` [PATCH 1/2] dt-bindings: power: supply: bq256xx: Add omit-battery-class property Barnabás Czémán
2024-09-07 11:11   ` Krzysztof Kozlowski
2024-09-16  8:48     ` Sebastian Reichel
2024-09-08  8:47   ` Krzysztof Kozlowski
2024-09-07 11:07 ` [PATCH 2/2] power: supply: bq256xx: Add ability to omit battery class Barnabás Czémán

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®