1# Copyright (c) 2025 Renesas Electronics Corporation
2# SPDX-License-Identifier: Apache-2.0
3
4config MBOX_RENESAS_RZ_MHU
5	bool "Renesas RZ MHU Driver"
6	default y
7	depends on DT_HAS_RENESAS_RZ_MHU_MBOX_ENABLED
8	select USE_RZ_FSP_MHU
9	help
10	  Enable the RZ MHU driver.
11
12if MBOX_RENESAS_RZ_MHU
13
14config MBOX_BUSY_WAIT_TIMEOUT_US
15	int "MBOX send api timeout in microseconds"
16	default 10
17	help
18	  This option specifies the timeout duration for the `mbox_send` API to busy-wait for the
19	  remote processor to consume the previous message before sending a new one. If the
20	  message is not consumed within this time, `mbox_send` will return an error.
21	  Setting this value to 0 or a negative number will cause `mbox_send` to wait indefinitely
22	  until the previous message is consumed before sending a new one.
23
24endif
25