onnn,lc709203f (on i2c bus)

Vendor: ON Semiconductor Corp.

Note

An implementation of a driver matching this compatible is available in drivers/fuel_gauge/lc709203f/lc709203f.c.

Description

ON Semiconductor LC709203F fuel gauge. For more info visit
https://www.onsemi.com/products/power-management/battery-management/battery-fuel-gauges/LC709204F

Properties

Properties not inherited from the base binding file.

Name

Type

Details

initial-rsoc

boolean

The LSI can be forced to initialize RSOC by sending the he Initial RSOC Command.
The LSI initializes RSOC by the measured voltage at that time when the Initial
RSOC command is written

apa

string

Adjustment Pack Application: Value for a battery type to improve the RSOC precision.
Typical values are provided and should be selected approximately.

This property is required.

Legal values: '100mAh', '200mAh', '500mAh', '1000mAh', '2000mAh', '3000mAh'

battery-profile

int

The LSI contains a data file comprised of two battery profiles.
This register is used to select the battery profile to be used.
Register Number of the Parameter (0x1A) contains identity of the data file.
The Data file is loaded during final test depending on the part number ordered.
To decide which battery-profile should be used please refer to the LC709203F data sheet.

Legal values: 0, 1

thermistor

boolean

Specifies if the device is used with a thermistor or not.

thermistor-b-value

int

Sets B-constant of the thermistor to be measured. Refer to
the specification sheet of the thermistor for the set value to used.
The default is set to 0x0D34 which is the initial value of the IC.
Note: This value will only be set if a thermistor is used.

Default value: 3380

apt

int

This is used to compensate for the delay of the thermistor
measurement caused by a capacitor across the thermistor.
The default value has been found to meet most of circuits
where a capacitor is not put. For details please refer to the
LC709203F data sheet.
Note: This value will only be set if a thermistor is used.

Default value: 30

thermistor-mode

int

This selects the Thermistor mode.
Thermistor mode (0x1): The LSI measures the attached thermistor and
loads the temperature into the Cell Temperature register.
I2C mode (0x0): the temperature is provided by the host processor.
The default is set to 0x1, because if a thermistor is used, the
thermistor mode should be selected.
Note: This value will only be necessary if a thermistor is used,
otherwise the initial value of the IC is 0x0 and setting is not necessary.

Default value: 1

Legal values: 0, 1

supply-gpios

phandle-array

GPIO specifier that controls power to the device.

This property should be provided when the device has a dedicated
switch that controls power to the device.  The supply state is
entirely the responsibility of the device driver.

Contrast with vin-supply.

vin-supply

phandle

Reference to the regulator that controls power to the device.
The referenced devicetree node must have a regulator compatible.

This property should be provided when device power is supplied
by a shared regulator.  The supply state is dependent on the
request status of all devices fed by the regulator.

Contrast with supply-gpios.  If both properties are provided
then the regulator must be requested before the supply GPIOS is
set to an active state, and the supply GPIOS must be set to an
inactive state before releasing the regulator.