]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mfd: sec: s2mpg10: Reorder regulators for better probe performance
authorAndré Draszik <andre.draszik@linaro.org>
Thu, 22 Jan 2026 15:43:35 +0000 (15:43 +0000)
committerLee Jones <lee@kernel.org>
Wed, 4 Feb 2026 10:37:09 +0000 (10:37 +0000)
commitfa72a842734272e295e6804df75131acde2d6e2d
tree68085fa89f21cbbb73941e618a4cfe9b6a0dbb92
parentbfacd34f8f34edc70c5c7a5fea46fd3c9ec35a5c
mfd: sec: s2mpg10: Reorder regulators for better probe performance

Bucks can reasonably be supplies for LDOs, but not the other way
around. Since rail registration is going to be ordered by 'enum
s2mpg10_regulators', it makes sense to specify bucks first, so that
during LDO registration it is more likely that the corresponding supply
is known already.

This can improve probe speed, as no unnecessary deferrals and retries
are required anymore.

Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260122-s2mpg1x-regulators-v7-8-3b1f9831fffd@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
include/linux/mfd/samsung/s2mpg10.h