From e178d21b96ece9d92b4bcc10f0170543ba471938 Mon Sep 17 00:00:00 2001 From: Celina Sophie Kalus Date: Thu, 2 May 2024 16:09:01 +0200 Subject: [PATCH] dts: bindings: ipm: Add dummy mbox-cells property The MBOX driver interface expects a device tree property '#mbox-cells' which is not known by the IPM driver. This causes build problems when both drivers are given for a single shared DT node. To fix this problem for this driver specifically, add a dummy '#mbox-cells' property to the bindings of the STM32 HSEM IPM driver. This does not affect any other IPM driver, and the STM32 HSEM IPM driver is still functioning with this dummy property. Signed-off-by: Celina Sophie Kalus --- dts/bindings/ipm/st,stm32-hsem-mailbox.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dts/bindings/ipm/st,stm32-hsem-mailbox.yaml b/dts/bindings/ipm/st,stm32-hsem-mailbox.yaml index 813ca865f97..c8df24f2572 100644 --- a/dts/bindings/ipm/st,stm32-hsem-mailbox.yaml +++ b/dts/bindings/ipm/st,stm32-hsem-mailbox.yaml @@ -13,3 +13,11 @@ properties: interrupts: required: true + + "#mbox-cells": + type: int + description: | + Dummy property for device tree compatibility with MBOX driver. + +mbox-cells: + - channel