sensor: bq274xx: Add BQ27421 driver
Add support for TI BQ27421 fuel gauge sensor Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com> Signed-off-by: NavinSankar Velliangiri <navin@linumiz.com>
This commit is contained in:
parent
4185da0a7e
commit
e65b14c2b6
10 changed files with 828 additions and 0 deletions
|
@ -137,6 +137,31 @@ enum sensor_channel {
|
|||
/** Revolutions per minute, in RPM. */
|
||||
SENSOR_CHAN_RPM,
|
||||
|
||||
/** Voltage, in volts **/
|
||||
SENSOR_CHAN_GAUGE_VOLTAGE,
|
||||
/** Average current, in amps **/
|
||||
SENSOR_CHAN_GAUGE_AVG_CURRENT,
|
||||
/** Standy current, in amps **/
|
||||
SENSOR_CHAN_GAUGE_STDBY_CURRENT,
|
||||
/** Max load current, in amps **/
|
||||
SENSOR_CHAN_GAUGE_MAX_LOAD_CURRENT,
|
||||
/** Gauge temperature **/
|
||||
SENSOR_CHAN_GAUGE_TEMP,
|
||||
/** State of charge measurement in % **/
|
||||
SENSOR_CHAN_GAUGE_STATE_OF_CHARGE,
|
||||
/** Full Charge Capacity in mAh **/
|
||||
SENSOR_CHAN_GAUGE_FULL_CHARGE_CAPACITY,
|
||||
/** Remaining Charge Capacity in mAh **/
|
||||
SENSOR_CHAN_GAUGE_REMAINING_CHARGE_CAPACITY,
|
||||
/** Nominal Available Capacity in mAh **/
|
||||
SENSOR_CHAN_GAUGE_NOM_AVAIL_CAPACITY,
|
||||
/** Full Available Capacity in mAh **/
|
||||
SENSOR_CHAN_GAUGE_FULL_AVAIL_CAPACITY,
|
||||
/** Average power in mW **/
|
||||
SENSOR_CHAN_GAUGE_AVG_POWER,
|
||||
/** State of health measurement in % **/
|
||||
SENSOR_CHAN_GAUGE_STATE_OF_HEALTH,
|
||||
|
||||
/** All channels. */
|
||||
SENSOR_CHAN_ALL,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue