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:
dulibo1
2023-07-13 20:47:13 +08:00
committed by Xiang Xiao
parent 5890fde1ed
commit 67aa12e762
2 changed files with 11 additions and 3 deletions
+1
View File
@@ -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