// SPDX-License-Identifier: GPL-2.0-only /* * Project Aurora - B10B-3 v3 (production values; RAM tests only so far) = B10B-2 DTB + inputs for the patched pm8916_lbc * supervisor (CHARGE -> HOLD -> battery -> CHARGE, B10B3-DESIGN.md section 8): * - VADC VBAT channel for the charger (io-channels "vbat"); * - charge level 4.20 V = simple-battery voltage-max-design; HOLD level 4.05 V; HOLD after CV with VBAT >= 4.15 V for 60 min * (60 min is a first guess, not final); * - charger safety timer 512 min (hardware maximum), logical FAULT on expiry. * Limits unchanged: 4.20 V / 450 mA (cell allows 4.35 V - deliberately not used in B10). */ #include "msm8916-jz08-aurora-b10b2.dts" / { model = "JZ08AU Aurora (RAM boot B10B-3)"; }; &pm8916_charger { io-channels = <&pm8916_vadc VADC_VBAT_SNS>; io-channel-names = "vbat"; qcom,charge-timeout-minutes = <512>; aurora,hold-voltage-microvolt = <4050000>; aurora,full-min-voltage-microvolt = <4150000>; aurora,cv-hold-minutes = <60>; };