diff charging-v1/c1xx/standard @ 4:c9b859e994cf

configs for non-working FCHG version 1 moved to charging-v1
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 29 Dec 2017 18:39:19 +0000
parents charging/c1xx/standard@21e5933fcc7c
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/charging-v1/c1xx/standard	Fri Dec 29 18:39:19 2017 +0000
@@ -0,0 +1,29 @@
+# This is the "standard" charging config for Mot C1xx phones running
+# FreeCalypso fw.  The start threshold is set to "always" on the reasoning
+# that if the user connects the charging power source (which is not USB
+# and thus not required for computer connection), it means that she
+# actually intends to charge the battery, the charge-to voltage is the
+# full charge (charge the battery fully before going out), and the
+# restart threshold is a reasonable setting so if the phone is left
+# plugged into the charger for a long time, the user won't be surprised
+# with a battery that has run down significantly after the completion
+# of the initial charging cycle.
+
+start-threshold		always
+restart-threshold	3900	# mV
+charge-to-voltage	4200	# mV
+overvoltage		4280	# mV
+
+# For the current settings, keep in mind that C1xx phones use a current
+# measurement resistor of 0.15R instead of TI's "canonical" value of 0.20R,
+# hence the conversion factor between mA and ADC/DAC numbers changes
+# accordingly.  The CI current setting is based on what Motorola's fw
+# has been observed to set, but the end current setting is our own.
+
+ci-current		280	# DAC units, about 320 mA
+end-current		88	# ADC units, about 100 mA
+
+# Motorola's fw does not seem to use the I2V offset mechanism,
+# but we use the same setting as Pirelli.
+
+i2v-offset		0x18	# register setting