ACPM clients (PMIC, clocks, etc.) will be modeled as children of the ACPM interface. This necessitates two changes in this driver: * child platform_devices from device tree need to be populated here * child drivers will need to be able to get the ACPM handle via a struct device_node, not via a DT property name This series implements these changes and is a prerequisite for v2 of https://lore.kernel.org/all/20250323-s2mpg10-v1-0-d08943702707@xxxxxxxxxx/ --- dependency note --- To apply cleanly, patch 2 must be applied after https://lore.kernel.org/all/20250319-acpm-fixes-v2-2-ac2c1bcf322b@xxxxxxxxxx/ due to touching similar areas of the code. I can merge that and this series into one if that is preferred instead, please let me know if so. --- dependency note end --- Cheers, Andre' Signed-off-by: André Draszik <andre.draszik@xxxxxxxxxx> --- André Draszik (1): firmware: exynos-acpm: introduce devm_acpm_get_by_node() Tudor Ambarus (1): firmware: exynos-acpm: populate devices from device tree data drivers/firmware/samsung/exynos-acpm.c | 25 +++++++++------------- .../linux/firmware/samsung/exynos-acpm-protocol.h | 6 ++++-- 2 files changed, 14 insertions(+), 17 deletions(-) --- base-commit: cc024fd4c6640be5e2e0989cc98f2c68e31289d5 change-id: 20250327-acpm-children-70ceb0138d63 Best regards, -- André Draszik <andre.draszik@xxxxxxxxxx>