# HG changeset patch # User Mychaela Falconia # Date 1514572759 0 # Node ID c9b859e994cf0359176dbf31e4cbdee4c3906163 # Parent 21e5933fcc7c349db29c34fd04917a3674dc836e configs for non-working FCHG version 1 moved to charging-v1 diff -r 21e5933fcc7c -r c9b859e994cf charging-v1/c1xx/permacharge --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/charging-v1/c1xx/permacharge Fri Dec 29 18:39:19 2017 +0000 @@ -0,0 +1,25 @@ +# This charging config is intended for those usage scenarios in which the +# phone has the charging power source permanently connected 24x7x365, +# e.g., if it is used as a pseudo-modem connected to a server. +# This config maintains the battery at a lower charge level in order to +# prolong its life; on-battery runtime is not relevant when the phone is +# permanently connected to a server or somesuch. + +start-threshold 3750 # mV +restart-threshold 3750 # mV +charge-to-voltage 3920 # mV +overvoltage 4000 # 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 diff -r 21e5933fcc7c -r c9b859e994cf charging-v1/c1xx/standard --- /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 diff -r 21e5933fcc7c -r c9b859e994cf charging-v1/pirelli/manual --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/charging-v1/pirelli/manual Fri Dec 29 18:39:19 2017 +0000 @@ -0,0 +1,16 @@ +# This charging config is intended for those usage scenarios in which your +# Pirelli phone runs FreeCalypso fw only occasionally, with manual loading +# via fc-xram for every session, and when you desire to have the ability +# to charge when running FC fw, but not have charging happen automatically +# on every fc-xram run. With this config charging will only happen when +# explicitly requested via AT@CHG=1. + +start-threshold never +restart-threshold 3900 # mV +charge-to-voltage 4200 # mV +overvoltage 4280 # mV + +ci-current 610 # DAC units +end-current 122 # ADC units + +i2v-offset 0x18 # register setting diff -r 21e5933fcc7c -r c9b859e994cf charging-v1/pirelli/permausb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/charging-v1/pirelli/permausb Fri Dec 29 18:39:19 2017 +0000 @@ -0,0 +1,17 @@ +# This charging config is intended for those usage scenarios in which the +# phone is permanently connected to USB and cannot function at all without +# this USB connection (pseudo-modem operation), and runs FreeCalypso fw +# permanently as well, i.e., flashed rather than fc-xram. This config +# maintains the battery at a lower charge level in order to prolong its +# life; on-battery runtime is not relevant when the phone cannot do anything +# useful without being connected to a host computer via USB. + +start-threshold 3750 # mV +restart-threshold 3750 # mV +charge-to-voltage 3920 # mV +overvoltage 4000 # mV + +ci-current 610 # DAC units +end-current 122 # ADC units + +i2v-offset 0x18 # register setting diff -r 21e5933fcc7c -r c9b859e994cf charging-v1/pirelli/userphone --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/charging-v1/pirelli/userphone Fri Dec 29 18:39:19 2017 +0000 @@ -0,0 +1,15 @@ +# This charging config will be appropriate if we ever produce a FreeCalypso +# fw version for the Pirelli DP-L10 that functions as an end user phone, +# or if we produce our own Pirelli-like phone hardware with the same USB +# arrangement for both charging and computer connection. + +start-delay 600 # ms +start-threshold 3900 # mV +restart-threshold 3900 # mV +charge-to-voltage 4200 # mV +overvoltage 4280 # mV + +ci-current 610 # DAC units +end-current 122 # ADC units + +i2v-offset 0x18 # register setting diff -r 21e5933fcc7c -r c9b859e994cf charging/c1xx/permacharge --- a/charging/c1xx/permacharge Sat Dec 16 17:55:16 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -# This charging config is intended for those usage scenarios in which the -# phone has the charging power source permanently connected 24x7x365, -# e.g., if it is used as a pseudo-modem connected to a server. -# This config maintains the battery at a lower charge level in order to -# prolong its life; on-battery runtime is not relevant when the phone is -# permanently connected to a server or somesuch. - -start-threshold 3750 # mV -restart-threshold 3750 # mV -charge-to-voltage 3920 # mV -overvoltage 4000 # 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 diff -r 21e5933fcc7c -r c9b859e994cf charging/c1xx/standard --- a/charging/c1xx/standard Sat Dec 16 17:55:16 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,29 +0,0 @@ -# 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 diff -r 21e5933fcc7c -r c9b859e994cf charging/pirelli/manual --- a/charging/pirelli/manual Sat Dec 16 17:55:16 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,16 +0,0 @@ -# This charging config is intended for those usage scenarios in which your -# Pirelli phone runs FreeCalypso fw only occasionally, with manual loading -# via fc-xram for every session, and when you desire to have the ability -# to charge when running FC fw, but not have charging happen automatically -# on every fc-xram run. With this config charging will only happen when -# explicitly requested via AT@CHG=1. - -start-threshold never -restart-threshold 3900 # mV -charge-to-voltage 4200 # mV -overvoltage 4280 # mV - -ci-current 610 # DAC units -end-current 122 # ADC units - -i2v-offset 0x18 # register setting diff -r 21e5933fcc7c -r c9b859e994cf charging/pirelli/permausb --- a/charging/pirelli/permausb Sat Dec 16 17:55:16 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -# This charging config is intended for those usage scenarios in which the -# phone is permanently connected to USB and cannot function at all without -# this USB connection (pseudo-modem operation), and runs FreeCalypso fw -# permanently as well, i.e., flashed rather than fc-xram. This config -# maintains the battery at a lower charge level in order to prolong its -# life; on-battery runtime is not relevant when the phone cannot do anything -# useful without being connected to a host computer via USB. - -start-threshold 3750 # mV -restart-threshold 3750 # mV -charge-to-voltage 3920 # mV -overvoltage 4000 # mV - -ci-current 610 # DAC units -end-current 122 # ADC units - -i2v-offset 0x18 # register setting diff -r 21e5933fcc7c -r c9b859e994cf charging/pirelli/userphone --- a/charging/pirelli/userphone Sat Dec 16 17:55:16 2017 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -# This charging config will be appropriate if we ever produce a FreeCalypso -# fw version for the Pirelli DP-L10 that functions as an end user phone, -# or if we produce our own Pirelli-like phone hardware with the same USB -# arrangement for both charging and computer connection. - -start-delay 600 # ms -start-threshold 3900 # mV -restart-threshold 3900 # mV -charge-to-voltage 4200 # mV -overvoltage 4280 # mV - -ci-current 610 # DAC units -end-current 122 # ADC units - -i2v-offset 0x18 # register setting