BigW Consortium Gitlab

Commit bd8986ad by Ashish Syal

Added BQ25601 related parameters

parent 04932ac5
......@@ -197,31 +197,27 @@ struct bq25601_dev_info {
*/
/* REG02[7:2] (ICHG) in uAh */
static const int bq25601_ccc_ichg_values[] = {
512000, 576000, 640000, 704000, 768000, 832000, 896000, 960000,
1024000, 1088000, 1152000, 1216000, 1280000, 1344000, 1408000, 1472000,
1536000, 1600000, 1664000, 1728000, 1792000, 1856000, 1920000, 1984000,
2048000, 2112000, 2176000, 2240000, 2304000, 2368000, 2432000, 2496000,
2560000, 2624000, 2688000, 2752000, 2816000, 2880000, 2944000, 3008000,
3072000, 3136000, 3200000, 3264000, 3328000, 3392000, 3456000, 3520000,
3584000, 3648000, 3712000, 3776000, 3840000, 3904000, 3968000, 4032000,
4096000, 4160000, 4224000, 4288000, 4352000, 4416000, 4480000, 4544000
0, 60000, 120000, 180000, 240000, 300000, 360000, 420000,
480000, 540000, 600000, 660000, 720000, 780000, 840000, 900000,
960000, 1020000, 1080000, 1140000, 1200000, 1260000, 1320000, 1380000,
1440000, 1500000, 1560000, 1620000, 1680000, 1740000, 1800000, 1860000,
1920000, 1980000, 2040000, 2100000, 2160000, 2200000, 2260000, 2280000,
2340000, 2400000, 2460000, 2520000, 2580000, 2640000, 2700000, 2760000,
2820000, 2880000, 2940000, 3000000
};
/* REG04[7:2] (VREG) in uV */
static const int bq25601_cvc_vreg_values[] = {
3504000, 3520000, 3536000, 3552000, 3568000, 3584000, 3600000, 3616000,
3632000, 3648000, 3664000, 3680000, 3696000, 3712000, 3728000, 3744000,
3760000, 3776000, 3792000, 3808000, 3824000, 3840000, 3856000, 3872000,
3888000, 3904000, 3920000, 3936000, 3952000, 3968000, 3984000, 4000000,
4016000, 4032000, 4048000, 4064000, 4080000, 4096000, 4112000, 4128000,
4144000, 4160000, 4176000, 4192000, 4208000, 4224000, 4240000, 4256000,
4272000, 4288000, 4304000, 4320000, 4336000, 4352000, 4368000, 4384000,
4400000
3856000, 3888000, 3920000, 3952000, 3984000, 4016000, 4048000, 4080000,
4112000, 4144000, 4176000, 4208000, 4240000, 4272000, 4304000, 4336000,
4368000, 4400000, 4432000, 4464000, 4496000, 4528000, 4560000, 4592000,
4624000
};
/* REG06[1:0] (TREG) in tenths of degrees Celcius */
static const int bq25601_cttc_treg_values[] = {
600, 800, 1000, 1200
900, 1100
};
/*
......@@ -1543,7 +1539,7 @@ static SIMPLE_DEV_PM_OPS(bq25601_pm_ops, bq25601_pm_suspend, bq25601_pm_resume);
* support them.
*/
static const struct i2c_device_id bq25601_i2c_ids[] = {
{ "bq25601", BQ25601_REG_VPRS_PN_24190 },
{ "bq25601", BQ25601_REG_VPRS_PN_25601 },
{ },
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment