1 Qualcomm Switch-Mode Battery Charger and Boost
6 Value type: <stringlist>
7 Description: Must be one of:
8 - "qcom,pm8941-charger"
12 Value type: <prop-encoded-array>
13 Description: Base address of registers for SMBB block
17 Value type: <prop-encoded-array>
18 Description: The format of the specifier is defined by the binding document
19 describing the node's interrupt parent. Must contain one
20 specifier for each of the following interrupts, in order:
24 - battery temperature ok
26 - charger disconnected
32 Value type: <stringlist>
33 Description: Must contain the following list, strictly ordered:
43 - qcom,fast-charge-current-limit:
44 Usage: optional (default: 1A, or pre-configured value)
45 Value type: <u32>; uA; range [100mA : 3A]
46 Description: Maximum charge current; May be clamped to safety limits.
48 - qcom,fast-charge-low-threshold-voltage:
49 Usage: optional (default: 3.2V, or pre-configured value)
50 Value type: <u32>; uV; range [2.1V : 3.6V]
51 Description: Battery voltage limit above which fast charging may operate;
52 Below this value linear or switch-mode auto-trickle-charging
55 - qcom,fast-charge-high-threshold-voltage:
56 Usage: optional (default: 4.2V, or pre-configured value)
57 Value type: <u32>; uV; range [3.24V : 5V]
58 Description: Battery voltage limit below which fast charging may operate;
59 The fast charger will attempt to charge the battery to this
60 voltage. May be clamped to safety limits.
62 - qcom,fast-charge-safe-voltage:
63 Usage: optional (default: 4.2V, or pre-configured value)
64 Value type: <u32>; uV; range [3.24V : 5V]
65 Description: Maximum safe battery voltage; May be pre-set by bootloader, in
66 which case, setting this will harmlessly fail. The property
67 'fast-charge-high-watermark' will be clamped by this value.
69 - qcom,fast-charge-safe-current:
70 Usage: optional (default: 1A, or pre-configured value)
71 Value type: <u32>; uA; range [100mA : 3A]
72 Description: Maximum safe battery charge current; May pre-set by bootloader,
73 in which case, setting this will harmlessly fail. The property
74 'qcom,fast-charge-current-limit' will be clamped by this value.
76 - qcom,auto-recharge-threshold-voltage:
77 Usage: optional (default: 4.1V, or pre-configured value)
78 Value type: <u32>; uV; range [3.24V : 5V]
79 Description: Battery voltage limit below which auto-recharge functionality
80 will restart charging after end-of-charge; The high cutoff
81 limit for auto-recharge is 5% above this value.
83 - qcom,minimum-input-voltage:
84 Usage: optional (default: 4.3V, or pre-configured value)
85 Value type: <u32>; uV; range [4.2V : 9.6V]
86 Description: Input voltage level above which charging may operate
88 - qcom,dc-current-limit:
89 Usage: optional (default: 100mA, or pre-configured value)
90 Value type: <u32>; uA; range [100mA : 2.5A]
91 Description: Default DC charge current limit
94 Usage: optional (default: false)
95 Value type: boolean: <u32> or <empty>
96 Description: Disable DC charger
98 - qcom,jeita-extended-temp-range:
99 Usage: optional (default: false)
100 Value type: boolean: <u32> or <empty>
101 Description: Enable JEITA extended temperature range; This does *not*
102 adjust the maximum charge voltage or current in the extended
103 temperature range. It only allows charging when the battery
104 is in the extended temperature range. Voltage/current
105 regulation must be done externally to fully comply with
106 the JEITA safety guidelines if this flag is set.
110 compatible = "qcom,pm8941-charger";
111 reg = <0x1000 0x700>;
112 interrupts = <0x0 0x10 7 IRQ_TYPE_EDGE_BOTH>,
113 <0x0 0x10 5 IRQ_TYPE_EDGE_BOTH>,
114 <0x0 0x10 4 IRQ_TYPE_EDGE_BOTH>,
115 <0x0 0x12 1 IRQ_TYPE_EDGE_BOTH>,
116 <0x0 0x12 0 IRQ_TYPE_EDGE_BOTH>,
117 <0x0 0x13 2 IRQ_TYPE_EDGE_BOTH>,
118 <0x0 0x13 1 IRQ_TYPE_EDGE_BOTH>,
119 <0x0 0x14 1 IRQ_TYPE_EDGE_BOTH>;
120 interrupt-names = "chg-done",
129 qcom,fast-charge-current-limit = <1000000>;
130 qcom,dc-charge-current-limit = <1000000>;