u-boot/drivers/power/regulator
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
..
act8846.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
anatop_regulator.c power: regulator: add driver for ANATOP regulator 2021-04-20 07:31:12 -04:00
as3722_regulator.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
bd71837.c regulator: bd718x7: Bypass bogus warnings 2022-02-05 15:49:01 +01:00
da9063.c dm: Use access methods for dev/uclass private data 2021-01-05 12:24:40 -07:00
fan53555.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
fixed.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
gpio-regulator.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
Kconfig Rename GPIO_SUPPORT to GPIO 2021-07-28 14:29:36 -04:00
lp873x_regulator.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
lp87565_regulator.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
Makefile power: Rename CONFIG_POWER to CONFIG_POWER_LEGACY 2021-09-04 12:26:02 -04:00
max77686.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
palmas_regulator.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
pbias_regulator.c dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
pfuze100.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
pwm_regulator.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
regulator-uclass.c dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
regulator_common.c dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
regulator_common.h dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
rk8xx.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
s2mps11_regulator.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
s5m8767.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
sandbox.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
scmi_regulator.c scmi: change parameter dev in devm_scmi_process_msg 2022-03-02 17:42:06 -05:00
stm32-vrefbuf.c power: regulator: stm32-verfbuf: define LOG_CATEGORY 2021-01-13 09:52:58 +01:00
stpmic1.c dm: treewide: Rename 'platdata' variables to just 'plat' 2020-12-13 16:51:08 -07:00
tps62360_regulator.c dm: treewide: Rename dev_get_platdata() to dev_get_plat() 2020-12-13 16:51:09 -07:00
tps65090_regulator.c doc: replace @return by Return: 2022-01-19 18:11:34 +01:00
tps65910_regulator.c dm: treewide: Rename ofdata_to_platdata() to of_to_plat() 2020-12-13 16:51:09 -07:00
tps65941_regulator.c drivers: power: regulator: tps65941_regulator: Add support for 3Phase buck 2022-02-16 14:19:29 -05:00