-
|
It seems regulator-fixed regulator device is never become ready (device_is_ready(reg_dev)) since one of the commits
and subsequent commits in drivers/regulator/regulator_common.c which added regulator_common_init() call to the regulator-fixed itself, and non valid (for regulator-fixed) regulator_set_voltage() calls in regulator_common_init(). Is it know issue? Hence, regulator_set_voltage() is not valid for regulator-fixed, and, actually, most of steps in regulator_common_init() - it seems reasonable to just call regulator_enable() for regulator-fixed on init to update regulator state and ref_cnt. Smth. like below: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
I'm looking at Zephyr v4.3.0-rc2 (commit e438b57) and I think the problem is that regulator_fixed.c does not provide a When the device tree sets min/max voltage of a fixed regulator, It's that |
Beta Was this translation helpful? Give feedback.
-
|
fixed by #99339 |
Beta Was this translation helpful? Give feedback.
#99339