lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210816165245.40416-1-bruno.meneguele@smartgreen.net>
Date:   Mon, 16 Aug 2021 13:52:43 -0300
From:   Bruno Meneguele <bruno.meneguele@...rtgreen.net>
To:     sre@...nel.org, robh+dt@...nel.org
Cc:     linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
        devicetree@...r.kernel.org,
        Bruno Meneguele <bruno.meneguele@...rtgreen.net>
Subject: [PATCH v4 0/2] add Watchdog Timer delay support for BQ24735

The IC BQ24735 has the ability to suspend the battery charging in case the
system freezes for some reason: the IC observes consecutive writes for
either CargeCurrent of ChargVoltage registers in a maximum period of time.

This period of time can be configured by the user through the ChargeOption
register in the bits 13 and 14, but it's only possible to change if the user
sends the value directly accessing the I2C bus through userspace, because
the kernel driver doesn't read or write to the Watchdog bits.

This patchset enables the user to configure the value through the
device-tree option "ti,wdt-timeout".

Changelog:
  v3 - add specific patch for the dt bidings change.
     - patch 1/2 was already queued to the tree, so it's not present in this
	   patchset anymore.
  v2 - unfortunately I used a default gitconfig that was pointing to my
  default user.email and email smtp. This new version corrects it.

Bruno Meneguele (2):
  power: supply: bq24735: add watchdog timer delay support
  dt-bindings: power: supply: bq24735: document the watchdog timer delay
    feature

 .../bindings/power/supply/bq24735.yaml        | 15 ++++++
 drivers/power/supply/bq24735-charger.c        | 54 +++++++++++++++++++
 include/linux/power/bq24735-charger.h         |  1 +
 3 files changed, 70 insertions(+)

-- 
2.31.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ