mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/4] power: supply: Add support for liquid detection
@ 2026-10-28 21:56 Waqar Hameed
  2026-10-28 21:56 ` [PATCH 1/4] power: supply: Add sysfs entry for liquid detection control Waqar Hameed
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Waqar Hameed @ 2026-10-28 21:56 UTC (permalink / raw)
  To: Sebastian Reichel; +Cc: kernel, linux-pm, linux-kernel

During discussions of the development of a new driver [1], it was
concluded that a new `sysfs` ABI for reporting and controlling liquid
detection is wanted. This patchset introduces this.

Since there are currently not many devices with support for this. ABI
for setting/getting detection threshold values has been left out (as
discussed in [1]). Hopefully when more devices are supported, a good
common way to specify this will be designed.

[1] https://lore.kernel.org/lkml/cover.1772201049.git.waqar.hameed@axis.com/

Waqar Hameed (4):
  power: supply: Add sysfs entry for liquid detection control
  power: supply: Add liquid detection to health property enum
  power: supply: bq25630: Add macro define for IRQ cycle time
  power: supply: bq25630: Add support for liquid detection

 Documentation/ABI/testing/sysfs-class-power |  22 ++-
 drivers/power/supply/bq25630_charger.c      | 163 +++++++++++++++++++-
 drivers/power/supply/power_supply_sysfs.c   |   9 ++
 include/linux/power_supply.h                |   9 ++
 4 files changed, 199 insertions(+), 4 deletions(-)


base-commit: 151a134a4e6ec66f69db8750c66006f5207f7a9d
-- 
2.43.0


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

end of thread, other threads:[~2026-10-28 21:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 21:56 [PATCH 0/4] power: supply: Add support for liquid detection Waqar Hameed
2026-10-28 21:56 ` [PATCH 1/4] power: supply: Add sysfs entry for liquid detection control Waqar Hameed
2026-10-28 21:56 ` [PATCH 2/4] power: supply: Add liquid detection to health property enum Waqar Hameed
2026-10-28 21:56 ` [PATCH 3/4] power: supply: bq25630: Add macro define for IRQ cycle time Waqar Hameed
2026-10-28 21:56 ` [PATCH 4/4] power: supply: bq25630: Add support for liquid detection Waqar Hameed

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®