[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABb+yY2+WwxHBtQfU3TJTErpfzfkNH8iwwYyXbmWAQy8UsqLRQ@mail.gmail.com>
Date: Thu, 26 Jul 2018 15:11:39 +0530
From: Jassi Brar <jassisinghbrar@...il.com>
To: Oleksij Rempel <o.rempel@...gutronix.de>
Cc: Shawn Guo <shawnguo@...nel.org>,
Fabio Estevam <fabio.estevam@....com>,
Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
"A.s. Dong" <aisheng.dong@....com>,
Vladimir Zapolskiy <vladimir_zapolskiy@...tor.com>,
Sudeep Holla <sudeep.holla@....com>,
Devicetree List <devicetree@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
", Sascha Hauer" <kernel@...gutronix.de>,
", linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, srv_heupstream"
<linux-arm-kernel@...ts.infradead.org>,
dl-linux-imx <linux-imx@....com>
Subject: Re: [PATCH v7 1/6] dt-bindings: mailbox: allow mbox-cells to be equal
to 0
On Thu, Jul 26, 2018 at 12:23 PM, Oleksij Rempel
<o.rempel@...gutronix.de> wrote:
> From: Dong Aisheng <aisheng.dong@....com>
>
> 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.
>
OK
But please realise that you'll have to write more code -- implement
your own of_xlate() callback.
Most developers would prefer to call the only channel as channel
number 0, and use the common of_xlate implementation.
-jassi
Powered by blists - more mailing lists