From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755365AbbHYLR1 (ORCPT ); Tue, 25 Aug 2015 07:17:27 -0400 Received: from foss.arm.com ([217.140.101.70]:40635 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754619AbbHYLRZ (ORCPT ); Tue, 25 Aug 2015 07:17:25 -0400 Message-ID: <55DC4EC0.4060301@arm.com> Date: Tue, 25 Aug 2015 12:17:20 +0100 From: Sudeep Holla User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Leo Yan , Wei Xu , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" CC: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Jassi Brar , Bintian Wang , Haojian Zhuang , Yiping Xu , "linux-arm-kernel@lists.infradead.org" , "guodong.xu@linaro.org" , Jian Zhang , Zhenwei Wang , Haoju Mo , Dan Zhao , "kongfei@hisilicon.com" , Guangyue Zeng , Sudeep Holla Subject: Re: [PATCH v1 1/3] dt-bindings: mailbox: Document Hi6220 mailbox driver References: <1439977055-1747-1-git-send-email-leo.yan@linaro.org> <1439977055-1747-2-git-send-email-leo.yan@linaro.org> In-Reply-To: <1439977055-1747-2-git-send-email-leo.yan@linaro.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19/08/15 10:37, Leo Yan wrote: > Document the new compatible for Hisilicon Hi6220 mailbox driver. > > Signed-off-by: Leo Yan > --- > .../bindings/mailbox/hisilicon,hi6220-mailbox.txt | 57 ++++++++++++++++++++++ > 1 file changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.txt > > diff --git a/Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.txt b/Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.txt > new file mode 100644 > index 0000000..3dfb0b0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.txt > @@ -0,0 +1,57 @@ > +Hisilicon Hi6220 Mailbox Driver > +=============================== > + > +Hisilicon Hi6220 mailbox supports up to 32 channels. Each channel > +is unidirectional with a maximum message size of 8 words. I/O is > +performed using register access (there is no DMA) and the cell > +raises an interrupt when messages are received. > + > +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. Not sure if the shared buffer needs to be part of the controller binding as it's not related to it. It's just agreement between the endpoints of this mailbox on particular SoC and IMO has to part of the client binding. Regards, Sudeep From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sudeep Holla Subject: Re: [PATCH v1 1/3] dt-bindings: mailbox: Document Hi6220 mailbox driver Date: Tue, 25 Aug 2015 12:17:20 +0100 Message-ID: <55DC4EC0.4060301@arm.com> References: <1439977055-1747-1-git-send-email-leo.yan@linaro.org> <1439977055-1747-2-git-send-email-leo.yan@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1439977055-1747-2-git-send-email-leo.yan-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Leo Yan , Wei Xu , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Catalin Marinas , Will Deacon , Jassi Brar , Bintian Wang , Haojian Zhuang , Yiping Xu , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "guodong.xu-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" , Jian Zhang , Zhenwei Wang , Haoju Mo , Dan Zhao , "kongfei-C8/M+/jPZTeaMJb+Lgu22Q@public.gmane.org" , Guangyue Zeng , Sudeep Holla List-Id: devicetree@vger.kernel.org On 19/08/15 10:37, Leo Yan wrote: > Document the new compatible for Hisilicon Hi6220 mailbox driver. > > Signed-off-by: Leo Yan > --- > .../bindings/mailbox/hisilicon,hi6220-mailbox.txt | 57 ++++++++++++++++++++++ > 1 file changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.txt > > diff --git a/Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.txt b/Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.txt > new file mode 100644 > index 0000000..3dfb0b0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.txt > @@ -0,0 +1,57 @@ > +Hisilicon Hi6220 Mailbox Driver > +=============================== > + > +Hisilicon Hi6220 mailbox supports up to 32 channels. Each channel > +is unidirectional with a maximum message size of 8 words. I/O is > +performed using register access (there is no DMA) and the cell > +raises an interrupt when messages are received. > + > +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. Not sure if the shared buffer needs to be part of the controller binding as it's not related to it. It's just agreement between the endpoints of this mailbox on particular SoC and IMO has to part of the client binding. Regards, Sudeep -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: sudeep.holla@arm.com (Sudeep Holla) Date: Tue, 25 Aug 2015 12:17:20 +0100 Subject: [PATCH v1 1/3] dt-bindings: mailbox: Document Hi6220 mailbox driver In-Reply-To: <1439977055-1747-2-git-send-email-leo.yan@linaro.org> References: <1439977055-1747-1-git-send-email-leo.yan@linaro.org> <1439977055-1747-2-git-send-email-leo.yan@linaro.org> Message-ID: <55DC4EC0.4060301@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 19/08/15 10:37, Leo Yan wrote: > Document the new compatible for Hisilicon Hi6220 mailbox driver. > > Signed-off-by: Leo Yan > --- > .../bindings/mailbox/hisilicon,hi6220-mailbox.txt | 57 ++++++++++++++++++++++ > 1 file changed, 57 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.txt > > diff --git a/Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.txt b/Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.txt > new file mode 100644 > index 0000000..3dfb0b0 > --- /dev/null > +++ b/Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.txt > @@ -0,0 +1,57 @@ > +Hisilicon Hi6220 Mailbox Driver > +=============================== > + > +Hisilicon Hi6220 mailbox supports up to 32 channels. Each channel > +is unidirectional with a maximum message size of 8 words. I/O is > +performed using register access (there is no DMA) and the cell > +raises an interrupt when messages are received. > + > +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. Not sure if the shared buffer needs to be part of the controller binding as it's not related to it. It's just agreement between the endpoints of this mailbox on particular SoC and IMO has to part of the client binding. Regards, Sudeep