nordic,npm1304-charger

Vendor: Nordic Semiconductor

Note

An implementation of a driver matching this compatible is available in drivers/sensor/nordic/npm13xx_charger/npm13xx_charger.c.

Description

nPM1304 PMIC Charger

Properties

Properties not inherited from the base binding file.

Name

Type

Details

term-microvolt

int

Charge termination voltage in uV.
Available range is 3.6 V to 3.65 V and 4.0 V to 4.65 V in 50 mV steps.

This property is required.

term-warm-microvolt

int

Charge termination voltage when warm in uV.
Available range is 3.6 V to 3.65 V and 4.0 V to 4.65 V in 50 mV steps.
If omitted, the term-microvolt value will be used.

current-microamp

int

Charge current in uA.
Available range is 4 mA to 100 mA in 0.5 mA steps.

This property is required.

dischg-limit-microamp

int

Discharge current limit in uA. Fixed to 125 mA on nPM1304.

Default value: 125000

Constant value: 125000

term-current-percent

int

Termination current, as a percentage of current-microamp.
Charge completes when the charge current falls below this value.
If omitted the device default of 10% is used.

Default value: 10

Legal values: 10, 5

vbus-limit-microamp

int

Vbus current limit in uA.
Available range is 100 mA to 1500 mA in 100 mA steps.

This property is required.

thermistor-ohms

int

Thermistor nominal resistance type in ohms.

This property is required.

Legal values: 0, 10000, 47000, 100000

thermistor-beta

int

Beta value of selected thermistor.

This property is required.

thermistor-cold-millidegrees

int

Thermistor cold threshold in milli-degrees

thermistor-cool-millidegrees

int

Thermistor cool threshold in milli-degrees

thermistor-warm-millidegrees

int

Thermistor warm threshold in milli-degrees

thermistor-hot-millidegrees

int

Thermistor hot threshold in milli-degrees

charging-enable

boolean

Enable charging.

trickle-microvolt

int

Trickle voltage threshold in uV.
Trickle charging is enabled below this value.
If omitted the device default of 2.9V is used.

Default value: 2900000

Legal values: 2900000, 2500000

vbatlow-charge-enable

boolean

Allow charging when below the vbatlow threshold.

disable-recharge

boolean

Disable automatic recharge.

dietemp-stop-millidegrees

int

Die temperature halt threshold in milli-degrees.
When die temperature exceeds this threshold, charging will be inhibited.

dietemp-resume-millidegrees

int

Die temperature resume threshold in milli-degrees.
When die temperature falls below this threshold, charging will be permitted.

friendly-name

string

Human readable string describing the sensor. It can be used to
distinguish multiple instances of the same model (e.g., lid accelerometer
vs. base accelerometer in a laptop) to a host operating system.

This property is defined in the Generic Sensor Property Usages of the HID
Usage Tables specification
(https://usb.org/sites/default/files/hut1_3_0.pdf, section 22.5).