From: leo.yan@linaro.org (Leo Yan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 1/4] dt-bindings: mailbox: Document Hi6220 mailbox driver
Date: Fri, 16 Oct 2015 13:23:26 +0800 [thread overview]
Message-ID: <20151016052326.GA3226@leoy-linaro> (raw)
In-Reply-To: <CABb+yY0S18ShH3+sBnq=mOYMY=f4BNp947cUJae4YPfR=wPGGg@mail.gmail.com>
Hi Jassi,
Thanks for review.
On Fri, Oct 16, 2015 at 10:26:48AM +0530, Jassi Brar wrote:
> On Mon, Oct 12, 2015 at 10:02 PM, Leo Yan <leo.yan@linaro.org> wrote:
>
> > +
> > +Mailbox Device Node:
> > +====================
> > +
> > +Required properties:
> > +--------------------
> > +- compatible: Shall be "hisilicon,hi6220-mbox"
> > +- reg: Contains the mailbox register address range (base
> > + address and length); the first item is for IPC
> > + registers, the second item is shared buffer for
> > + slots.
> >
> Is the shared-buffer a part of mailbox controller or just regular
> memory that could be used for purposes other than mailbox also? If
> latter, please remove it from here.
The shared-buffer is part of mailbox controller, this region cannot be
dynamically allocated for other purpose; it's hardcode by MCU firmware.
> > +Mailbox client
> > +===============
> > +
> > +"mboxes" and the optional "mbox-names" (please see
> > +Documentation/devicetree/bindings/mailbox/mailbox.txt for details). Each value
> > +of the mboxes property should contain a phandle to the mailbox controller
> > +device node and second argument is the channel index. It must be 0 (hardware
> > +support only one channel).
> >
> sorry, what must be 0? You have MBOX_CHAN_MAX and MBOX_CHAN_NUM as 32
> and 2 in the driver.
Will fix it.
Thanks,
Leo Yan
next prev parent reply other threads:[~2015-10-16 5:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-12 16:32 [PATCH v4 0/4] mailbox: hisilicon: add Hi6220 mailbox driver Leo Yan
2015-10-12 16:32 ` [PATCH v4 1/4] dt-bindings: mailbox: Document " Leo Yan
2015-10-16 4:56 ` Jassi Brar
2015-10-16 5:23 ` Leo Yan [this message]
2015-10-12 16:32 ` [PATCH v4 2/4] mailbox: Hi6220: add " Leo Yan
2015-10-16 5:13 ` Jassi Brar
2015-10-16 5:29 ` Leo Yan
2015-10-16 5:47 ` Jassi Brar
2015-10-16 6:08 ` Leo Yan
2015-10-16 6:12 ` Jassi Brar
2015-10-16 6:18 ` Leo Yan
2015-10-12 16:32 ` [PATCH v4 3/4] arm64: dts: add mailbox node for Hi6220 Leo Yan
2015-10-12 16:32 ` [PATCH v4 4/4] arm64: dts: add Hi6220's stub clock node Leo Yan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151016052326.GA3226@leoy-linaro \
--to=leo.yan@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox