Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1252464 > unrolled thread

[PATCH 6/7] ARM: dts: qcom: msm8974-honami: Specify charging parameters

Started byBjorn Andersson <bjorn.andersson@sonymobile.com>
First post2015-10-21 07:00 +0200
Last post2015-10-21 07:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 6/7] ARM: dts: qcom: msm8974-honami: Specify charging parameters Bjorn Andersson <bjorn.andersson@sonymobile.com> - 2015-10-21 07:00 +0200

#1252464 — [PATCH 6/7] ARM: dts: qcom: msm8974-honami: Specify charging parameters

FromBjorn Andersson <bjorn.andersson@sonymobile.com>
Date2015-10-21 07:00 +0200
Subject[PATCH 6/7] ARM: dts: qcom: msm8974-honami: Specify charging parameters
Message-ID<qlTFg-TD-1@gated-at.bofh.it>
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
---

Echoing a reasonable limit into [1] is required as there's currently no
way for this value to be propagated from the USB stack to the charging
driver.  Otherwise the block will pull maximum 100mA off USB, which is
not enough to actually charge the running platform.

[1] /sys/class/power_supply/smbb-usbin/charge_control_limit

 arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts
index 113cc18ee2f5..1cf455fff3c2 100644
--- a/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts
+++ b/arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts
@@ -371,6 +371,17 @@
 
 &spmi_bus {
 	pm8941@0 {
+		charger@1000 {
+			qcom,fast-charge-safe-current = <1500000>;
+			qcom,fast-charge-current-limit = <1500000>;
+			qcom,dc-current-limit = <1800000>;
+			qcom,fast-charge-safe-voltage = <4400000>;
+			qcom,fast-charge-high-threshold-voltage = <4350000>;
+			qcom,fast-charge-low-threshold-voltage = <3400000>;
+			qcom,auto-recharge-threshold-voltage = <4200000>;
+			qcom,minimum-input-voltage = <4300000>;
+		};
+
 		gpios@c000 {
 			boost_bypass_n_pin: boost-bypass {
 				pins = "gpio21";
-- 
2.4.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web