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 <[email protected]> > Cc: Sean Anderson <[email protected]> > Cc: Jaehoon Chung <[email protected]> > Cc: Patrick Delaunay <[email protected]> > Reviewed-by: Patrick Delaunay <[email protected]> > Signed-off-by: Etienne Carriere <[email protected]>
Applied to u-boot/next, thanks! -- Tom
signature.asc
Description: PGP signature

