[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240907-bq256xx-omit-battery-class-v1-0-45f6d8dbd1e5@mainlining.org>
Date: Sat, 07 Sep 2024 13:07:44 +0200
From: "Barnabás Czémán" <trabarni@...il.com>
To: Sebastian Reichel <sre@...nel.org>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Andrew Davis <afd@...com>
Cc: linux-pm@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Barnabás Czémán <barnabas.czeman@...nlining.org>
Subject: [PATCH 0/2] Add omit-battery-class property for bq256xxx
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@...nlining.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@...nlining.org>
Powered by blists - more mailing lists