summaryrefslogtreecommitdiff
path: root/Documentation/devicetree
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-09-02 13:52:37 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-09-02 13:52:37 -0700
commitb7ab2d6533aa4bf7866a4c19d425e64265897349 (patch)
treec094684a3f9c96745aba1d55dc53fa1955268a38 /Documentation/devicetree
parent01bea452a41b89d26902cfc3ebeb6a4eaf6e9239 (diff)
parent87ec324a671b9118db67ac60342661ac68620ba2 (diff)
Merge "qcom-charger: introduce step charging"
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r--Documentation/devicetree/bindings/power/qcom-charger/qpnp-smb2.txt18
1 files changed, 18 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/qcom-charger/qpnp-smb2.txt b/Documentation/devicetree/bindings/power/qcom-charger/qpnp-smb2.txt
index 5a415d04fbcf..38f2cfe1d649 100644
--- a/Documentation/devicetree/bindings/power/qcom-charger/qpnp-smb2.txt
+++ b/Documentation/devicetree/bindings/power/qcom-charger/qpnp-smb2.txt
@@ -65,6 +65,21 @@ Charger specific properties:
maximum charge current in mA for each thermal
level.
+- qcom,step-soc-thresholds
+ Usage: optional
+ Value type: Array of <u32>
+ Definition: Array of SOC threshold values, size of 4. This should be a
+ flat array that denotes the percentage ranging from 0 to 100.
+ If the array is not present, step charging is disabled.
+
+- qcom,step-current-deltas
+ Usage: optional
+ Value type: Array of <s32>
+ Definition: Array of delta values for charging current, size of 5, with
+ FCC as base. This should be a flat array that denotes the
+ offset of charging current in uA, from -3100000 to 3200000.
+ If the array is not present, step charging is disabled.
+
=============================================
Second Level Nodes - SMB2 Charger Peripherals
=============================================
@@ -98,6 +113,9 @@ pmicobalt_charger: qcom,qpnp-smb2 {
qcom,suspend-input;
dpdm-supply = <&qusb_phy0>;
+ qcom,step-soc-thresholds = <60 70 80 90>;
+ qcom,step-current-deltas = <500000 250000 150000 0 (-150000)>;
+
qcom,chgr@1000 {
reg = <0x1000 0x100>;
interrupts = <0x2 0x10 0x0 IRQ_TYPE_NONE>,