Re: BQ27000 on W1 omap3 Battery calibration question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/15/2018 12:37 PM, Adam Ford wrote:
> I have a DM3730 with a bq27000 on the w1 bus
> 
> During boot it displays:
> 
> power_supply bq27000-battery: power_supply_get_battery_info currently
> only supports devicetree
> w1_slave_driver 01-000000000000: battery is not calibrated! ignoring
> capacity values
> 
> I tried to add a device tree node for battery under the &hdqw1w node:
> 
> bat: battery {
> compatible = "simple-battery";
> voltage-min-design-microvolt = <2750000>;    /*2.75V */
> energy-full-design-microwatt-hours = <4255000>; /* 3.7V * 1.15AHr = 4.255W-hr */
> charge-full-design-microamp-hours = <1150000>;     /*1150 mAhr */
> precharge-current-microamp = <115000>; /* 0.115A */
> constant-charge-current-max-microamp = <1150000>;    /* 1.15 A */
> constant-charge-voltage-max-microvolt = <4200000>;    /* 4.2 V */
> };
> 
> bq27000: fuel-gauge@1 {
> compatible = "bq27000-battery";
> reg = <0x01>;
> monitored-battery = <&bat>;
> };
> 
> Does the bq27000 driver support adding a simple battery?

I do not think the original BQ27000 does. A lot of the battery_info
stuff was added by +Liam, he may know more.

Andrew

> 
> adam
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux