mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 07:40:27 +00:00
regulator:support always on
when add always on desc,the regulator is always enabled Signed-off-by: dulibo1 <dulibo1@xiaomi.com>
This commit is contained in:
parent
5890fde1ed
commit
67aa12e762
2 changed files with 11 additions and 3 deletions
|
|
@ -97,6 +97,7 @@ struct regulator_desc_s
|
|||
unsigned int boot_on; /* true if this regulator is to be enabled
|
||||
* at power up/reset
|
||||
*/
|
||||
unsigned int always_on;
|
||||
};
|
||||
|
||||
struct regulator_dev_s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue