1# SPDX-License-Identifier: Apache-2.0 2# Copyright (c) 2022, Intel Corporation 3 4config IPM_MCUX 5 bool "MCUX IPM driver" 6 default y 7 depends on DT_HAS_NXP_LPC_MAILBOX_ENABLED 8 help 9 Driver for MCUX mailbox 10 11config IPM_IMX 12 bool "IMX IPM driver" 13 default y 14 depends on DT_HAS_NXP_IMX_MU_ENABLED 15 help 16 Driver for NXP i.MX messaging unit 17 18config IPM_IMX_REV2 19 bool "IMX IPM driver (rev 2)" 20 default y 21 depends on DT_HAS_NXP_IMX_MU_REV2_ENABLED 22 help 23 Rev 2 driver for NXP i.MX messaging unit (MCUX-based) 24 25choice 26 prompt "IMX IPM max data size" 27 default IPM_IMX_MAX_DATA_SIZE_16 28 depends on IPM_IMX || IPM_IMX_REV2 29 help 30 Select maximum message size for NXP i.MX messaging unit. 31 32config IPM_IMX_MAX_DATA_SIZE_4 33 bool "4 bytes" 34 help 35 There will be four message types with ids 0, 1, 2 or 3 36 and a maximum size of 4 bytes each. 37 38config IPM_IMX_MAX_DATA_SIZE_8 39 bool "8 bytes" 40 help 41 There will be two message types with ids 0 or 1 42 and a maximum size of 8 bytes each. 43 44config IPM_IMX_MAX_DATA_SIZE_16 45 bool "16 bytes" 46 help 47 There will be a single message type with id 0 48 and a maximum size of 16 bytes. 49 50endchoice 51 52config IPM_IMX_MAX_DATA_SIZE 53 int 54 range 4 16 55 default 4 if IPM_IMX_MAX_DATA_SIZE_4 56 default 8 if IPM_IMX_MAX_DATA_SIZE_8 57 default 16 if IPM_IMX_MAX_DATA_SIZE_16 58 depends on IPM_IMX || IPM_IMX_REV2 59 60config IPM_IMX_MAX_ID_VAL 61 int 62 range 0 3 63 default 3 if IPM_IMX_MAX_DATA_SIZE_4 64 default 1 if IPM_IMX_MAX_DATA_SIZE_8 65 default 0 if IPM_IMX_MAX_DATA_SIZE_16 66 depends on IPM_IMX || IPM_IMX_REV2 67 68config IPM_IMX_FW_READY_REPLY 69 bool "Send FW_READY reply message" 70 depends on IPM_IMX || IPM_IMX_REV2 71 help 72 Send FW_READY reply to check for FW boot completion 73