]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: arm_ffa: Set the core device as FF-A device parent
authorSudeep Holla <sudeep.holla@kernel.org>
Fri, 8 May 2026 17:54:17 +0000 (18:54 +0100)
committerSudeep Holla <sudeep.holla@kernel.org>
Sun, 17 May 2026 11:42:37 +0000 (12:42 +0100)
commit7fe2ec9fb8e9a78dad8d6b1e551cb4d126e36f1e
tree46d46b1018442ecd87d0bc62fcde9ce3f27df0e7
parente659fc8e537c7a21d5d693d6f30d8852f2fa8d91
firmware: arm_ffa: Set the core device as FF-A device parent

Pass a parent device into ffa_device_register() and use the synthetic
arm-ffa platform device as the parent for each registered FF-A device.

This keeps the enumerated FF-A partition devices anchored below the FF-A
core device in the driver model, matching the platform-driver conversion
of the core transport.

Suggested-by: Yeoreum Yun <yeoreum.yun@arm.com>
Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com>
Link: https://patch.msgid.link/20260508-b4-ffa_plat_dev-v1-3-c5a30f8cf7b8@kernel.org
Signed-off-by: Sudeep Holla <sudeep.holla@kernel.org>
drivers/firmware/arm_ffa/bus.c
drivers/firmware/arm_ffa/driver.c
include/linux/arm_ffa.h