From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Yan Subject: Re: [PATCH v4 2/4] mailbox: Hi6220: add mailbox driver Date: Fri, 16 Oct 2015 13:29:10 +0800 Message-ID: <20151016052910.GB3226@leoy-linaro> References: <1444667535-16948-1-git-send-email-leo.yan@linaro.org> <1444667535-16948-3-git-send-email-leo.yan@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Jassi Brar Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Bintian Wang , Yiping Xu , Haojian Zhuang , Wei Xu , Devicetree List , Linux Kernel Mailing List , "linux-arm-kernel@lists.infradead.org" List-Id: devicetree@vger.kernel.org On Fri, Oct 16, 2015 at 10:43:00AM +0530, Jassi Brar wrote: > On Mon, Oct 12, 2015 at 10:02 PM, Leo Yan wrote: > > > + > > +#define MBOX_CHAN_MAX 32 > > +#define MBOX_CHAN_NUM 2 > > + > You mean the hardware has 32 channels but this driver can not manage > more than 2 ? > > OR, there are 32 interfaces but only 2 physical 'floating' links, so > no more than 2 interfaces can be active at any time? For the later case. Mailbox also can be used by other modules, such like audio hifi; later need add links for them if want to enable audio. But so far only uses first 2 channels. Thanks, Leo Yan