diff options
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | 2016-05-10 18:48:39 -0700 |
---|---|---|
committer | Kyle Yan <kyan@codeaurora.org> | 2016-06-15 16:10:14 -0700 |
commit | c62a2d77f2ffc12b177f59c09dd7a1df4a88bcb4 (patch) | |
tree | f4edcbe6288f4bfbe5f1e63f08ee21c0f197bab5 /Documentation/devicetree | |
parent | addadeb7da789e8b0434f0779ac9245d8f50e6aa (diff) |
qcom-charger: add qnovo driver
Qnovo hardware module controls battery charging pulses. Pulse
characteristics are programmed via sysfs files, this driver
translates those values to register values and writes to appropriate
registers.
CRs-Fixed: 1018090
Change-Id: I2573f719f4b2c2fa9a169659a65433fb834ea74e
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/power/qcom-charger/qpnp-qnovo.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/power/qcom-charger/qpnp-qnovo.txt b/Documentation/devicetree/bindings/power/qcom-charger/qpnp-qnovo.txt new file mode 100644 index 000000000000..438bd68b0e05 --- /dev/null +++ b/Documentation/devicetree/bindings/power/qcom-charger/qpnp-qnovo.txt @@ -0,0 +1,32 @@ +QPNP Qnovo pulse engine + +QPNP Qnovo is a pulse charging engine which works in tandem with the QPNP SMB2 +Charger device. It configures the QPNP SMB2 charger to charge/discharge as per +pulse characteristics. + +The QPNP Qnovo pulse engine has a single peripheral assigned to it. + +Required properties: +- compatible: Must be "qcom,qpnp-qnovo" +- qcom,pmic-revid: Should specify the phandle of PMIC + revid module. This is used to identify + the PMIC subtype. + +- reg: The address for this peripheral +- interrupts: Specifies the interrupt associated with the peripheral. +- interrupt-names: Specifies the interrupt name for the peripheral. Qnovo + peripheral has only one interrupt "ptrain-done". + +Optional Properties: +- qcom,external-rsense: To indicate whether the platform uses external or + internal rsense for measuring battery current. + +Example: + + qcom,qpnp-qnovo@1500 { + compatible = "qcom,qpnp-qnovo"; + reg = <0x1500 0x100>; + interrupts = <0x2 0x15 0x0 IRQ_TYPE_NONE>; + interrupt-names = "ptrain-done"; + qcom,pmic-revid = <&pmicobalt_revid>; + }; |