Re: [PATCH V3 1/5] dt-bindings: mailbox: allow mbox-cells to be equal to 0

From: Rob Herring
Date: Mon Jun 25 2018 - 13:17:43 EST


On Fri, Jun 22, 2018 at 10:11:56PM +0800, Dong Aisheng wrote:
> Mailbox devices may have only one channel which means the mbox-cells
> at least 1 does not make sense for this type devices. Let's remove
> that limitation to allow the mbox-cells to be equal to 0.
>
> Cc: Rob Herring <robh+dt@xxxxxxxxxx>
> Cc: Mark Rutland <mark.rutland@xxxxxxx>
> Cc: Sudeep Holla <sudeep.holla@xxxxxxx>
> Cc: devicetree@xxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Signed-off-by: Dong Aisheng <aisheng.dong@xxxxxxx>
> ---
> ChangeLog:
> * New patch introduced in v3 series
> * Actually there're already users in kernel with mbox-cells set to 0.
> See:
> arch/arm/boot/dts/bcm283x.dtsi:145: #mbox-cells = <0>;
> ---
> Documentation/devicetree/bindings/mailbox/mailbox.txt | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>