On Mon, Feb 21, 2022 at 09:22:40AM +0100, Etienne Carriere wrote: > Changes devm_scmi_process_msg() first argument from target parent device > to current SCMI device and lookup the SCMI agent device among SCMI device > parents for find the SCMI agent operator needed for communication with > the firmware. > > This change is needed in order to support CCF in clk_scmi driver unless > what CCF will fail to find the right udevice related to exposed SCMI > clocks. > > This patch allows to simplify the caller sequence, using SCMI device > reference as parameter instead of knowing SCMI uclass topology. This > change also adds some protection in case devm_scmi_process_msg() API > function is called for an invalid device type. > > Cc: Lukasz Majewski <lu...@denx.de> > Cc: Sean Anderson <sean...@gmail.com> > Cc: Jaehoon Chung <jh80.ch...@samsung.com> > Cc: Patrick Delaunay <patrick.delau...@foss.st.com> > Reviewed-by: Patrick Delaunay <patrick.delau...@foss.st.com> > Signed-off-by: Etienne Carriere <etienne.carri...@linaro.org>
Applied to u-boot/next, thanks! -- Tom
signature.asc
Description: PGP signature