Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1248400

[PATCH v4 5/5] ARM: STi: DT: STiH407: Enable Mailbox testing facility

From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v4 5/5] ARM: STi: DT: STiH407: Enable Mailbox testing facility
Date 2015-10-16 09:30 +0200
Message-ID <qk7CG-7I2-25@gated-at.bofh.it> (permalink)
References <qk7CF-7I2-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch supplies a Client node to enable the Mailbox testing
facility.  It will be used to send and receive messages from any
given co-processor in order to test the STi Mailbox Controller
driver.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 arch/arm/boot/dts/stih407-family.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 0e5d3ea..e6c8243 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -611,6 +611,12 @@
 			st,pwm-num-chan = <4>;
 		};
 
+		mailbox_test {
+			compatible = "mailbox_test";
+			mboxes = <&mailbox2 1 31>, <&mailbox0 1 31>;
+			mbox-names = "tx", "rx";
+		};
+
 		mailbox0: mailbox@0  {
 			compatible	= "st,stih407-mailbox";
 			reg		= <0x8f00000 0x1000>;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RESEND v4.1 0/5] Mailbox: Provide support STi based platforms Lee Jones <lee.jones@linaro.org> - 2015-10-16 09:30 +0200
  [PATCH v4 1/5] mailbox: dt: Supply bindings for ST's Mailbox IP Lee Jones <lee.jones@linaro.org> - 2015-10-16 09:30 +0200
  [PATCH v4 5/5] ARM: STi: DT: STiH407: Enable Mailbox testing facility Lee Jones <lee.jones@linaro.org> - 2015-10-16 09:30 +0200
  [PATCH v4 3/5] ARM: STi: stih407-family: Add nodes for Mailbox Lee Jones <lee.jones@linaro.org> - 2015-10-16 09:30 +0200
  [PATCH v4 4/5] mailbox: Add generic mechanism for testing Mailbox Controllers Lee Jones <lee.jones@linaro.org> - 2015-10-16 09:30 +0200
    [PATCH] mailbox: Fix a couple of trivial static checker issues Lee Jones <lee.jones@linaro.org> - 2015-10-16 13:40 +0200
      [PATCH v2] mailbox: Fix a couple of trivial static checker issues Lee Jones <lee.jones@linaro.org> - 2015-10-16 14:40 +0200
  Re: [RESEND v4.1 0/5] Mailbox: Provide support STi based platforms Jassi Brar <jaswinder.singh@linaro.org> - 2015-10-17 07:20 +0200

csiph-web