Re: Driver for combined battery charger and regulator

2022-09-07 Thread Nathan Hartman
On Wed, Sep 7, 2022 at 1:34 PM Tim Hardisty wrote: > On Wed, Sep 7, 2022 at 1:03 PM Tim Hardisty > wrote: > >> > >> > >> >>> Please correct me if I'm still missing something, as there > are zero > >> >>> clues I can find as to what each ops function (for example) > is

Re: Driver for combined battery charger and regulator

2022-09-07 Thread Tim Hardisty
On Wed, Sep 7, 2022 at 1:03 PM Tim Hardisty wrote: >> >> >> >>> Please correct me if I'm still missing something, as there are zero >> >>> clues I can find as to what each ops function (for example) is >> >>> actually supposed to do. >> >> >> >>

Re: Driver for combined battery charger and regulator

2022-09-07 Thread Nathan Hartman
On Wed, Sep 7, 2022 at 1:03 PM Tim Hardisty wrote: > > > >>> Please correct me if I'm still missing something, as there are zero > >>> clues I can find as to what each ops function (for example) is > >>> actually supposed to do. > >> > >> > >> > >>Here is two examples:

Re: Driver for combined battery charger and regulator

2022-09-07 Thread Tim Hardisty
>> Please: what are the purpose of: >> >> set_voltage_sel >> get_voltage_sel >> >FYI: https://www.kernel.org/doc/html/v4.12/driver-api/regulator.html Alan to the rescue again :-) Perhaps Nuttx needs a warning to newcomers: "enter without Linux knowledge at your peril" LO

Re: Driver for combined battery charger and regulator

2022-09-07 Thread Alan Carvalho de Assis
On 9/7/22, Tim Hardisty wrote: > > >>> Please correct me if I'm still missing something, as there are zero > >>> clues I can find as to what each ops function (for example) is > >>> actually supposed to do. > >> > >> > >> > >>Here is two examples: > >>https://github

Re: Driver for combined battery charger and regulator

2022-09-07 Thread Tim Hardisty
>>> Please correct me if I'm still missing something, as there are zero >>> clues I can find as to what each ops function (for example) is >>> actually supposed to do. >> >> >> >>Here is two examples: >>https://github.com/apache/incubator- >>nuttx/blob/master/d

Re: Crash in ostest prioinherit?

2022-09-07 Thread Nathan Hartman
On Tue, Sep 6, 2022 at 5:36 AM Fotis Panagiotopoulos wrote: > > Hello, > > Priority inheritance has a known bug, and it is not working correctly. > See issue #6310: https://github.com/apache/incubator-nuttx/issues/6310 > > I had to disable it in our application, as it causes lots of problems. > >

RE: Driver for combined battery charger and regulator

2022-09-07 Thread TimH
Please correct me if I'm still missing something, as there are zero >> clues I can find as to what each ops function (for example) is >> actually supposed to do. >> >> >> >Here is two examples: >https://github.com/apache/incubator- >nuttx/blob/master/drivers/power/supply/regulator_gpio.c >http

Re: Driver for combined battery charger and regulator

2022-09-07 Thread Xiang Xiao
On Wed, Sep 7, 2022 at 10:26 PM TimH wrote: > Looking further, I'm thinking that this driver template has never been > used, is undocumented, and is therefore bordering on unusable. > > Please correct me if I'm still missing something, as there are zero clues > I can find as to what each ops func

Re: Driver for combined battery charger and regulator

2022-09-07 Thread Xiang Xiao
On Wed, Sep 7, 2022 at 9:20 PM TimH wrote: > >From: Xiang Xiao > >Sent: 07 September 2022 13:40 > > > >On Wed, Sep 7, 2022 at 8:13 PM TimH wrote: > > > >> >From: Alan Carvalho de Assis > >> >Sent: 06 September 2022 13:51 > >> >I think for ACT8945A should be included a regulator at > >> drivers

RE: Driver for combined battery charger and regulator

2022-09-07 Thread TimH
Looking further, I'm thinking that this driver template has never been used, is undocumented, and is therefore bordering on unusable. Please correct me if I'm still missing something, as there are zero clues I can find as to what each ops function (for example) is actually supposed to do.

RE: Driver for combined battery charger and regulator

2022-09-07 Thread TimH
>From: Xiang Xiao >Sent: 07 September 2022 13:40 > >On Wed, Sep 7, 2022 at 8:13 PM TimH wrote: > >> >From: Alan Carvalho de Assis >> >Sent: 06 September 2022 13:51 >> >I think for ACT8945A should be included a regulator at >> drivers/power/supply/ >> >and will implement the functions from and >

Re: Driver for combined battery charger and regulator

2022-09-07 Thread Xiang Xiao
On Wed, Sep 7, 2022 at 8:13 PM TimH wrote: > >From: Alan Carvalho de Assis > >Sent: 06 September 2022 13:51 > >I think for ACT8945A should be included a regulator at > drivers/power/supply/ > >and will implement the functions from and will > >register itself with regulator_register(). > > Sorry

RE: Driver for combined battery charger and regulator

2022-09-07 Thread TimH
>From: Alan Carvalho de Assis >Sent: 06 September 2022 13:51 >I think for ACT8945A should be included a regulator at drivers/power/supply/ >and will implement the functions from and will >register itself with regulator_register(). Sorry for the dumb question, but do I use regulator.c directly, o

SAMA5D2 DMA

2022-09-07 Thread TimH
A quick dabble with DMA for the SAMA5D2 chip I'm using suggests the native NuttX support for this is incorrect and probably applies to SAMA5D3 chips etc. There are refences in sam_xdmac.c to PIDS that simply don't exist in the SAMA5D2. Can anyone confirm - or correct me if I'm wrong?