]> git.baikalelectronics.ru Git - uboot.git/commit
clk: scmi: support SCMI multi-channel
authorEtienne Carriere <etienne.carriere@linaro.org>
Tue, 31 May 2022 16:09:25 +0000 (18:09 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 23 Jun 2022 17:12:55 +0000 (13:12 -0400)
commit97bf51e43e5bda52e0da1c302bcf657b3398c6e3
treede241ff9515c5e5b6ddd4acf15373a4667b98a66
parent02da948e81f60c1edd268d2c84aadd94630bae83
clk: scmi: support SCMI multi-channel

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

Cc: Lukasz Majewski <lukma@denx.de>
Cc: Sean Anderson <seanga2@gmail.com>
Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
drivers/clk/clk_scmi.c