diff options
author | Konrad Dybcio <[email protected]> | 2021-12-30 03:34:42 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-01-06 13:55:57 +0000 |
commit | 14e2976fbabdacb01335d7f91eeebbc89c67ddb1 (patch) | |
tree | f2afb42dce607f4c6db3d1a64ba498e913cf1fbd /scripts | |
parent | 1f156b4285865dc2eb66e7a78c7ba80c17bb2b0a (diff) |
regulator: qcom_smd: Align probe function with rpmh-regulator
The RPMh regulator driver is much newer and gets more attention, which in
consequence makes it do a few things better. Update qcom_smd-regulator's
probe function to mimic what rpmh-regulator does to address a couple of
issues:
- Probe defer now works correctly, before it used to, well,
kinda just die.. This fixes reliable probing on (at least) PM8994,
because Linux apparently cannot deal with supply map dependencies yet..
- Regulator data is now matched more sanely: regulator data is matched
against each individual regulator node name and throwing an -EINVAL if
data is missing, instead of just assuming everything is fine and
iterating over all subsequent array members.
- status = "disabled" will now work for disabling individual regulators in
DT. Previously it didn't seem to do much if anything at all.
Signed-off-by: Konrad Dybcio <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions