reset: scmi: support SCMI multi-channel
authorEtienne Carriere <etienne.carriere@linaro.org>
Tue, 31 May 2022 16:09:26 +0000 (18:09 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 23 Jun 2022 17:12:55 +0000 (13:12 -0400)
commitf487a88c644a8ad7e50202ab8a617f81d4b56867
tree7bcab50ec0dde18793e0eff76692ce981f80420c
parent38a905ecf91914f64e4832218349f2789f969509
reset: scmi: support SCMI multi-channel

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

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
drivers/reset/reset-scmi.c