All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3 v6] dt/bindings: Add binding for the BCM2835 mailbox driver
@ 2015-05-05 20:27 ` Eric Anholt
  0 siblings, 0 replies; 34+ messages in thread
From: Eric Anholt @ 2015-05-05 20:27 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: linux-rpi-kernel, linux-kernel, Stephen Warren, Lee Jones,
	devicetree, Jassi Brar, Craig McGeachie, Lubomir Rintel,
	Eric Anholt

From: Lubomir Rintel <lkundrak@v3.sk>

This patch was split out of Lubomir's original mailbox patch by Eric
Anholt, and the required properties documentation and examples have
been filled out more completely and updated for the driver being
changed to expose a single channel.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Craig McGeachie <slapdau@yahoo.com.au>
Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
---

v2: Split into a separate patch for submitting to the devicetree list.
    Consistently start node docs with a capital letter. device's
    address in the example shouldn't have "0x". Drop machine-specific
    interrupt numbers from the docs.  (changes by anholt).

v3: Move the file to just bcm2835-mbox.txt, clean up formatting
    (changes by anholt, from review by Lee Jones).

v4: Move file back by consensus from various Broadcom platform
    maintainers (changes by anholt, acked by Lee Jones).

v5: Document that the mailbox cell should be 0 in clients, and add an
    example of a client.

v6: Add change description to commit message separate from this
    version section.  Update for #mbox-cells 0 change.

 .../bindings/mailbox/brcm,bcm2835-mbox.txt         | 26 ++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.txt

diff --git a/Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.txt b/Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.txt
new file mode 100644
index 0000000..e893615
--- /dev/null
+++ b/Documentation/devicetree/bindings/mailbox/brcm,bcm2835-mbox.txt
@@ -0,0 +1,26 @@
+Broadcom BCM2835 VideoCore mailbox IPC
+
+Required properties:
+
+- compatible:	Should be "brcm,bcm2835-mbox"
+- reg:		Specifies base physical address and size of the registers
+- interrupts:	The interrupt number
+		  See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt
+- #mbox-cells:	Specifies the number of cells needed to encode a mailbox
+		  channel. The value shall be 0, since there is only one
+		  mailbox channel implemented by the device.
+
+Example:
+
+mailbox: mailbox@7e00b800 {
+	compatible = "brcm,bcm2835-mbox";
+	reg = <0x7e00b880 0x40>;
+	interrupts = <0 1>;
+	#mbox-cells = <0>;
+};
+
+firmware: firmware {
+	compatible = "raspberrypi,firmware";
+	mboxes = <&mailbox>;
+	#power-domain-cells = <1>;
+};
-- 
2.1.4


^ permalink raw reply related	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2015-05-13 15:47 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-05 20:27 [PATCH 1/3 v6] dt/bindings: Add binding for the BCM2835 mailbox driver Eric Anholt
2015-05-05 20:27 ` Eric Anholt
2015-05-05 20:27 ` Eric Anholt
2015-05-05 20:27 ` [PATCH 2/3 v8] mailbox: Enable BCM2835 mailbox support Eric Anholt
2015-05-05 20:27   ` Eric Anholt
2015-05-07 17:28   ` Noralf Trønnes
2015-05-07 17:28     ` Noralf Trønnes
2015-05-07 17:28     ` Noralf Trønnes
2015-05-07 19:54     ` Eric Anholt
2015-05-07 19:54       ` Eric Anholt
2015-05-08  8:33       ` Alexander Stein
2015-05-08  8:33         ` Alexander Stein
2015-05-08 19:19         ` Eric Anholt
2015-05-08 19:19           ` Eric Anholt
2015-05-12  2:41           ` Stephen Warren
2015-05-12  2:41             ` Stephen Warren
2015-05-08 20:38         ` Noralf Trønnes
2015-05-08 20:38           ` Noralf Trønnes
2015-05-08 20:38           ` Noralf Trønnes
2015-05-12 15:28   ` Noralf Trønnes
2015-05-12 15:28     ` Noralf Trønnes
2015-05-05 20:27 ` [PATCH 3/3 v2] ARM: bcm2835: Add the mailbox to the device tree Eric Anholt
2015-05-05 20:27   ` Eric Anholt
2015-05-13  7:57   ` Lee Jones
2015-05-13  7:57     ` Lee Jones
2015-05-12  4:03 ` [PATCH 1/3 v6] dt/bindings: Add binding for the BCM2835 mailbox driver Jassi Brar
2015-05-12  4:03   ` Jassi Brar
2015-05-12  4:03   ` Jassi Brar
2015-05-13  7:57   ` Lee Jones
2015-05-13  7:57     ` Lee Jones
2015-05-13  7:57     ` Lee Jones
2015-05-13 15:47     ` Jassi Brar
2015-05-13 15:47       ` Jassi Brar
2015-05-13 15:47       ` Jassi Brar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.