Add the voltage cutoff value parameter to the qpnp-linear-charger
node in pm8916.dtsi. This will be used in the driver to ensure
deep discharging is avoided.
Change-Id: I745d3f6f2247758caf6c828c5d33984b569f772d
Add optional DT property to specify the QC4 max-adapter ICL while
operating the adapter in CV mode.
Change-Id: Id738dfbce2bc16ff29c1292942193d3f4fd78ba8
The QPNP SMBLITE charger driver supports the charger peripherals present
in the PMIC PM2250. PM2250 incorporates a single input switch/linear mode
battery charger for single-cell Lithium batteries.
Register access is provided by the parent device via regmap. Interrupts
are controlled by the parent device, and handlers are registered by the
QPNP SMBLITE charger driver.
The power supply framework is used to communicate battery and usb
properties to userspace and other driver consumers such as fuel gauge,
USB.
Change-Id: Ie1b56902f474b326d6709cb841e06c36811ec76d
Add the QG_LITE node for PM2250. It uses SDAM7 for
non-volatile storage.
While at it, add the battery-profile data.
Change-Id: I1cdd7199882547019129ed5711b4c014ac260b55
Initial version of the binding document for SMB1398 charger,
which can work in DIV2 charge pump mode as downstream chargers
or combo mode as a pre-regulator.
Change-Id: If40a1166f05ae77d56b663ffc97546b7db7680bd
Add "qcom,fake-chg-status-on-debug-batt" property to show
charging status as unknown when debug battery is present.
Change-Id: I7e9052285473f39477f5bf21e0cae10d1fdd8970
Termination-current based SOC scaling makes sure that the
SOC reaches 100% at the configured QG termination current.
Change-Id: I62815359e6e81cfe299787e7ee62d25e87cff77b
Add property "qcom,parallel-input-mode" to specify the input connection
topology and rename "qcom,hvdcp3-with-cp" to
"qcom,hvdcp3-standalone-config".
Change-Id: I8bebb6eaea4253ce3397002fe5e97500451585a8
The max FCC restriction was added due to a improper board
design on SM6150/7150. This is fixed on atoll, hence add
a DT property to selectively disable the FCC restriction.
Change-Id: I62815359e6e81cfe299787e7ee62d25e87cff77a
Add DT property to force the calibrate level. Once specified this
will ignore all the values and calibrate level is force set to this
level.
Change-Id: I88644b5e62966df4cb189a807d4d37c4b09796b6
To qualify the capacity learning algorithm start, add support to
configure filtered battery current threshold.
Change-Id: If8be108c1879572a4fafe62bb29afdb21fb1d9fe
Add DT properties to enable thermal mitigation for triple
charging in CC mode. In thermal mitigation, thermal status
of main charger, SMB, skin and connector are polled
periodically and power supply change event is generated to
notify userspace.
Change-Id: I431605ea961796184c237ead127b628fe18f3e32
Allow configuring the FIFO length, accumulator length and
accumulator interval when system goes to sleep during
discharge.
Change-Id: I8018f8033d05273320fd92cc7d21fcdce0885df6
Set default values for the low, medium, and high gain Ki coefficients
for both charging and discharging states.
Change-Id: I03a95089cacd78648af28c0e6c51f6571b7881b5
Add device tree properties to configure low-to-medium and medium-to-high
current thresholds for charging and discharging.
Change-Id: Iad8757b3afebb99dab1530cd69e5e76200ee17f6
Dual SMB1390 PMICs, master and slave, are supported as companion chargers
to the primary charge PMIC. The CP driver is split into master and slave
drivers, with slave mirroring master's operations. Add property to support
dual charge pumps.
Change-Id: I5b7f5962afd84243c0269aa56586bb75030e27ed
HL6111R is a wireless charging power receiver IC that has a maximum
power output of 15 W, a maximum current output of 2.2 A, and a
programmable output voltage range of 4 V to 20 V with different step
sizes. It supports both the A4WP and WPC wireless charging standards.
Change-Id: Idb276226c4855c83427913a5368deb70e3f2b04f
Charger driver disables SMB1390 once charging enters Taper charging
phase, this is to prevent SMB1390 from pumping high current into battery
at higher voltages. There are condition like adapter reset where SMB1390
might get enabled at higher battery voltage and pump current into the
battery before software gets chance to disable it and this could lead to
battery OV.
Fix this by by keeping SMB1390 disabled above a configured battery SOC.
Change-Id: I37a238a94ed94da500390de919547012a7fd1cf4