linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] firmware: exynos-acpm: clients (PMIC, clocks, etc.) will become children
@ 2025-03-27 12:54 André Draszik
  2025-03-27 12:54 ` [PATCH 1/2] firmware: exynos-acpm: populate devices from device tree data André Draszik
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: André Draszik @ 2025-03-27 12:54 UTC (permalink / raw)
  To: Tudor Ambarus, Krzysztof Kozlowski, Alim Akhtar
  Cc: Peter Griffin, Will McVicker, kernel-team, linux-kernel,
	linux-samsung-soc, linux-arm-kernel, André Draszik

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@linaro.org/

--- dependency note ---

To apply cleanly, patch 2 must be applied after
https://lore.kernel.org/all/20250319-acpm-fixes-v2-2-ac2c1bcf322b@linaro.org/
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@linaro.org>
---
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@linaro.org>



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-05-01 10:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-27 12:54 [PATCH 0/2] firmware: exynos-acpm: clients (PMIC, clocks, etc.) will become children André Draszik
2025-03-27 12:54 ` [PATCH 1/2] firmware: exynos-acpm: populate devices from device tree data André Draszik
2025-03-27 12:54 ` [PATCH 2/2] firmware: exynos-acpm: introduce devm_acpm_get_by_node() André Draszik
2025-04-22  8:03 ` [PATCH 0/2] firmware: exynos-acpm: clients (PMIC, clocks, etc.) will become children Krzysztof Kozlowski
2025-05-01  9:09   ` Lee Jones
2025-05-01 10:02     ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).