silergy,sy6970-charger

Description

Silergy SY6970 battery charger function

Battery charger function of the Silergy SY6970, described as a child node
of the "silergy,sy6970" node. The fast charge current range is 0 A to
5.056 A.

Examples

sy6970@6a {
  compatible = "silergy,sy6970";
  reg = <0x6a>;

  charger {
    compatible = "silergy,sy6970-charger";
    constant-charge-current-max-microamp = <512000>;
    constant-charge-voltage-max-microvolt = <4208000>;
  };
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

constant-charge-current-max-microamp

int

Fast charge current target, programmed during driver initialization.
The value is rounded down to a 64 mA step.

This property is required.

constant-charge-voltage-max-microvolt

int

Charge voltage regulation target, programmed during driver
initialization. Range: 3.840 V to 4.608 V. The value is rounded down
to a 16 mV step.

This property is required.

precharge-current-microamp

int

Pre-charge current, programmed during driver initialization when
present. Range: 64 mA to 1024 mA. The value is rounded down to a
64 mA step.

charge-term-current-microamp

int

Charge termination current, programmed during driver initialization
when present. Range: 64 mA to 1024 mA. The value is rounded down to a
64 mA step.

device-chemistry

string

This describes the chemical technology of the battery. The "lithium-ion" value is a blanket type for all lithium-ion batteries. If the specific chemistry is unknown, this value can be used instead of the precise "lithium-ion-X" options.

Legal values: nickel-cadmium, nickel-metal-hydride, lithium-ion, lithium-ion-polymer, lithium-ion-iron-phosphate, lithium-ion-manganese-oxide

ocv-capacity-table-0

array

An array providing the open circuit voltage (OCV) , which is used to look
up battery capacity according to current OCV value. The OCV unit is
microvolts.

Unlike the linux equivalent this array is required to be 11 elements
long, representing the voltages for 0-100% charge in 10% steps.

charge-full-design-microamp-hours

int

battery design capacity

re-charge-voltage-microvolt

int

limit to automatically start charging again

factory-internal-resistance-micro-ohms

int

battery factory internal resistance