u-boot/drivers/reset
Etienne Carriere 6983710a31 scmi: change parameter dev in devm_scmi_process_msg
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>
2022-03-02 17:42:06 -05:00
..
Kconfig reset: dra7: Add a reset driver 2022-02-08 09:41:27 -05:00
Makefile reset: dra7: Add a reset driver 2022-02-08 09:41:27 -05:00
reset-ast2500.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
reset-ast2600.c reset: ast2600: Fix missing reference operator 2021-07-24 08:57:53 -04:00
reset-bcm6345.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
reset-dra7.c reset: dra7: Add a reset driver 2022-02-08 09:41:27 -05:00
reset-hisilicon.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
reset-hsdk.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
reset-imx7.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
reset-ipq4019.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
reset-mediatek.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
reset-meson.c WS cleanup: remove trailing white space 2021-09-30 08:08:56 -04:00
reset-mtmips.c reset: reset-mtmips: add DM_FLAG_PRE_RELOC flag 2021-01-24 21:39:27 +01:00
reset-raspberrypi.c WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
reset-rockchip.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
reset-scmi.c scmi: change parameter dev in devm_scmi_process_msg 2022-03-02 17:42:06 -05:00
reset-sifive.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
reset-socfpga.c dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
reset-sunxi.c clk: sunxi: Move header out of arch directory 2021-10-11 10:46:44 +01:00
reset-syscon.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
reset-ti-sci.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
reset-uclass.c treewide: invaild -> invalid 2022-01-13 07:57:49 -05:00
reset-uniphier.c reset: uniphier: Add PCIe reset entry 2021-07-14 16:48:06 -04:00
reset-zynqmp.c reset: zynqmp: Add reset controller for ZynqMP SoC 2021-08-06 09:32:03 +02:00
sandbox-reset-test.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sandbox-reset.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sti-reset.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
stm32-reset.c reset: stm32: Fix bank and offset computation 2021-05-28 11:24:02 +02:00
tegra-car-reset.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
tegra186-reset.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00