[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPdLdqmBUFaCjdLrYJh3P2jizYC3GP0g7ut+FNaLQ5a73gMp0w@mail.gmail.com>
Date: Fri, 11 Jul 2014 15:09:03 -0700
From: Markus Mayer <markus.mayer@...aro.org>
To: Jassi Brar <jaswinder.singh@...aro.org>
Cc: Device Tree List <devicetree@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Girish K S <ks.giri@...sung.com>,
Arnd Bergmann <arnd@...db.de>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Mark Rutland <mark.rutland@....com>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Courtney Cavin <courtney.cavin@...ymobile.com>,
Matt Porter <mporter@...aro.org>,
Craig McGeachie <slapdau@...oo.com.au>,
LeyFoon Tan <lftan.linux@...il.com>,
Loic Pallardy <loic.pallardy@...com>,
Suman Anna <s-anna@...com>, ashwin.chaugule@...aro.org,
bjorn@...o.se, Patch Tracking <patches@...aro.org>,
Mollie.Wu@...fujitsu.com, t.takinishi@...fujitsu.com
Subject: Re: [PATCHv8 2/2] mailbox: Introduce framework for mailbox
On 11 July 2014 02:35, Jassi Brar <jaswinder.singh@...aro.org> wrote:
> Introduce common framework for client/protocol drivers and
> controller drivers of Inter-Processor-Communication (IPC).
>
> Client driver developers should have a look at
> include/linux/mailbox_client.h to understand the part of
> the API exposed to client drivers.
> Similarly controller driver developers should have a look
> at include/linux/mailbox_controller.h
>
> Signed-off-by: Jassi Brar <jaswinder.singh@...aro.org>
> ---
> .../devicetree/bindings/mailbox/mailbox.txt | 33 ++
> Documentation/mailbox.txt | 107 +++++
> MAINTAINERS | 8 +
> drivers/mailbox/Makefile | 4 +
> drivers/mailbox/mailbox.c | 490 +++++++++++++++++++++
> include/linux/mailbox_client.h | 48 ++
> include/linux/mailbox_controller.h | 128 ++++++
> 7 files changed, 818 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/mailbox/mailbox.txt
> create mode 100644 Documentation/mailbox.txt
> create mode 100644 drivers/mailbox/mailbox.c
> create mode 100644 include/linux/mailbox_client.h
> create mode 100644 include/linux/mailbox_controller.h
I don't think combining code and documentation like this is the right
approach. As per
Documentation/devicetree/bindings/submitting-patches.txt:
"1) The Documentation/ portion of the patch should be a separate patch."
I am not sure if binding document and regular documentation should be
separated out or if they can stay together (those more knowledgeable,
please comment!), but the code portion should definitely be a separate
patch from the documentation.
Regards,
-Markus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists