public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Nishanth Menon <nm@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] sandbox: Introduce dummy remoteproc nodes
Date: Mon, 24 Aug 2015 12:28:37 -0500	[thread overview]
Message-ID: <1440437317-5178-4-git-send-email-nm@ti.com> (raw)
In-Reply-To: <1440437317-5178-1-git-send-email-nm@ti.com>

Introduce dummy devices for sandbox remoteproc device and enable it by
default

Signed-off-by: Nishanth Menon <nm@ti.com>
---
 arch/sandbox/dts/test.dts | 13 +++++++++++++
 configs/sandbox_defconfig |  2 ++
 2 files changed, 15 insertions(+)

diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index c948df8c864b..df9b71310dbe 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -25,6 +25,8 @@
 		usb0 = &usb_0;
 		usb1 = &usb_1;
 		usb2 = &usb_2;
+		remoteproc1 = &rproc_1;
+		remoteproc2 = &rproc_2;
 	};
 
 	a-test {
@@ -296,6 +298,17 @@
 		status = "disabled";
 	};
 
+
+	rproc_1: rproc at 1 {
+		compatible = "sandbox,test-processor";
+		remoteproc-name = "remoteproc-test-dev1";
+	};
+
+	rproc_2: rproc at 2 {
+		compatible = "sandbox,test-processor";
+		internal-memory-mapped;
+		remoteproc-name = "remoteproc-test-dev2";
+	};
 };
 
 #include "sandbox_pmic.dtsi"
diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig
index 874a26b572aa..4a2750c154bc 100644
--- a/configs/sandbox_defconfig
+++ b/configs/sandbox_defconfig
@@ -54,3 +54,5 @@ CONFIG_LED_GPIO=y
 CONFIG_SYSCON=y
 CONFIG_REGMAP=y
 CONFIG_DEVRES=y
+CONFIG_DM_TESTPROC_SANDBOX=y
+CONFIG_CMD_REMOTEPROC=y
-- 
2.1.4

  parent reply	other threads:[~2015-08-24 17:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-24 17:28 [U-Boot] [PATCH 0/3] drivers/sandbox: Introduce a simplified remoteproc framework Nishanth Menon
2015-08-24 17:28 ` [U-Boot] [PATCH 1/3] drivers: " Nishanth Menon
2015-08-25  5:04   ` Simon Glass
2015-08-25 15:44     ` Nishanth Menon
2015-08-26  2:26       ` Simon Glass
     [not found]         ` <CAGo_u6pb_BSzT0fXZ7uxoqEM1RzwKKL3dXq0wyrphAB80Yf-Nw@mail.gmail.com>
2015-08-27 15:49           ` Simon Glass
2015-08-27 15:54             ` Nishanth Menon
2015-08-24 17:28 ` [U-Boot] [PATCH 2/3] remoteproc: Introduce a sandbox dummy driver Nishanth Menon
2015-08-25  5:04   ` Simon Glass
2015-08-25 15:47     ` Nishanth Menon
2015-08-24 17:28 ` Nishanth Menon [this message]
2015-08-25  5:04   ` [U-Boot] [PATCH 3/3] sandbox: Introduce dummy remoteproc nodes Simon Glass
2015-08-25 15:47     ` Nishanth Menon
2015-08-25  5:04 ` [U-Boot] [PATCH 0/3] drivers/sandbox: Introduce a simplified remoteproc framework Simon Glass
2015-08-25 15:48   ` Nishanth Menon

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=1440437317-5178-4-git-send-email-nm@ti.com \
    --to=nm@ti.com \
    --cc=u-boot@lists.denx.de \
    /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