2022-08-30 03:50:38 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Copyright (c) 2022, Intel Corporation
|
|
|
|
|
|
|
|
config IPM_MCUX
|
|
|
|
bool "MCUX IPM driver"
|
2022-11-01 01:33:09 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_NXP_LPC_MAILBOX_ENABLED
|
2024-05-07 01:23:58 +08:00
|
|
|
select RESET
|
2022-08-30 03:50:38 +08:00
|
|
|
help
|
|
|
|
Driver for MCUX mailbox
|
|
|
|
|
|
|
|
config IPM_IMX
|
|
|
|
bool "IMX IPM driver"
|
2022-11-01 01:33:09 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_NXP_IMX_MU_ENABLED
|
2022-08-30 03:50:38 +08:00
|
|
|
help
|
|
|
|
Driver for NXP i.MX messaging unit
|
|
|
|
|
2023-11-01 03:15:43 +08:00
|
|
|
if IPM_IMX
|
2022-08-30 03:50:38 +08:00
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "IMX IPM max data size"
|
|
|
|
default IPM_IMX_MAX_DATA_SIZE_16
|
|
|
|
help
|
|
|
|
Select maximum message size for NXP i.MX messaging unit.
|
|
|
|
|
|
|
|
config IPM_IMX_MAX_DATA_SIZE_4
|
|
|
|
bool "4 bytes"
|
|
|
|
help
|
|
|
|
There will be four message types with ids 0, 1, 2 or 3
|
|
|
|
and a maximum size of 4 bytes each.
|
|
|
|
|
|
|
|
config IPM_IMX_MAX_DATA_SIZE_8
|
|
|
|
bool "8 bytes"
|
|
|
|
help
|
|
|
|
There will be two message types with ids 0 or 1
|
|
|
|
and a maximum size of 8 bytes each.
|
|
|
|
|
|
|
|
config IPM_IMX_MAX_DATA_SIZE_16
|
|
|
|
bool "16 bytes"
|
|
|
|
help
|
|
|
|
There will be a single message type with id 0
|
|
|
|
and a maximum size of 16 bytes.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config IPM_IMX_MAX_DATA_SIZE
|
|
|
|
int
|
|
|
|
range 4 16
|
|
|
|
default 4 if IPM_IMX_MAX_DATA_SIZE_4
|
|
|
|
default 8 if IPM_IMX_MAX_DATA_SIZE_8
|
|
|
|
default 16 if IPM_IMX_MAX_DATA_SIZE_16
|
|
|
|
|
|
|
|
config IPM_IMX_MAX_ID_VAL
|
|
|
|
int
|
|
|
|
range 0 3
|
|
|
|
default 3 if IPM_IMX_MAX_DATA_SIZE_4
|
|
|
|
default 1 if IPM_IMX_MAX_DATA_SIZE_8
|
|
|
|
default 0 if IPM_IMX_MAX_DATA_SIZE_16
|
2023-08-18 21:58:27 +08:00
|
|
|
|
|
|
|
config IPM_IMX_FW_READY_REPLY
|
|
|
|
bool "Send FW_READY reply message"
|
|
|
|
help
|
|
|
|
Send FW_READY reply to check for FW boot completion
|
2023-11-01 03:15:43 +08:00
|
|
|
|
|
|
|
endif # IPM_IMX
|