Re: [EXT] Re: Project specific power management configuration

2021-03-19 Thread Xiang Xiao
s > > E-mail: cis.van.mie...@nxp.com <mailto:cis.van.mierlo%40nxp.com> > > Internet: http://www.nxp.com > > > > -Original Message- > > From: Matias N. mailto:matias%40imap.cc>> > > Sent: Thursday, March 11, 2021 4:55 PM > > To: dev@nuttx.ap

Re: [EXT] Re: Project specific power management configuration

2021-03-19 Thread Matias N.
riginal Message- > From: Matias N. mailto:matias%40imap.cc>> > Sent: Thursday, March 11, 2021 4:55 PM > To: dev@nuttx.apache.org <mailto:dev%40nuttx.apache.org> > Subject: RE: [EXT] Re: Project specific power management configuration > > Caution: EXT Email >

Re: [EXT] Re: Project specific power management configuration

2021-03-19 Thread Gregory Nutt
2. Add a procfs option to the PM driver that exposes /procfs/power/state which can be modified from the user space as well. Currently the procfs is read-only, but there is no reason that I can thinkĀ  of that we could no extended to support writing.

RE: [EXT] Re: Project specific power management configuration

2021-03-19 Thread Cis Van Mierlo
High Tech Campus 46, room 0.64, 5656 AE Eindhoven, The Netherlands E-mail: cis.van.mie...@nxp.com Internet: http://www.nxp.com -Original Message- From: Matias N. Sent: Thursday, March 11, 2021 4:55 PM To: dev@nuttx.apache.org Subject: RE: [EXT] Re: Project specific power management con

RE: [EXT] Re: Project specific power management configuration

2021-03-11 Thread Matias N.
Calling those functions from applications would be a violation of OS/application isolation, as these are OS level calls. The general idea is that a driver only knows what to do on each sleep level and the IDLE loop uses those functions to drive the change of states of PM system. >From application

RE: [EXT] Re: Project specific power management configuration

2021-03-11 Thread Cis Van Mierlo
Subject: Re: [EXT] Re: Project specific power management configuration Caution: EXT Email The interaction between hardware on/off and sleep states usually occurs on IDLE loop. I'm not sure if you are aware of this option but you can have a board specific idle loop implementation. This is wha

Re: [EXT] Re: Project specific power management configuration

2021-03-10 Thread Matias N.
ems Innovations > > High Tech Campus 46, room 0.64, 5656 AE Eindhoven, The Netherlands > E-mail: cis.van.mie...@nxp.com > Internet: http://www.nxp.com > > *From:* Matias N. > *Sent:* Friday, March 5, 2021 4:32 PM > *To:* dev@nuttx.apache.org > *Subject:* [EXT]

RE: [EXT] Re: Project specific power management configuration

2021-03-10 Thread Cis Van Mierlo
m<http://www.nxp.com/> From: Matias N. Sent: Friday, March 5, 2021 4:32 PM To: dev@nuttx.apache.org Subject: [EXT] Re: Project specific power management configuration Caution: EXT Email Hi, I'm not entirely sure what is the specific control over PM you need but some time ago I introduced the no

Re: Project specific power management configuration

2021-03-05 Thread Matias N.
Hi, I'm not entirely sure what is the specific control over PM you need but some time ago I introduced the notion of "governor" which lets you select either the activity based one (which uses a specific algorithm to control states), a greedy governor (which lets an application directly control

Project specific power management configuration

2021-03-05 Thread Cis Van Mierlo
Hi all, Me and my colleagues (NXP mobile robotics) encountered a problem and we would like to start a discussion on how to solve that. We're making a development board using NuttX and we would like to add the power mode configuration to it. But this needs to be specific for this "project". The