Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1186762
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Lee Jones <lee.jones@linaro.org> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 4/6] ARM: STi: stih407-family: Add nodes for Mailbox |
| Date | Fri, 17 Jul 2015 14:10:03 +0200 |
| Message-ID | <pNcCL-4Yl-29@gated-at.bofh.it> (permalink) |
| References | <pNcCK-4Yl-9@gated-at.bofh.it> |
| X-Original-To | linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3PmOj5b5y2V079PoH5Jjl2x7mhuMFV4CwaOFnYTZB88=; b=XB0uLNxUwZjI7d0SyLqEbMH4rYDK/qTry/f0OBSvfvWOS2TU7+K24bGWcbn9LVNeWM M44LGI1tTYskWbsH6ZLk2Iu/NPArb8KBLp1mFDh74nQf4IEKZd6VSx29SwmxVixaeMB1 Ff/fLuhQ09L7mA/F8TGBqH1FI8wT+BOcpZE2p3BVn8dljbCy/K1egPs5ElMtxHaP655k Hct00/DBWmv1hUIidmgL5hlkBxOnQZ893jwj7WIE7gKpQX+aoIPNLUyUEUDZ2EIHWmaO nlEgo48QglnnDhKQCO6ZRKa6Tiqa3POR1uG0QrgHksjSGNlaMP4YyIGrObjjWdUq/WEn ZOfg== |
| X-Gm-Message-State | ALoCoQnCcSoZLpIxD2anvBNvQ8AWMZdrxcUfBtdO5zYv/srWPRgLHpr8YHnFhpJkgW/QCN1hJnYA |
| X-Received | by 10.180.75.78 with SMTP id a14mr14853529wiw.43.1437134657085; Fri, 17 Jul 2015 05:04:17 -0700 (PDT) |
| X-Mailer | git-send-email 1.9.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 68 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | kernel@stlinux.com, jassisinghbrar@gmail.com, devicetree@vger.kernel.org, Lee Jones <lee.jones@linaro.org> |
| X-Original-Date | Fri, 17 Jul 2015 13:04:05 +0100 |
| X-Original-Message-ID | <1437134647-28298-5-git-send-email-lee.jones@linaro.org> |
| X-Original-References | <1437134647-28298-1-git-send-email-lee.jones@linaro.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | aioe.org linux.kernel:1186762 |
Show key headers only | View raw
This patch supplies the Mailbox Controller nodes. In order to
request channels, these nodes will be referenced by Mailbox
Client nodes.
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
arch/arm/boot/dts/stih407-family.dtsi | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi
index 838b812..c061d11 100644
--- a/arch/arm/boot/dts/stih407-family.dtsi
+++ b/arch/arm/boot/dts/stih407-family.dtsi
@@ -11,6 +11,7 @@
#include <dt-bindings/phy/phy.h>
#include <dt-bindings/reset-controller/stih407-resets.h>
#include <dt-bindings/interrupt-controller/irq-st.h>
+#include <dt-bindings/mailbox/mailbox.h>
/ {
#address-cells = <1>;
#size-cells = <1>;
@@ -565,5 +566,38 @@
<&phy_port2 PHY_TYPE_USB3>;
};
};
+
+ mailbox0: mailbox@0 {
+ compatible = "st,stih407-mailbox";
+ reg = <0x8f00000 0x1000>;
+ interrupts = <GIC_SPI 1 IRQ_TYPE_NONE>;
+ #mbox-cells = <3>;
+ mbox-name = "a9";
+ status = "okay";
+ };
+
+ mailbox1: mailbox@1 {
+ compatible = "st,stih407-mailbox";
+ reg = <0x8f01000 0x1000>;
+ #mbox-cells = <3>;
+ mbox-name = "st231_gp_1";
+ status = "okay";
+ };
+
+ mailbox2: mailbox@2 {
+ compatible = "st,stih407-mailbox";
+ reg = <0x8f02000 0x1000>;
+ #mbox-cells = <3>;
+ mbox-name = "st231_gp_0";
+ status = "okay";
+ };
+
+ mailbox3: mailbox@3 {
+ compatible = "st,stih407-mailbox";
+ reg = <0x8f03000 0x1000>;
+ #mbox-cells = <3>;
+ mbox-name = "st231_audio_video";
+ status = "okay";
+ };
};
};
--
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 | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/6] Mailbox: Provide support STi based platforms Lee Jones <lee.jones@linaro.org> - 2015-07-17 14:10 +0200 [PATCH 4/6] ARM: STi: stih407-family: Add nodes for Mailbox Lee Jones <lee.jones@linaro.org> - 2015-07-17 14:10 +0200
csiph-web