]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mailbox: Allow controller specific mapping using fwnode
authorAnup Patel <apatel@ventanamicro.com>
Mon, 18 Aug 2025 04:09:01 +0000 (09:39 +0530)
committerPaul Walmsley <pjw@kernel.org>
Thu, 25 Sep 2025 01:32:00 +0000 (19:32 -0600)
commitba879dfc0574878f3e08f217b2b4fdf845c426c0
treeda9198a4a89f2da6c73babb347d9ea7251f34eb6
parent340974c4f709ce8142a672ab11f1889dff94d6dc
mailbox: Allow controller specific mapping using fwnode

Introduce optional fw_node() callback which allows a mailbox controller
driver to provide controller specific mapping using fwnode.

The Linux OF framework already implements fwnode operations for the
Linux DD framework so the fw_xlate() callback works fine with device
tree as well.

Acked-by: Jassi Brar <jassisinghbrar@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Link: https://lore.kernel.org/r/20250818040920.272664-6-apatel@ventanamicro.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
drivers/mailbox/mailbox.c
include/linux/mailbox_controller.h