Xiang Xiao
8582a12388
drivers: Reorganize the power related code layout
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-08-04 10:28:28 +03:00
ligd
c0f2b7811e
pm: add pm procfs support
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-07-26 11:11:00 +08:00
ligd
f606689715
power: change pm_stay_timeout to pm_staytimout
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-07-26 11:11:00 +08:00
ligd
b34925e6eb
power: move EXPLICIT_RELAX opreation to common place
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-07-26 11:11:00 +08:00
Xiang Xiao
9785d6606c
openamp: Change the dependence from OPENAMP to RPTUN
...
since all rpmsg driver need the extension api exposed by rptun driver
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-05 10:05:41 +03:00
zhuyanlin
5ce181e6b7
power:govorner: add govorner to per domain.
...
For mult domains scene,,
activity and greety can be used at same time.
Let user to select domain governor.
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2022-03-09 14:17:57 -03:00
Alin Jerpelea
3a77cd3d6a
drivers: power: exclude BSD components from build
...
Unless ALLOW_BSD_COMPONENTS is enabled support will not be built
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-02-24 22:48:47 +08:00
Xiang Xiao
1d1bdd85a3
Remove the double blank line from source files
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-02-20 20:10:14 +01:00
zhuyanlin
a22dae19c1
regulator/rpmsg: pending in wait ept ready for regulator client
...
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-12-27 23:25:28 -06:00
zhuyanlin
b7db4304d6
driver/power: add gpio regulator
...
N/A
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-12-07 23:29:05 -06:00
zhuyanlin
eed6510202
driver:power:add regulator remote proc
...
N/A
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-12-07 23:29:05 -06:00
zhuyanlin
c8f1a9e430
driver:power:add regulator framework
...
N/A
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2021-12-07 23:29:05 -06:00
Jiuzhu Dong
1ed4118378
power/battery: add baterr, batinfo, batwarn for debug log
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2021-10-26 13:59:42 -03:00
daviepeng
3b5914f57b
add support for power management ic axp202
2021-09-07 13:42:54 +08:00
raiden00pl
3fb78a8299
drivers: move the generic upper-half motor driver from drivers/power to drivers/motor
2021-05-05 09:00:22 +02:00
chao.an
049c991d28
style/Kconfig: remove unnecessary trailing whitespace
...
N/A
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:30 +01:00
leomarradke
8a2c480a48
arch: samd5e5:
...
- Add MTD progmem support.
- NVM USER PAGE IOCTLs support.
boards: metro-m4 Add support for:
- SmartFS inicialization.
- AT24 EEPROM.
- GPIO dev support.
- BQ27426 gauge inicialization.
drives: power
- Add BQ27426 fuel gauge support.
Testing:
- Build check only.
Signed-off-by: Leomar Mateus Radke <leomar@falker.com.br>
2020-08-27 11:46:50 -03:00
macman88
43dfbdb348
Battery monitor support ( #404 )
...
* Adding support for BQ769x0 Battery Monitor IC (Work In Progress)
* Additional changes to support BQ769x0
* Store cell count and chip type when setting up
* Added shutdown, limits, charge/discharge switch, and clear faults operations
* Added support for current measurement; some cleanup
* Updated temperature reporting. Fixed negative current reporting.
* When setting safety limits, update limit structure with actual values used.
* Added note on battery limit structure
* Updates to BQ769x0. Re-ordered fault reporting, added fault cache, added ordered fault clearing
2020-02-28 18:18:50 -06:00
Xiang Xiao
bd4e8e19d3
Run codespell -w against all files
...
and fix the wrong correction
2020-02-22 14:45:07 -06:00
Xiang Xiao
68951e8d72
Remove exra whitespace from files ( #189 )
...
* Remove multiple newlines at the end of files
* Remove the whitespace from the end of lines
2020-01-31 09:24:49 -06:00
Juha Niskanen
abdafaeccc
drivers/power: Fix PM build failure with CONFIG_PM_GOVERNOR_MEMORY==1
2019-12-10 07:34:59 -06:00
Matias Nitsche
e118d99bf5
drivers/power/pm: Historically, the NuttX PM subsystem has consisted of two functional components: (1) an "Upper" part that detects state changes based on a random walk driven by activity levels, and (2) and "lower" part that implementst the state changes.
...
This change decouples that upper activity-based logic from the lower random walk logic and allows use of other upper state detection logic (such as a custom, application-specific state machine).
2019-11-09 09:09:33 -06:00
Xiang Xiao
3bc62f1ccc
Change space to tab and help to ---help--- in Kconfig files.
2019-10-05 21:39:12 -06:00
Alan Carvalho de Assis
37af1d4c76
drivers/power/mcp73871.c: Add support to Microchip MPC73871 Battery Charger.
2018-12-31 13:50:17 -06:00
Mateusz Szafoni
195c210535
Merged in raiden00/nuttx (pull request #626 )
...
add generic upper-half motor driver
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-04-09 12:59:28 +00:00
Gregory Nutt
d0eb182c00
Minor changes from review of last PR
2017-10-09 12:15:05 -06:00
Mateusz Szafoni
6c25f3d142
Merged in raiden00/nuttx (pull request #505 )
...
Master
* power: Add powerled to Kconfig
* stm32_powerled.c: cosmetics
* stm32_hrtim.c: cosmetics
* stm32/Kconfig: add HRTIM configuration and add DAC external trigger configuration
* stm32f334-disco: Add powerled example configuration
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2017-10-09 18:07:09 +00:00
Juha Niskanen
cc1f7a63fa
power: add driver for TI bq2429x battery charger. TODO: Untested. Does not have poll() support.
2017-08-25 07:26:00 -06:00
Gregory Nutt
4be064d19a
Move SMPS driver to drivers/power (and header to include/nuttx/power). Rename debug to IOCTLs to more general power naming; create a separate file to coordinate power-related IOCTL commands.
2017-07-23 07:35:09 -06:00
Gregory Nutt
54dbec248e
PM: Add domain to all PM interfaces. Internal PM data structures now handle multiple PM domains.
2016-03-27 13:03:47 -06:00
Gregory Nutt
dea4fe5d90
PM: Add activity domain to all PM callbacks
2016-03-27 11:19:39 -06:00
Gregory Nutt
970822b351
Add missing PM configuratin options to Kconfig file
2016-03-27 10:18:20 -06:00
Alan Carvalho de Assis
c52e3e017b
Battery Charger: Add BQ24250 driver
2015-09-20 09:47:00 -06:00
Alan Carvalho de Assis
3cd7558a5e
Add basic infrastructure for Battery Charger
2015-09-19 13:06:43 -06:00
Alan Carvalho de Assis
9f465fc502
Rename battery.[ch] to battery_gauge.[ch]
2015-09-19 11:00:14 -06:00
Gregory Nutt
342f5fe33d
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:08:57 -06:00
patacongo
c91aa007f2
Review and update some board configurations
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4991 42af7a65-404d-4744-a932-0658087f49c3
2012-07-29 18:30:48 +00:00
patacongo
1dc41e329b
Kconfig update
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4599 42af7a65-404d-4744-a932-0658087f49c3
2012-04-13 14:27:44 +00:00
patacongo
330b89ca0e
Add kconfig documentation
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4567 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 16:45:52 +00:00
patacongo
4b8c0c41c8
Adding skeleton Kconfig files (part 1 of 2)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4564 42af7a65-404d-4744-a932-0658087f49c3
2012-04-06 15:49:35 +00:00