mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 22:03:15 +00:00
6983710a31
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 <lukma@denx.de> Cc: Sean Anderson <seanga2@gmail.com> Cc: Jaehoon Chung <jh80.chung@samsung.com> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
reset-ast2500.c | ||
reset-ast2600.c | ||
reset-bcm6345.c | ||
reset-dra7.c | ||
reset-hisilicon.c | ||
reset-hsdk.c | ||
reset-imx7.c | ||
reset-ipq4019.c | ||
reset-mediatek.c | ||
reset-meson.c | ||
reset-mtmips.c | ||
reset-raspberrypi.c | ||
reset-rockchip.c | ||
reset-scmi.c | ||
reset-sifive.c | ||
reset-socfpga.c | ||
reset-sunxi.c | ||
reset-syscon.c | ||
reset-ti-sci.c | ||
reset-uclass.c | ||
reset-uniphier.c | ||
reset-zynqmp.c | ||
sandbox-reset-test.c | ||
sandbox-reset.c | ||
sti-reset.c | ||
stm32-reset.c | ||
tegra-car-reset.c | ||
tegra186-reset.c |