devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jassi Brar <jaswinder.singh@linaro.org>
To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: ks.giri@samsung.com, arnd@arndb.de,
	ijc+devicetree@hellion.org.uk, mark.rutland@arm.com,
	robh+dt@kernel.org, pawel.moll@arm.com,
	courtney.cavin@sonymobile.com, mporter@linaro.org,
	slapdau@yahoo.com.au, lftan.linux@gmail.com,
	loic.pallardy@st.com, s-anna@ti.com, ashwin.chaugule@linaro.org,
	bjorn@kryo.se, patches@linaro.org, mollie.wu@linaro.org,
	t.takinishi@jp.fujitsu.com, broonie@linaro.org,
	khilman@linaro.org, lee.jones@linaro.org, andy.green@linaro.org,
	Jassi Brar <jaswinder.singh@linaro.org>
Subject: [PATCHv10 4/4] dt: mailbox: add generic bindings
Date: Fri,  1 Aug 2014 18:02:45 +0530	[thread overview]
Message-ID: <1406896365-4971-1-git-send-email-jaswinder.singh@linaro.org> (raw)
In-Reply-To: <1406896194-4667-1-git-send-email-jaswinder.singh@linaro.org>

Define generic bindings for the framework clients to
request mailbox channels.

Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
---
 .../devicetree/bindings/mailbox/mailbox.txt        | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mailbox/mailbox.txt

diff --git a/Documentation/devicetree/bindings/mailbox/mailbox.txt b/Documentation/devicetree/bindings/mailbox/mailbox.txt
new file mode 100644
index 0000000..bb79678
--- /dev/null
+++ b/Documentation/devicetree/bindings/mailbox/mailbox.txt
@@ -0,0 +1,36 @@
+* Generic Mailbox Controller and client driver bindings
+
+Generic binding to provide a way for Mailbox controller drivers to
+assign appropriate mailbox channel to client drivers.
+
+* Mailbox Controller
+
+Required property:
+- #mbox-cells: Must be at least 1. Number of cells in a mailbox
+		specifier.
+
+Example:
+	mailbox: mailbox {
+		...
+		#mbox-cells = <1>;
+	};
+
+
+* Mailbox Client
+
+Required property:
+- mboxes: List of phandle and mailbox channel specifiers.
+
+Optional property:
+- mbox-names: List of identifier strings for each mailbox channel
+		required by the client. The use of this property
+		is discouraged in favor of using index in list of
+		'mboxes' while requesting a mailbox.
+
+Example:
+	pwr_cntrl: power {
+		...
+		mbox-names = "pwr-ctrl", "rpc";
+		mboxes = <&mailbox 0
+			&mailbox 1>;
+	};
-- 
1.8.1.2

  parent reply	other threads:[~2014-08-01 12:32 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-01 12:29 [PATCHv10 0/4] Common Mailbox Framework Jassi Brar
     [not found] ` <1406896194-4667-1-git-send-email-jaswinder.singh-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-08-01 12:30   ` [PATCHv10 1/4] mailbox: rename pl320-ipc specific mailbox.h Jassi Brar
2014-08-01 18:27     ` Mark Brown
2014-08-01 12:31   ` [PATCHv10 2/4] mailbox: Introduce framework for mailbox Jassi Brar
     [not found]     ` <1406896296-4863-1-git-send-email-jaswinder.singh-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-08-01 18:37       ` Mark Brown
2014-08-02  7:50         ` Jassi Brar
2014-09-22 18:01       ` Ashwin Chaugule
     [not found]         ` <CAJ5Y-eZ5gNMQ2YRN4iS5QTU7qUrgxGdTHXhQZ_2ut4iBsEZHGg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-22 18:15           ` Sudeep Holla
     [not found]             ` <5420675C.6040805-5wv7dgnIgG8@public.gmane.org>
2014-09-22 18:33               ` Sudeep Holla
     [not found]                 ` <54206B7C.60501-5wv7dgnIgG8@public.gmane.org>
2014-09-24 16:14                   ` Ashwin Chaugule
     [not found]                     ` <CAJ5Y-ea7e1LCym49jGen-eXuw6tWOzTi3Rrd_K-4ZcZUwkv_jg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-26  0:57                       ` Jassi Brar
     [not found]                         ` <CAJe_ZhdxZwrBsvRt7X0KN2+vnQVRDAJdUGOyNgq2rynwmsur9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-26 15:43                           ` Ashwin Chaugule
2014-08-01 18:26   ` [PATCHv10 0/4] Common Mailbox Framework Mark Brown
     [not found]     ` <20140801182656.GJ30458-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-08-02  7:48       ` Jassi Brar
     [not found]         ` <CAJe_ZhcmEUDD3+xC2mBFnBm7uiMhibtHhBOMxVBhy700BTvYsA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-09-09 16:23           ` Suman Anna
     [not found]             ` <540F299A.6030906-l0cyMroinI0@public.gmane.org>
2014-09-09 16:57               ` Mark Brown
2014-08-01 12:32 ` [PATCHv10 3/4] doc: add documentation for mailbox framework Jassi Brar
2014-08-01 12:32 ` Jassi Brar [this message]
     [not found]   ` <1406896365-4971-1-git-send-email-jaswinder.singh-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-08-01 18:43     ` [PATCHv10 4/4] dt: mailbox: add generic bindings Mark Brown
2014-08-02  7:47       ` Jassi Brar
2014-08-04 14:40         ` Mark Brown

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=1406896365-4971-1-git-send-email-jaswinder.singh@linaro.org \
    --to=jaswinder.singh@linaro.org \
    --cc=andy.green@linaro.org \
    --cc=arnd@arndb.de \
    --cc=ashwin.chaugule@linaro.org \
    --cc=bjorn@kryo.se \
    --cc=broonie@linaro.org \
    --cc=courtney.cavin@sonymobile.com \
    --cc=devicetree@vger.kernel.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=khilman@linaro.org \
    --cc=ks.giri@samsung.com \
    --cc=lee.jones@linaro.org \
    --cc=lftan.linux@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loic.pallardy@st.com \
    --cc=mark.rutland@arm.com \
    --cc=mollie.wu@linaro.org \
    --cc=mporter@linaro.org \
    --cc=patches@linaro.org \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=s-anna@ti.com \
    --cc=slapdau@yahoo.com.au \
    --cc=t.takinishi@jp.fujitsu.com \
    /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;
as well as URLs for NNTP newsgroup(s).