Re: [beagleboard] BBB battery charging

2016-09-05 Thread William Hermans
Thats the regulator driver. On Mon, Sep 5, 2016 at 2:06 AM, Christoph Mayer wrote: > I am not an expert on this but it looks like you have looked at the > wrong driver. > > You may have a look here: > http://lxr.free-electrons.com/source/drivers/regulator/ >

Re: [beagleboard] BBB battery charging

2016-09-05 Thread Christoph Mayer
I am not an expert on this but it looks like you have looked at the wrong driver. You may have a look here: http://lxr.free-electrons.com/source/drivers/regulator/tps65217-regulator.c?v=4.4 The low-level driver you have looked at is used by this. Cheers Christoph On Sat, Sep 3, 2016 at 4:04 AM,

Re: [beagleboard] BBB battery charging

2016-09-02 Thread evilwulfie
cant hurt to try enabling it I see nobody uses the battery on the BBx boards ? On 9/2/2016 7:13 PM, William Hermans wrote: > interestingly: > > *william@beaglebone:~$ cat* > /sys/bus/i2c/drivers/tps65217/0-0024/tps65217-charger/power/runtime_enabled > disabled > > So is it possible to change

Re: [beagleboard] BBB battery charging

2016-09-02 Thread William Hermans
interestingly: *william@beaglebone:~$ cat* /sys/bus/i2c/drivers/tps65217/0-0024/tps65217-charger/power/runtime_enabled disabled So is it possible to change this to "enabled" ? If so what are the consequences ? On Fri, Sep 2, 2016 at 7:04 PM, William Hermans wrote: > So I

Re: [beagleboard] BBB battery charging

2016-09-02 Thread William Hermans
So I did some searching on this because I am interested in this as well. I figured that the PMIC driver in the kernel would or should be responsible for this if such support existed. So I read through the source file here: http://lxr.free-electrons.com/source/drivers/mfd/tps65217.c?v=4.4 , and

Re: [beagleboard] BBB battery charging

2016-09-02 Thread William Hermans
Page 41 of the datasheet, looks like registers 3-6. Although I have not read in details what the function of those registers are. This should be fixable through custom software, but I'd have to read in greater detail to understand what must be done, and what should be checked for before manually

[beagleboard] BBB battery charging

2016-09-02 Thread evilwulfie
Has anybody been using the battery backup on the BBB ? I am noticing that if you remove power that the BBB keeps running just fine. If you have apci enabled the BBB will shutdown as expected. The BBB will continue to draw full power from the battery. Ok i can deal with this and have designed