]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: regulator: scmi: support SCMI multi-channel
authorEtienne Carriere <etienne.carriere@linaro.org>
Tue, 31 May 2022 16:09:27 +0000 (18:09 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 23 Jun 2022 17:12:55 +0000 (13:12 -0400)
commitff33ed32b6a7c261eefa6663a0775e4a45369aab
treed6c24dd4657fc809e5476abb9308d8d05145ff37
parentf487a88c644a8ad7e50202ab8a617f81d4b56867
power: regulator: scmi: support SCMI multi-channel

Update SCMI regulator controller driver to get its assigned SCMI channel
during initialization. This change allows SCMI voltage domain protocol
to use a dedicated channel when defined in the DT. The reference is
saved in SCMI regulator controller driver private data.

Cc: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/power/regulator/scmi_regulator.c