Replies: 1 comment
-
|
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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.
All reactions